Skip to content

[18.0][IMP] rma: Add delivered_qty_done + remaining_qty_to_done - #623 - #624

Merged
OCA-git-bot merged 1 commit into
OCA:18.0from
Tecnativa:18.0-imp-rma-remaining_qty_to_done
Sep 3, 2026
Merged

[18.0][IMP] rma: Add delivered_qty_done + remaining_qty_to_done - #623#624
OCA-git-bot merged 1 commit into
OCA:18.0from
Tecnativa:18.0-imp-rma-remaining_qty_to_done

Conversation

@victoralmau

Copy link
Copy Markdown
Member

FWP from 17.0: #623

Add delivered_qty_done + remaining_qty_to_done

The fields were unnecessarily removed in 9cc5bca but already existed in v16

The _compute_delivered_qty_done() method was added because the _compute_delivered_qty() method could not be used with compute_sudo (inconsistent across fields) and the same method could not be used for fields with store=True and store=False

Fixes #615

Please @pedrobaeza and @carlos-lopez-tecnativa can you review it?

@Tecnativa

The fields were unnecessarily removed in OCA@9cc5bca but already existed in v16

The _compute_delivered_qty_done() method was added because the _compute_delivered_qty() method could not be used with compute_sudo (inconsistent across fields) and the same method could not be used for fields with store=True and store=False

Fixes OCA#615

Co-authored-by: Biel Vidal <biel.vidal@netkia.es>
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review comparing previous branches.

@bielvidalnetkia bielvidalnetkia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Functional

@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot merge minor

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 18.0-ocabot-merge-pr-624-by-pedrobaeza-bump-minor, awaiting test results.

@bielvidalnetkia

Copy link
Copy Markdown
Contributor

@victoralmau @pedrobaeza Thanks for your help

@OCA-git-bot
OCA-git-bot merged commit 6acd6f2 into OCA:18.0 Sep 3, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

@pedrobaeza
pedrobaeza deleted the 18.0-imp-rma-remaining_qty_to_done branch September 3, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split not delivered RMA changes to Returned

4 participants