summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.editor.js
diff options
context:
space:
mode:
authorDhaval Panchal <dpa@odoo.com>2017-02-10 17:20:27 +0100
committerSimon Lejeune <sle@openerp.com>2017-02-17 13:21:58 +0100
commit10d5c11de32d29e295f511b80abdac22041aa408 (patch)
treed5c64076c6cc0eeef8b4c6d0f6bd931e2604a6cd /addons/website/static/src/js/website.editor.js
parentda578cb656e9663407e64b962428917c89d5a5b1 (diff)
[IMP] stock: picking type view
- Only display the warehouse and location field when the user is working with multi warehouses and multi locations. - MRP defines a stock.picking.type on manufacturing order, so that you can easily set the source/destination locations and benefit from seeing a manufacturing vignette in the inventory dashboard. However, the manufacturing orders do not use every options defined on this view, specifically the return picking type, the barcode nomenclature and the packs and lots. This commit hides these options when the vignette is an MRP one (manufacturing code). A cleaner patch would have been to adds attrs with an xpath from the MRP module, but if another modules wants to add another vignette there will be a problem, so we chose the easiest way here.
Diffstat (limited to 'addons/website/static/src/js/website.editor.js')
0 files changed, 0 insertions, 0 deletions