委外加工采购单与制造订单进行关联
This commit is contained in:
@@ -10,6 +10,18 @@
|
||||
<field name="related_product" optional="show"/>
|
||||
<field name="part_number" optional="show"/>
|
||||
</xpath>
|
||||
<xpath expr="//sheet//div[@class='oe_button_box']" position="inside">
|
||||
<button class="oe_stat_button" name="action_view_production" type="object" icon="fa-wrench"
|
||||
attrs="{'invisible': [('production_count', '=', 0)]}"
|
||||
>
|
||||
<div class="o_field_widget o_stat_info">
|
||||
<span class="o_stat_value">
|
||||
<field name="production_count"/>
|
||||
</span>
|
||||
<span class="o_stat_text">制造订单</span>
|
||||
</div>
|
||||
</button>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user