shcool/yuthon_wage/data/demo.xml
2026-08-03 09:57:51 +08:00

27 lines
1.0 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- 工资条聚合“2026-07”整月的出勤记录来自 yuthon_attendance 的 demo -->
<record id="payslip_zhang_2026_07" model="yuthon.payslip">
<field name="employee_id" ref="yuthon_employee.employee_zhang"/>
<field name="period_start">2026-07-01</field>
<field name="period_end">2026-07-31</field>
<field name="allowance">500.0</field>
</record>
<record id="payslip_li_2026_07" model="yuthon.payslip">
<field name="employee_id" ref="yuthon_employee.employee_li"/>
<field name="period_start">2026-07-01</field>
<field name="period_end">2026-07-31</field>
<field name="allowance">300.0</field>
</record>
<record id="payslip_wang_2026_07" model="yuthon.payslip">
<field name="employee_id" ref="yuthon_employee.employee_wang"/>
<field name="period_start">2026-07-01</field>
<field name="period_end">2026-07-31</field>
<field name="allowance">800.0</field>
</record>
</odoo>