合并企业版代码(未测试,先提交到测试分支)

This commit is contained in:
qihao.gong@jikimo.com
2023-04-14 17:42:23 +08:00
parent 7a7b3d7126
commit d28525526a
1300 changed files with 513579 additions and 5426 deletions

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="mrp_workorder_view_form_tablet_expiry_inherit" model="ir.ui.view">
<field name="name">mrp.workorder.tablet.view.expiry.inherit</field>
<field name="model">mrp.workorder</field>
<field name="inherit_id" ref="mrp_workorder.mrp_workorder_view_form_tablet"/>
<field name="arch" type="xml">
<xpath expr="//button[@name='do_finish']" position="attributes">
<attribute name="context">{'skip_expired': True}</attribute>
</xpath>
<xpath expr="//button[@name='action_open_manufacturing_order']" position="attributes">
<attribute name="context">{'skip_expired': True}</attribute>
</xpath>
</field>
</record>
</odoo>