年假分配公司过滤

This commit is contained in:
李鹏宇
2026-05-29 11:35:51 +08:00
parent f60cab05a8
commit b0c7124e4c
@@ -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"/>