[16.0][IMP] sale_order_line_cancel: Allow to decrease product_uom_qty on line cancel#3757
Conversation
There was a problem hiding this comment.
What is the use case ?
The idea was to keep the ordered quantity and show how much is delivered and how much is canceled.
Changing the ordered quantity will make the paid amount bigger than the order amount if you have a payment transaction attached to the SO.
33b4bfe to
9c776c2
Compare
The purpose was to achieve a change of the |
494be01 to
ab3a64d
Compare
80aaf60 to
809f3ce
Compare
I now extended it, the canceled qty is still saved and the line's quantity will be decreased. |
jbaudoux
left a comment
There was a problem hiding this comment.
I think you are generating an unwanted return move
jbaudoux
left a comment
There was a problem hiding this comment.
Would still be good to extend the test to check there are no return move generated
c5ddad0 to
017a09d
Compare
017a09d to
9eaa13d
Compare
|
@lmignon Could you update your review, this would be now ready for merging. |
|
This PR has the |
|
/ocabot merge minor |
|
On my way to merge this fine PR! |
|
Congratulations, your PR was merged at 7569221. Thanks a lot for contributing to OCA. ❤️ |
This PR adds a new setting field to allow to decrease the order line qty
product_uom_qtyinstead of increasingproduct_qty_canceled.cc @jbaudoux @lmignon @rousseldenis