summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorrde <rde@odoo.com>2017-10-20 13:32:29 +0200
committerrde <rde@odoo.com>2017-10-20 17:37:22 +0200
commit3351d2acc0dd8bd78f5d218c377cb97078bb8797 (patch)
treeeb3b779f874ebe0830c61c22947163b9738d6e44 /addons/web/static/tests/fields/basic_fields_tests.js
parentc912596deb8c575c757a159c5d348768c97e1abf (diff)
[FIX] website_sale_stock_options: set max qty only if inventory_availability is always/threshold
Before this commit, the input quantity would have a max qty attribute set even if the product was not set as check inventory (inventory_availability set to always or threshold). - Set inventory_availability to never in a product - Order more than 1 quantity - The sale option popup will set input quantity to 1 Now, it will check and force max quantity only for product with threshold or always as inventory_availability.
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions