Merge pull request !3934 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-07-19 07:39:32 +00:00
committed by Gitee
@@ -29,6 +29,12 @@
</xpath>
<xpath expr="//field[@name='payslip_run_id']" position="attributes">
<attribute name="column_invisible">1</attribute>
</xpath>
<xpath expr="//field[@name='date_from']" position="attributes">
<attribute name="column_invisible">1</attribute>
</xpath>
<xpath expr="//field[@name='date_to']" position="attributes">
<attribute name="column_invisible">1</attribute>
</xpath>
<xpath expr="//field[@name='number']" position="attributes">
<attribute name="column_invisible">1</attribute>
@@ -131,7 +137,7 @@
</record>
<record id="hr_payroll_inherit_form" model="ir.ui.view">
<field name="name">hr.payroll.inherit.form</field>
<field name="model">hr.payslip</field>
<field name="model">hr.payslip</field>d
<field name="inherit_id" ref="hr_payroll.view_hr_payslip_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='company_id']" position="after">
@@ -158,12 +164,6 @@
<xpath expr="//field[@name='payslip_run_id']" position="attributes">
<attribute name="string">工资批次</attribute>
</xpath>
<xpath expr="//field[@name='date_from']" position="attributes">
<attribute name="column_invisible">1</attribute>
</xpath>
<xpath expr="//field[@name='date_to']" position="attributes">
<attribute name="column_invisible">1</attribute>
</xpath>
<xpath expr="//field[@name='payslip_run_id']" position="replace"/>
<xpath expr="//label[@for='date_from']" position="before">
<field name="payslip_run_id" string="工资批次"/>