!11762 !11761 年假分配公司过滤

Merge pull request !11762 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2026-05-29 03:36:48 +00:00
committed by Gitee
@@ -28,6 +28,9 @@
<xpath expr="//form" position="attributes">
<attribute name="create">0</attribute>
</xpath>
<xpath expr="//field[@name='holiday_status_id']" position="attributes">
<attribute name="domain">[('company_id', 'in', allowed_company_ids + [False])]</attribute>
</xpath>
<xpath expr="//field[@name='employee_ids']" position="before">
<field name="new_employee_holidays" invisible="holiday_type != 'employee'"/>
<field name="holiday_month" invisible="new_employee_holidays != 'limit'"/>
@@ -43,6 +46,9 @@
<xpath expr="//form" position="attributes">
<attribute name="create">0</attribute>
</xpath>
<xpath expr="//field[@name='holiday_status_id']" position="attributes">
<attribute name="domain">[('company_id', 'in', allowed_company_ids + [False])]</attribute>
</xpath>
<xpath expr="//group[@name='alloc_right_col']" position="after">
<group>
<field name="remarks" invisible="1"/>