changes
This commit is contained in:
@@ -14,19 +14,19 @@
|
||||
<field name="model">sale.order</field>
|
||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
<!-- Manufacturing: right after Transfers (from configurator). -->
|
||||
<xpath expr="//button[@name='action_view_pickings']" position="after">
|
||||
<button name="action_view_productions" type="object"
|
||||
class="oe_stat_button" icon="fa-industry"
|
||||
invisible="x_fc_production_count == 0">
|
||||
<field name="x_fc_production_count" widget="statinfo"
|
||||
string="Manufacturing"/>
|
||||
</button>
|
||||
<button name="action_view_workorders" type="object"
|
||||
class="oe_stat_button" icon="fa-cogs"
|
||||
invisible="x_fc_workorder_count == 0">
|
||||
<field name="x_fc_workorder_count" widget="statinfo"
|
||||
string="Work Orders"/>
|
||||
</button>
|
||||
</xpath>
|
||||
|
||||
<!-- Production-lifecycle extras: after NCRs, before BOM Items / By WO
|
||||
so the primary buttons stay leftmost and BOM / By WO overflow last. -->
|
||||
<xpath expr="//button[@name='action_view_ncrs']" position="after">
|
||||
<button name="action_view_portal_jobs" type="object"
|
||||
class="oe_stat_button" icon="fa-globe"
|
||||
invisible="x_fc_portal_job_count == 0">
|
||||
|
||||
Reference in New Issue
Block a user