修改制造订单的状态字段以及与排程单的交互逻辑,优化一些翻译

This commit is contained in:
mgw
2024-01-08 19:02:59 +08:00
parent bc4a4df53e
commit fbaa81fe7a
6 changed files with 93 additions and 7 deletions

View File

@@ -58,6 +58,9 @@
<field name="model">mrp.production</field>
<field name="inherit_id" ref="mrp.mrp_production_form_view"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='state']" position="attributes">
<attribute name="statusbar_visible">draft,confirmed,progress,pending_processing,completed,done</attribute>
</xpath>
<xpath expr="//form//header//button[@name='action_confirm']" position="after">
<field name="active" invisible="1"/>
<field name="check_status" invisible="1"/>