summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorMaxLarue <mla@odoo.com>2019-09-10 12:18:05 +0000
committerGeoffroy Larue <gla@odoo.com>2019-09-18 12:05:19 +0000
commit740d2f26171fa80bfbdf83bac248684e147c98df (patch)
treed9cf60f15f8de100974ba64a019447204b90f8c4 /addons/web/static/src/xml/base.xml
parent8ed94a11f4344b274d3e2e0e61490cbb30ca863e (diff)
[FIX] industry_fsm: fix sale order issue when adding product without timesheet on tasks
The link between a sale_order and a task relied on a sale_line between the sale order and the tasks. This was working when allow timesheet and allow material were true, as we had a timesheet_product_id and the sale_line was created empty. But when we create a project with material but no timesheet, the sale line would crash. Now the sale order and the sale line creation are split, and we write the sale order id on the tasks. This works because with the new ORM, we can write on a stored compute field, and if we take care of not overwriting it in the compute, it stays at what we wrote. task-2047389 closes-5388
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions