summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/editor/transcoder.js
diff options
context:
space:
mode:
authorlen-odoo <len@odoo.com>2018-06-25 15:02:12 +0200
committerlen-odoo <35492570+len-odoo@users.noreply.github.com>2018-06-26 10:35:57 +0200
commitd7f5a1b25e4c14af49cccd65ad3b6e0553a77faa (patch)
tree2eb0d472f4018bbe67c2079a1c0b9241c4da55c1 /addons/web_editor/static/src/js/editor/transcoder.js
parent8188e6c80252f51ca5400bf0f797016568f5993a (diff)
[FIX] delivery, sale, sale_order_dates: ignore delivery line in commitment date computation
The commitment date is computed using every line from the sale order. When the picking policy is set to direct, it takes the earliest date among the sums of the order date and lead time. However when the delivery is set, is adds a line with an order date of 'now' and no lead time. This date thus necessarily becomes the commitment date, bypassing what was intended by setting a lead times on products. We simply ignore delivery lines in this computation. opw 1855646
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
0 files changed, 0 insertions, 0 deletions