diff options
| author | Rémy Baranx (bar) <bar@odoo.com> | 2020-02-11 12:55:06 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2020-06-23 07:00:10 +0000 |
| commit | d924d89ab81d347937db48e4fb03cce408fb2cab (patch) | |
| tree | b2bf8309ff7028be451b14354078a52c4fffff36 /addons/web/static/src/js/chrome/abstract_web_client.js | |
| parent | 0d327e2d81b0c7104ddf380719af2c8d4186f01b (diff) | |
[IMP] hr_timesheet: convert onchange to stored-editable computed fields
The fields 'project_id' and 'user_id' have been converted to
stored-editable computed fields.
Convert the 'allow_timesheets' field.
Improvement of the _compute_task_id method to check the task_id field before using it.
Update hr_timesheet tests by removing calls to onchange methods because
now, compute methods are always called.
Get back the onchange on the 'project_id' to compute the task_id field due to a complex
bug found in sale_timesheet tests.
Diffstat (limited to 'addons/web/static/src/js/chrome/abstract_web_client.js')
0 files changed, 0 insertions, 0 deletions
