Skip to content

Syncing from upstream OCA/rma (18.0)#413

Merged
bt-admin merged 9 commits intobrain-tec:18.0from
OCA:18.0
Mar 11, 2026
Merged

Syncing from upstream OCA/rma (18.0)#413
bt-admin merged 9 commits intobrain-tec:18.0from
OCA:18.0

Conversation

@bt-admin
Copy link

bt_gitbot

eduezerouali-tecnativa and others added 9 commits March 9, 2026 18:52
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.
Signed-off-by pedrobaeza
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/
@bt-admin bt-admin added the 18.0 label Mar 11, 2026
@bt-admin bt-admin merged commit 64f33a2 into brain-tec:18.0 Mar 11, 2026
4 checks passed
@codecov
Copy link

codecov bot commented Mar 11, 2026

Codecov Report

❌ Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.53%. Comparing base (256949f) to head (8680350).
⚠️ Report is 50 commits behind head on 18.0.

Files with missing lines Patch % Lines
rma/models/rma.py 60.00% 0 Missing and 2 partials ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants