diff options
| author | Xavier BOL (xbo) <xbo@odoo.com> | 2021-03-02 09:07:16 +0000 |
|---|---|---|
| committer | Xavier BOL (xbo) <xbo@odoo.com> | 2021-03-02 12:25:13 +0000 |
| commit | ff7e94e1adca21585bf7f9a42849319f19a10866 (patch) | |
| tree | cf9ef08b69f3e1f5ba17d972115ca6a9a5a53a0b /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 2d63fff13be6d19170fb58fd0248e879e2be2de8 (diff) | |
[FIX] sale_timesheet: give no sol if sol in task is False
Before this commit, when the project is employee rate and the user sets
the sale order item to False in a task with this project, the linked
timesheets should have the sales order item to False, but if a
employee mapping is matched for this timesheet, the sales order item of
this mapping is given to the timesheet.
This commit checks if the sales order item in the task linked to the
timesheet and if no sales order item in the task then the sales order
item in the timesheet should also be empty (False).
closes #67055
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
