OCA / multi-company

GNU Affero General Public License v3.0
100 stars 281 forks source link

[FIX] purchase_sale_inter_company: sync moves with same product #542

Closed aleuffre closed 9 months ago

aleuffre commented 9 months ago

This commit fixes a bug that occurred when the intercompany PO/SO and therefore the pickings had multiple lines of the same product.

In that case, the quantities done would not be synced correctly, but rather the larger quantity would be applied to all destination moves. The receiving company would receive more product than was ordered in the PO.

aleuffre commented 9 months ago

/ocabot merge patch

OCA-git-bot commented 9 months ago

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 14.0-ocabot-merge-pr-542-by-aleuffre-bump-patch, awaiting test results.

OCA-git-bot commented 9 months ago

@aleuffre your merge command was aborted due to failed check(s), which you can inspect on this commit of 14.0-ocabot-merge-pr-542-by-aleuffre-bump-patch.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

aleuffre commented 9 months ago

/ocabot merge patch

OCA-git-bot commented 9 months ago

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 14.0-ocabot-merge-pr-542-by-aleuffre-bump-patch, awaiting test results.

OCA-git-bot commented 9 months ago

Congratulations, your PR was merged at 3d4fb219761b23751323ca548d19fe571e4a74fc. Thanks a lot for contributing to OCA. ❤️