diff options
| author | koz-odoo <koz@odoo.com> | 2020-07-16 12:45:04 +0000 |
|---|---|---|
| committer | Barad Mahendra <mba@openerp.com> | 2020-09-16 12:13:54 +0000 |
| commit | 897655f062d4ad27839e9d5e30393d1bc88c1549 (patch) | |
| tree | 36723786dce031a9c35bcc3c269d99d16fdfcac7 /addons/web/static/src/xml/debug.xml | |
| parent | 9c53d4f26a1124037046be768cf404d49022913c (diff) | |
[IMP] hr_timesheet: Add argument so method can be override by other module
Currently, method _apply_timesheet_label will add label on field
unit_amount with widget timesheet_uom but the widget on this
field is changed in another module as timesheet_uom_timer so it will
not work when that module is installed.
So in this method pass the view_type as argument so it can be easily
override in another module based on view_type.
closes odoo/odoo#57838
Taskid: 2287390
Related: https://github.com/odoo/enterprise/pull/11884
Related: odoo/enterprise#13276
X-original-commit: 6ce434b6d6ab686c91c111d2f86503176fec6517
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml/debug.xml')
0 files changed, 0 insertions, 0 deletions
