diff options
| author | Jainik Patel <jaa@odoo.com> | 2016-07-06 12:34:48 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-09-16 11:59:27 +0200 |
| commit | 0916b50c2974214c74ddc3a2005c9cdd04a2bfd0 (patch) | |
| tree | 9a7c85f35f99c3b34452e73c116e983630c41334 /addons/web/static/lib/jquery.mjs.nestedSortable | |
| parent | 5814b0fc45d1167cdc1780184c42b2800dfa8b67 (diff) | |
[IMP] stock: Display 'Create' in location and warehouse views according to management settings
Purpose
=======
Settings "Warehouses Management" menuitem is only available if 'Manage several Warehouses, each one composed by several stock locations'. How can i edit my single warehouse if i choose 'Manage only 1 Warehouse with only 1 stock location'?
Same for locations
Specification
=============
Always display warehouse and location menuitems but display the 'Create' button according to the following use cases:
Settings "Warehouses and Locations usage level" in following condition:
1) Manage only 1 Warehouse with only 1 stock location
- Warehouse no create, just edit in form view.
- Location no create, just edit in form view.
2) Manage only 1 Warehouse, composed by several stock locations
- Warehouse no create, just edit in form view.
- Location create and edit both.
3) Manage several Warehouses, each one composed by several stock locations
- Warehouse create and edit both.
- Location create and edit both.
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions
