summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2017-06-30 17:01:20 +0200
committerSimon Lejeune <sle@openerp.com>2017-07-14 17:08:21 +0200
commit8248f0e153ae5fcc1449d0d05149b61df615ad4f (patch)
tree280c993143e3935b3f596b66ea235753b8ba271b /addons/web/static/src/js/views/basic/basic_controller.js
parent0a76e158e114e0e88f7e0158a3318662aa9b9c02 (diff)
[IMP] purchase,stock: edit PO line quantity
This commit adapt purchase to be able to edit purchase line ordered quantity and propagate it to the related picking after the request for quotation validation. These are the supported use case - When you increase the quantity on a purchase line, an extra move (and an extra picking if they are all done or canceled) is created with the difference between old and new value and the push rules are applied on it. - When you decrease the quantity of a purchase line, different behaviors can occurs: * If you plan to decrese the ordered quantity under the received quantity, you get a user error saying tht you have to make some return before. * Else the moves not done or cancelled are decreased by starting with move having no procurement_id. The decrease is not propagated through push or pull rules. * If you decreased the quantity under the invoiced quantity, a next activity is created to remind you to do a refund.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions