优化表面工艺
This commit is contained in:
@@ -123,6 +123,18 @@
|
||||
attrs="{'invisible': [('surface_technics_picking_count', '=', 0)]}">
|
||||
<field name="surface_technics_picking_count" widget="statinfo" string="工艺外协"/>
|
||||
</button>
|
||||
<button type="object" name="action_view_surface_technics_purchase" class="oe_stat_button"
|
||||
icon="fa-credit-card"
|
||||
groups="base.group_user,sf_base.group_sf_order_user"
|
||||
attrs="{'invisible': [('surface_technics_purchase_count', '=', 0),('routing_type', '!=', '表面工艺')]}">
|
||||
<div class="o_field_widget o_stat_info">
|
||||
<span class="o_stat_value">
|
||||
<field name="surface_technics_purchase_count"/>
|
||||
</span>
|
||||
<span class="o_stat_text">采购</span>
|
||||
</div>
|
||||
<!-- <field name="surface_technics_purchase_count" widget="statinfo" string="采购"/>-->
|
||||
</button>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='state']" position="before">
|
||||
<field name='tool_state' invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user