summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorToufik Ben Jaa <tbe@odoo.com>2018-12-10 10:46:27 +0100
committerToufik Ben Jaa <tbe@odoo.com>2018-12-10 11:43:12 +0100
commit007669feac1fbf46860a22d17ab480c83937d735 (patch)
treef13a8cbfc217a79fdec0982b21f60e911e194a20 /addons/web/static/src/js/fields
parentf32cdb5ccfcf17ccc51ba43aab299959ff45bf13 (diff)
[FIX] sale: do not schedule activity when no `user_id`
- The `_write` override on `sale.order` create a Next Activity for the SO's salesperson when changing the SO `invoice_status` to upselling. If the SO doesn't have a salesperson this code crashes since `user_id` is required on Next Activities. To avoid this crash we create the Next Activity only if a salesperson is set on the SO. OPW-1914087
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions