Commit 9e7893ab by 夏超

[fix] 增加工单报工问题

parent 646009c7
......@@ -18,11 +18,12 @@
<field name="arch" type="xml">
<xpath expr="//field[@name='routing_line_id']" position="after">
<field name="special_process" invisible="1"/>
<field name="record_ids" widget="many2many_tags" invisible="1"/>
</xpath>
<xpath expr="//button[@name='multi_create_work_record']" position="after">
<button name="action_assign_work_center"
type="object" class="oe_highlight oe_read_only" string="指派"
attrs="{'invisible': [('special_process', '!=', '是')]}"/>
attrs="{'invisible': ['|', ('special_process', '!=', '是'), ('record_ids', '!=', [])]}"/>
</xpath>
</field>
</record>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment