Files
odoo_source/addons/hr_payroll/report/__init__.py
T
Ravi Gohil dc6240775f [MIG/IMP] hr_payroll: Migration of report directory to new api,
- removed parser 'payslip_report' as payslip lines can be filtered
  by 'appears_on_payslip' from within the template itself
- Migrated and adjusted code of contribution register and payslip
  details reports(models and templates) so that it can work on multiple records
  - Old code was executed for only one record at a time (even when selected multiple
    records in tree view) and hence the code was developed accordingly, but now,
    return value of methods needed to be change so that it can work on multiple
    record and need qweb templates to be adapted as well.
  - I applied below logic to handle printing of multiple records,
    if previously value returned was [{'a': testa}, {'b': testb, 'c': testc}]
    then new return value will be {'<id of record>': [{'a': testa}, {'b': testb, 'c': testc}]}
- right justified the amount values in all reports
2016-07-11 10:19:49 +02:00

7 lines
165 B
Python

#-*- coding:utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import report_payslip_details
import report_contribution_register