summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-01-03 13:52:01 +0000
committerNans Lefebvre <len@odoo.com>2019-01-03 13:52:04 +0000
commit581c16ef94798efc8f3720829b97e63354ce948b (patch)
tree3b2b2ec1477fd2e5a8913db6fb263af7fb152403 /addons/web/static/src/js/views/basic
parent62221bc3f95eba63681504283dff2d57b07ed290 (diff)
[FIX] sale: only create one activity to upsell a SO
Create a Sale Order linked to a timesheet, for k hours. Add the a line for the k hours, invoice the SO. Then, next time you add a line or modify the value of an existing line, the SO invoice_status becomes "upselling". Then, everytime you do it again, it triggers a recompute which writes the invoice_status "upselling" on the SO. Now since commit 17c9b7afee219e86e48035044570939a70fb18f3 every time you write an invoice_status as "upselling" this creates a new activity to upsell the SO. However it was intended to run only once, the first time the status changes. Before creating an activity, we check what was the invoice_status to ignore records that were already in that state. opw 1911642 opw 1919283 opw 1919284 closes odoo/odoo#29891
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions