添加功能

This commit is contained in:
李鹏宇
2025-10-16 18:16:36 +08:00
parent 24a6b6ec12
commit 754ed2175d
2 changed files with 5 additions and 4 deletions
@@ -126,13 +126,13 @@
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//field[@name='company_id']" position="attributes">
<attribute name="no_open">True</attribute>
<attribute name="options">"{'no_open': True}"</attribute>
</xpath>
<xpath expr="//field[@name='work_email']" position="attributes">
<attribute name="no_open">True</attribute>
<attribute name="options">"{'no_open': True}"</attribute>
</xpath>
<xpath expr="//field[@name='department_id']" position="attributes">
<attribute name="no_open">True</attribute>
<attribute name="options">"{'no_open': True}"</attribute>
</xpath>
<xpath expr="//field[@name='work_email']" position="after">
<field name="user_state"/>
@@ -209,7 +209,7 @@
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//field[@name='job_id']" position="attributes">
<attribute name="options">"{'no_create': True, 'no_open': True}"</attribute>
<attribute name="options">"{'no_open': True}"</attribute>
</xpath>
<xpath expr="//field[@name='parent_id']" position="attributes">
<attribute name="options">"{'no_create': True, 'no_open': True}"</attribute>
@@ -958,6 +958,7 @@
<field name="binding_model_id" ref="yuthon_property_approval.model_property_lease_contract"/>
<field name="state">code</field>
<field name="code">action = model.all_end_approval()</field>
<field name="groups_id" eval="[(4, ref('base.group_system'))]"/>
</record>
<record id="update_contract" model="ir.actions.server">
<field name="name">一次性</field>