summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2019-08-20 12:38:20 +0000
committerPierre Masereel <pim@odoo.com>2019-08-20 12:52:05 +0000
commit4a6d666246b7b679d8c13060bf2cd9e9632a4a10 (patch)
treed82b29d3a34c339dbfccaa1c23b4940d2da6b3c1 /addons/web/static/src/js/views/basic/basic_model.js
parent4323008540f4f1822be4c41413d4d897993c3ab1 (diff)
[FIX] delivery: set carrier on order when carrier line added
When you are adding a line on your sale order that is a delivery line, the carrier is not always set on the sale order which means that when the carrier is not explicitly set on the sale order, the carrier won't be set on picking created from the sale order. When you are using the wizard on sale order, it works, but when the carrier is selected on the e-commerce, it is not set on the sale order. To avoid such difference in behavior, we are writing the carrier_id of sale order in the function 'set_delivery_line' insread of the wizard and e-commerce. closes odoo/odoo#35855 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions