diff options
| author | jem-odoo <jem@openerp.com> | 2018-04-09 13:46:21 +0200 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2018-04-09 16:52:22 +0200 |
| commit | 9b92732570e651d3c23a55499d10e237baeb342a (patch) | |
| tree | 13e91947d053390d0a6c7d5eb408253f401f8ead /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 8decf4c9565c2685c797ef004be6341764c40181 (diff) | |
[FIX] hr_timesheet: changing project resets the employee
The preprocess method checked if the project_id value
was given to determine if it was a timesheet or a normal
analytic line (since a timesheet is an AAL with project_id).
The problem came in the write, when changing only the project
value, the preprocess use the timesheet case, but since the
employee field was not changed, no value was passed, and it
compute the default one. So changing the project of an existing
timesheet reset the employee to the current one.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
