summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorJoren Van Onder <jov@odoo.com>2016-11-01 09:51:02 -0700
committerJoren Van Onder <jov@odoo.com>2016-11-04 17:49:50 -0700
commit0be279174def3d9263479c2b01ab678a82034619 (patch)
tree58be2076c86d42b00cb83eaf0c2cd7aa34c15c2c /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent2c1bcc5b11bdae6411e5e45a0e9a2190c97c00c2 (diff)
[FIX] point_of_sale: split up validate_order for easier customization
Certain localities (eg. Colombia, but South America in general) legally require somewhat complex behavior when validating a POS order. It was difficult to implement this behavior in the POS. The validate_order function did way too much and was way too large. If a user wanted to add an additional check that an order has to pass before allowing validation the user would probably have to copy all the validate_order code. To solve these issues we split the functionality of validate_order into two functions: order_is_valid: returns true or false depending on the validity of the order finalize_validation: finalizes the order by sending it to the backend etc. Fixes #13142 Closes #13994
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions