修复制造订单-采购单

This commit is contained in:
jinling.yang
2024-11-28 10:40:48 +08:00
parent 306d5074f2
commit a80d498eab
4 changed files with 68 additions and 7 deletions

View File

@@ -139,7 +139,7 @@
<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', '!=', '表面工艺')]}">
attrs="{'invisible': [('surface_technics_purchase_count', '=', 0)]}">
<div class="o_field_widget o_stat_info">
<span class="o_stat_value">
<field name="surface_technics_purchase_count"/>