Closed chienandalu closed 2 years ago
I see that this is not enough: we need to do other if
level. The first one is if valued_line
, and the second one if the quantity is different, and in the first level, do the UoM check.
Changes done:
@ao-landoo please check that your PR was causing this side effect.
Let's fast-track it for voiding further problems:
/ocabot merge patch
On my way to merge this fine PR! Prepared branch 13.0-ocabot-merge-pr-221-by-pedrobaeza-bump-patch, awaiting test results.
Congratulations, your PR was merged at 1035d302b8dcc8247180238a84270b4e511e6fd1. Thanks a lot for contributing to OCA. ❤️
This should be fw-port it to v14 and v15. @ao-landoo do you handle it?
The fix in fac3997ee518f2c984776d8a06860fb5e80ccee2 didn't consider move lines without a linked sale line. That would end up in inconsistent calculations and even the original line rewriting.
cc @Tecnativa TT38863
ping @pedrobaeza @carlosdauden
cc @ao-landoo