summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/data_model.js
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2015-11-27 15:43:04 +0100
committerMartin Trigaux <mat@odoo.com>2015-11-30 16:55:45 +0100
commit35f3dea5d2641f88cbf61a3540851d2788db0055 (patch)
tree52001a2f42219147d60d8c5fecafff9d9be42dcb /addons/web/static/src/js/framework/data_model.js
parent37c95517c7206fa1f7538e037d1506a770587505 (diff)
[FIX] stock_dropshipping: do not raise a warning for dropshipping product
When selling a product with a dropshipping route, the available stock was checked and a warning got raise if it was the case. The _check_routing was not working properly as is called in a context of an onchange and 'self' was the record in the database, not in the browser. Just use check there is a dropshipping route on the product instead of checking it on the routes of the sale order line (not reliable info anyway). Add a todo for master to improve it to change the signature of the method. opw 657760
Diffstat (limited to 'addons/web/static/src/js/framework/data_model.js')
0 files changed, 0 insertions, 0 deletions