summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorHaresh Shyara <hsh@odoo.com>2017-10-13 17:00:43 +0530
committerSimon Lejeune <sle@openerp.com>2018-04-04 14:22:00 +0200
commit2c1611da29e7406c5c8e57d8877766a6647be290 (patch)
tree840e05a994e6888b5956b76485a8fa4abbbba1f0 /addons/web/static/src/js/fields/basic_fields.js
parentd86eb9e1a0a59f1d5289d9b8707eaa4bf95dc215 (diff)
[IMP] stock: putaway strategies by product
This commit allows to define a putaway strategy by product. Before this commit, it was only possible to define a putaway strategy by category. We add a second one2many on the model 'product.putaway': the original (fixed_location_ids) is used for the putaway per category, the new one (product_location_ids) is used for the putway per product. The two one2many are displayed on the putaway strategy and a domain on the fields is used to filter the records between them. Inline tree view add a required on the product_id on the one2many per product and a required on category_id on the one2many per category. If a putaway strategy per product AND per category match for a product, the putaway per product takes precedence This task also reword some tooltips. We add some testcases to display the behaviour - when a putaway per product is applied - the conflict between a putaway per product and category - the fallback to the category when nothing is found on the product Task 23495 PR #20143
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions