待下达生产状态修改

This commit is contained in:
guanhuan
2025-05-29 17:05:19 +08:00
parent 007f39f137
commit 1bdb81f5f7
2 changed files with 27 additions and 9 deletions

View File

@@ -37,8 +37,10 @@
<field name="route_id" optional="hide"/>
<field name="date_order"/>
<field name="plan_remark"/>
<field name="material_check"/>
<field name="processing_time"/>
<field name="material_check"/>
<button name="action_open_sale_order" type="object" string="供货方式待确认" class="btn-primary"
attrs="{'invisible': [('supply_method', '!=', False)]}"/>
<field name="planned_start_date"/>
<field name="actual_start_date"/>
<field name="actual_end_date"/>
@@ -48,7 +50,7 @@
<field name="write_uid" optional="hide" string="更新人"/>
<field name="print_count"/>
<button name="release_production_order" type="object" string="下达生产" class="btn-primary"
attrs="{'invisible': ['|',('status', '!=', '30'), ('supply_method', 'not in', ['automation', 'manual'])]}"/>
attrs="{'invisible': ['|',('status', '!=', '50'), ('supply_method', 'not in', ['automation', 'manual'])]}"/>
</tree>
</field>
</record>