summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorrap-odoo <rap@odoo.com>2016-05-10 12:46:13 +0530
committerYannick Tivisse <yti@odoo.com>2017-05-15 14:09:11 +0200
commitfe631a36a5c7278040875434ad74039dfa1cf92a (patch)
tree15aca31ace7eb13cff5f33ee62bb688845af927e /addons/web/static/src/js/views/basic/basic_model.js
parentee663cf1d1beebc2cbb308f8ce5f2196a8987623 (diff)
[IMP] point_of_sale: allow product grouping for all uom
Purpose ======= In POS, it is hard-codded in such a way that grouping will be done for the uom category that has database id == 1. Specification ============= We have solved this issue: we have added a new boolean field in the uom category form view that If a user chooses this option then products having that uom category will be grouped in the POS. Both uom category Unit and Weight have been set to groupable by default. - Removed the hardcoded part of groupable for uom which had database id == 1, Now grouping will be done on 'groupable' field of "product.uom", which is related to the field of the same name on "product.uom.category". - Only the `Unit` uom category is grouped by default
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions