1.新建自定义字段x_email,关联取值employee_id.work_email
2.添加继承视图:
<?xml version="1.0"?>
<data><xpath expr="//field[@name='payslip_ids']" position="replace">
<field name="payslip_ids">
<tree create="false" delete="false" default_order="employee_number">
<field name="employee_number" invisible="1"/>
<!-- <field name="employee_id" invisible="1"/> -->
<field name="payslip_employee_number"/>
<field name="payslip_employee_name"/>
<field name="period"/>
<field name="department_id" invisible="1"/>
<field name="department_name"/>
<field name="job_id" invisible="1"/>
<field name="job_name"/>
<field name="actual_amount"/>
<field name="read_status"/>
<field name="x_email"/>
</tree>
</field>
</xpath>
</data>