Skip to content

[18.0] [FIX] rma_sale: compute allowed_qty in case of multi-step route#546

Open
marielejeune wants to merge 1 commit intoOCA:18.0from
acsone:18.0-rma_sale_get_chained_moves_fix-mle
Open

[18.0] [FIX] rma_sale: compute allowed_qty in case of multi-step route#546
marielejeune wants to merge 1 commit intoOCA:18.0from
acsone:18.0-rma_sale_get_chained_moves_fix-mle

Conversation

@marielejeune
Copy link
Contributor

@marielejeune marielejeune commented Mar 6, 2026

Fixes bug declared in issue #545

The approach here is to browse all moves linked to the sale order line, keeping only the incoming and outgoing moves to count the allowed quantity.

TODO:

  • Add a unit test for the multi-step return route case

@OCA-git-bot
Copy link
Contributor

Hi @pedrobaeza,
some modules you are maintaining are being modified, check this out!

@marielejeune marielejeune marked this pull request as draft March 6, 2026 08:20
@pedrobaeza pedrobaeza added this to the 18.0 milestone Mar 6, 2026
@marielejeune marielejeune force-pushed the 18.0-rma_sale_get_chained_moves_fix-mle branch from a9e2187 to b14a612 Compare March 6, 2026 09:24
@marielejeune marielejeune marked this pull request as ready for review March 6, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants