odoo/odoo#159588

Created by fw-bot
label
odoo-dev:17.0-16.0-fix-display-correct-currency-in-employee-mapping-damr-F2Ql-fw
head
1138f1f795fb4bf56e6d60b6c7b9a2bb5aa338bf
target
17.0
merged
1 month ago by Fun Services, Xavier Bol (xbo)
forward-port of
odoo/odoo#154240 DETACHED (conflicts: ('1b867cf4bfc490c7054e40f5daee58905cbdc2f5', 'Auto-merging addons/sale_timesheet/views/project_task_views.xml\nCONFLICT (content): Merge conflict in addons/sale_timesheet/views/project_task_views.xml\n', '22:31:57.213017 git.c:463 trace: built-in: git cherry-pick 1b867cf4bfc490c7054e40f5daee58905cbdc2f5\nerror: could not apply 1b867cf4bfc4... [FIX] sale_timesheet: currency displayed in project mapping\nhint: After resolving the conflicts, mark them with\nhint: "git add/rm <pathspec>", then run\nhint: "git cherry-pick --continue".\nhint: You can instead skip this commit with "git cherry-pick --skip".\nhint: To abort and get back to the state before "git cherry-pick",\nhint: run "git cherry-pick --abort".\n----------\nstatus:\n', ['1b867cf4bfc490c7054e40f5daee58905cbdc2f5']) ('1b867cf4bfc490c7054e40f5daee58905cbdc2f5', 'Auto-merging addons/sale_timesheet/views/project_task_views.xml\nCONFLICT (content): Merge conflict in addons/sale_timesheet/views/project_task_views.xml\n', '22:31:57.213017 git.c:463 trace: built-in: git cherry-pick 1b867cf4bfc490c7054e40f5daee58905cbdc2f5\nerror: could not apply 1b867cf4bfc4... [FIX] sale_timesheet: currency displayed in project mapping\nhint: After resolving the conflicts, mark them with\nhint: "git add/rm <pathspec>", then run\nhint: "git cherry-pick --continue".\nhint: You can instead skip this commit with "git cherry-pick --skip".\nhint: To abort and get back to the state before "git cherry-pick",\nhint: run "git cherry-pick --abort".\n----------\nstatus:\n', ['1b867cf4bfc490c7054e40f5daee58905cbdc2f5']))

[FW][FIX] sale_timesheet: currency displayed in project mapping

This commit's purpose is to display the correct currency for the hourly
cost of employee in the project sol mapping.
Currently, the currency displayed is the one of the sol instead of the
currency of the employee. This is due to this commit:https://github.com/odoo/odoo/commit/83760b9f10b4bfe6a83671e4426bc5596e8d5f5c
We added a monetary widget, but we are feeding it the wrong id.

After this commit, the correct currency is displayed

task - 3749225

Forward-Port-Of: odoo/odoo#154240