diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-07-07 12:27:22 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-07-07 12:29:54 +0200 |
| commit | b329d6219e3f7088f590ceaa25663d4796a61175 (patch) | |
| tree | 130f8312d402f38222d9c6e1b7b37d69f010b63f /addons/website/static/src/xml/website.contentMenu.xml | |
| parent | 3888301a2ed736a72d8e6b71ae61b9c459b34b5e (diff) | |
[FIX] hr_attendance: Attendance Error Report fail afer upgrade
After upgrading the `hr_attendance` module,
it was no longer possible to use the
`Attendance Error Report` link in the `More`
menu of employees.
This is because there were two binding actions
added in the code under the samename
(`Attendance Error Report`):
- `hr_attendance_error_values`
- `action_report_hrattendanceerror`
The first launch a wizard which will print the report
after filling the required data,
The second tries to directly print the report, but it
fails because required data (from the wizard) is missing.
Before update, it's the first binding action that was displayed.
After update, it was the second, which failed.
We solve this issue by changing the way the report is
created through the data, by not using a `<report/>` tag,
this one creating automatically the action binding.
Instead, we use a classic `<record/>` tag, which
doesn't create automatically the action binding.
opw-682720
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions
