Purpose of this commit is to clean and uniformize report naming through various addons. It has been chosen to name them using a formatting like <report_name> - <object_name or suffix> . Improve report naming in hr_attendance, hr_expense and hr_payroll.
32 lines
1.1 KiB
XML
32 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<report
|
|
id="action_contribution_register"
|
|
model="hr.contribution.register"
|
|
string="PaySlip Lines By Conribution Register"
|
|
report_type="qweb-pdf"
|
|
name="hr_payroll.report_contributionregister"
|
|
file="hr_payroll.report_contributionregister"
|
|
menu="False"
|
|
/>
|
|
<report
|
|
id="action_report_payslip"
|
|
model="hr.payslip"
|
|
string="Payslip"
|
|
report_type="qweb-pdf"
|
|
name="hr_payroll.report_payslip"
|
|
file="hr_payroll.report_payslip"
|
|
print_report_name="'Payslip - %s' % (object.employee_id.name)"
|
|
/>
|
|
|
|
<report
|
|
id="payslip_details_report"
|
|
model="hr.payslip"
|
|
string="PaySlip Details"
|
|
report_type="qweb-pdf"
|
|
name="hr_payroll.report_payslipdetails"
|
|
file="hr_payroll.report_payslipdetails"
|
|
print_report_name="'Payslip Details - %s' % (object.employee_id.name)"
|
|
/>
|
|
</odoo>
|