Now, it is extended using models.Abstract model rather than old report_sxw.rml_parser.
Also, as I was at it, I fixed the wrong t-call of header template, which causes traceback
when printed multiple records.
- 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
There is no company_id field so no way to configure it on the company level.
The decimal precision is at the field level so it is not possible to make it
different per user.
Fixes#12654
- Migration of hr_attendance, hr_timesheet_attendance and hr_timesheet_sheet
to new api.
- Revamping of hr_attendance; adaptation of hr_timesheet_attendance and
hr_timesheet_sheet to the revamp. hr_timesheet_sheet now independent
of hr_attendance, all dependencies moved to hr_timesheet_attendance
which auto-installs when both modules are installed.
Closes#12698
* split hr_timesheet_sheet into: - hr_timesheet_sheet (fully independent from hr_attendance)
- hr_timesheet_attendance (containing the dependencies to the revamped hr_attendance module)
* adapt timesheet_attendance to the revamped hr_attendance module, remove all commented dependencies
* few fixes to hr_timesheet_sheet, but some remain as it is deprecated.
- commented hr_timesheet_sheet dependencies to hr_attendance
- commented hr_timesheet_attendance dependencies to hr_attendance
- migrated hr_timesheet_sheet to new api