summaryrefslogtreecommitdiff
path: root/addons/base_import_module/models
diff options
context:
space:
mode:
authoramoyaux <arm@odoo.com>2017-08-11 13:04:07 +0200
committeramoyaux <arm@odoo.com>2017-08-17 17:49:03 +0200
commit13f0615b8077b8b665a8978ab4db4f2a746355b3 (patch)
tree33c47f9787b4b57e9bdb56c77773feebfbcd5877 /addons/base_import_module/models
parent9054d082be2d388801dfefe2f7758a1d62ea0cc2 (diff)
[IMP] purchase : Decrease order quantity should not delete picking and moves
When deacreasing a quantity on a PO it will decrease the quantity of an associated move. When the move's quantity reach 0, previously the move was unlinked and aslo the picking if all moves inside were unlinked. However the destination move(s) still exist with the quantity that has been removed in the original move. It can confuse the end user which have a move without origin. This commit cancel the move/picking instead of unlink them. Thanks to this the end user still have the link with the original moves and can guess from where their destinations moves come from. It also remove the filter on PO in order to display the canceled picking.
Diffstat (limited to 'addons/base_import_module/models')
0 files changed, 0 insertions, 0 deletions