diff options
| author | Laurent Smet <las@openerp.com> | 2017-04-26 09:31:55 +0200 |
|---|---|---|
| committer | Laurent Smet <las@openerp.com> | 2017-05-08 09:23:12 +0200 |
| commit | e80238042c9d93d492ea8b06b0041aced0d81dcd (patch) | |
| tree | 70ed26eb99cf62ff7d5418a0748d1aa166136067 /addons/hr_holidays/wizard | |
| parent | 3425752eaca236c1e4b4d616aa49b3faa6cfd957 (diff) | |
[REF] report: remove the report module
The content of the report module is now dispatched in
the 'base' and the 'web' modules.
Diffstat (limited to 'addons/hr_holidays/wizard')
| -rw-r--r-- | addons/hr_holidays/wizard/hr_holidays_summary_department.py | 2 | ||||
| -rw-r--r-- | addons/hr_holidays/wizard/hr_holidays_summary_employees.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/hr_holidays/wizard/hr_holidays_summary_department.py b/addons/hr_holidays/wizard/hr_holidays_summary_department.py index f7f3ec4b28a..82a398c3c4c 100644 --- a/addons/hr_holidays/wizard/hr_holidays_summary_department.py +++ b/addons/hr_holidays/wizard/hr_holidays_summary_department.py @@ -31,4 +31,4 @@ class HolidaysSummaryDept(models.TransientModel): 'model': 'hr.department', 'form': data } - return self.env['report'].get_action(departments, 'hr_holidays.report_holidayssummary', data=datas) + return self.env.ref('hr_holidays.action_report_holidayssummary').report_action(departments, data=datas) diff --git a/addons/hr_holidays/wizard/hr_holidays_summary_employees.py b/addons/hr_holidays/wizard/hr_holidays_summary_employees.py index 4a8ba9e8f1a..ea8b1c79d3e 100644 --- a/addons/hr_holidays/wizard/hr_holidays_summary_employees.py +++ b/addons/hr_holidays/wizard/hr_holidays_summary_employees.py @@ -29,4 +29,4 @@ class HolidaysSummaryEmployee(models.TransientModel): 'model': 'hr.employee', 'form': data } - return self.env['report'].get_action(employees, 'hr_holidays.report_holidayssummary', data=datas) + return self.env.ref('hr_holidays.action_report_holidayssummary').report_action(employees, data=datas) |
