summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@openerp.com>2017-07-14 20:36:43 +0200
committerSimon Lejeune <sle@openerp.com>2017-07-18 17:24:57 +0200
commit9bb696e13abcbf95c9552fab60b1dfb997afaa59 (patch)
tree323a690217899cc7e63f48d792e1303c51f03a3b /addons/web/static/src/js/views/basic
parent861343821d23ae2efb8ce0a8b946b30e6476427c (diff)
[REF] stock: quant: remove _decrease_xxx_quantity method
To increase or decrease the reserved or available quantity, `stock.quant` exposes two methods: _increase_xxx_quantity and _decrease_xxx_quantity. This could be confusing and could lead to unexpected result when overriding one or the other. We remove the _decrease_xxx_quantity method and rename _increase_xxx_quantity by _update_xxx_quantity, as it supports a signed float anyway.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions