Syncing from upstream OCA/rma (18.0)#413
Merged
bt-admin merged 9 commits intobrain-tec:18.0from Mar 11, 2026
Merged
Conversation
In v17 `_product_is_storable` checked the product type (`consu` or `product`) to determine whether an RMA could be created. In v18 the `type` field was removed, causing the logic to only allow `is_storable` products (previously `product`). As a result, consumable products (`consu`) could no longer be used to create RMAs. This change restores the previous behavior by allowing consumable products as well when creating RMAs.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: rma-18.0/rma-18.0-rma_reason Translate-URL: https://translation.odoo-community.org/projects/rma-18-0/rma-18-0-rma_reason/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: rma-18.0/rma-18.0-rma_sale Translate-URL: https://translation.odoo-community.org/projects/rma-18-0/rma-18-0-rma_sale/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: rma-18.0/rma-18.0-rma Translate-URL: https://translation.odoo-community.org/projects/rma-18-0/rma-18-0-rma/
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 18.0 #413 +/- ##
=======================================
Coverage 91.52% 91.53%
=======================================
Files 113 113
Lines 3872 3875 +3
Branches 329 329
=======================================
+ Hits 3544 3547 +3
Misses 265 265
Partials 63 63 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bt_gitbot