Skip to content

Syncing from upstream OCA/product-attribute (18.0)#1559

Merged
bt-admin merged 13 commits intobrain-tec:18.0from
OCA:18.0
Apr 22, 2026
Merged

Syncing from upstream OCA/product-attribute (18.0)#1559
bt-admin merged 13 commits intobrain-tec:18.0from
OCA:18.0

Conversation

@bt-admin
Copy link
Copy Markdown

bt_gitbot

victoralmau and others added 13 commits April 1, 2026 11:40
TT50471

[UPD] Update product_readonly_security.pot

[BOT] post-merge updates
TT52176

[UPD] Update product_readonly_security.pot

[BOT] post-merge updates

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: product-attribute-14.0/product-attribute-14.0-product_readonly_security
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_readonly_security/
[UPD] Update product_readonly_security.pot

[BOT] post-merge updates

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: product-attribute-17.0/product-attribute-17.0-product_readonly_security
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_readonly_security/
Currently translated at 100.0% (5 of 5 strings)

Translation: product-attribute-17.0/product-attribute-17.0-product_readonly_security
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_readonly_security/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (5 of 5 strings)

Translation: product-attribute-17.0/product-attribute-17.0-product_readonly_security
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_readonly_security/it/
…doo 18

In Odoo 18, _compute_base_price() parameter was renamed from
'target_currency' to 'currency'. The old signature causes:
TypeError: ProductPricelist._compute_base_price() got an unexpected
keyword argument 'currency'

Fix: rename parameter to 'currency' to match parent method signature.

Closes: #1831
Signed-off-by LoisRForgeFlow
Signed-off-by pedrobaeza
@bt-admin bt-admin added the 18.0 label Apr 22, 2026
@bt-admin bt-admin merged commit c17e242 into brain-tec:18.0 Apr 22, 2026
4 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.04%. Comparing base (65447e5) to head (2363530).
⚠️ Report is 167 commits behind head on 18.0.

Additional details and impacted files
@@            Coverage Diff             @@
##             18.0    #1559      +/-   ##
==========================================
+ Coverage   92.97%   93.04%   +0.06%     
==========================================
  Files         558      565       +7     
  Lines        8817     8898      +81     
  Branches      741      742       +1     
==========================================
+ Hits         8198     8279      +81     
  Misses        432      432              
  Partials      187      187              

☔ 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.

6 participants