summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2019-08-20 12:38:20 +0000
committerfw-bot <otis@odoo.com>2019-10-14 16:31:36 +0000
commit6800fcf3c13c893b47d81ad3624f309b9e0e5989 (patch)
treed695da9acd67242c6e6fb96518768e8d868a8523 /addons/web/static/src/js/fields/basic_fields.js
parent5288816baed88232eb3b0093fa3cc0330f21706a (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 closes odoo/odoo#38740 Original-signed-off-by: pimodoo <pimodoo@users.noreply.github.com> X-original-commit: a15f9921fa1ce92c41c263a8a2c6a32342a8cb1b Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions