Skip to content

Syncing from upstream OCA/reporting-engine (19.0)#918

Merged
bt-admin merged 191 commits intobrain-tec:19.0from
OCA:19.0
Apr 16, 2026
Merged

Syncing from upstream OCA/reporting-engine (19.0)#918
bt-admin merged 191 commits intobrain-tec:19.0from
OCA:19.0

Conversation

@bt-admin
Copy link
Copy Markdown

bt_gitbot

Miku Laitinen and others added 30 commits November 11, 2025 13:22
Currently translated at 94.1% (16 of 17 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-report_wkhtmltopdf_param
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-report_wkhtmltopdf_param/ca/
Currently translated at 100.0% (17 of 17 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-report_wkhtmltopdf_param
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-report_wkhtmltopdf_param/es_AR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-16.0/reporting-engine-16.0-report_wkhtmltopdf_param
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_wkhtmltopdf_param/
Currently translated at 47.0% (8 of 17 strings)

Translation: reporting-engine-16.0/reporting-engine-16.0-report_wkhtmltopdf_param
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_wkhtmltopdf_param/it/
Currently translated at 47.0% (8 of 17 strings)

Translation: reporting-engine-16.0/reporting-engine-16.0-report_wkhtmltopdf_param
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_wkhtmltopdf_param/sl/
Currently translated at 100.0% (17 of 17 strings)

Translation: reporting-engine-16.0/reporting-engine-16.0-report_wkhtmltopdf_param
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_wkhtmltopdf_param/es/
Currently translated at 88.2% (15 of 17 strings)

Translation: reporting-engine-16.0/reporting-engine-16.0-report_wkhtmltopdf_param
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_wkhtmltopdf_param/it/
Currently translated at 100.0% (16 of 16 strings)

Translation: reporting-engine-17.0/reporting-engine-17.0-report_wkhtmltopdf_param
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-report_wkhtmltopdf_param/sv/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-18.0/reporting-engine-18.0-report_wkhtmltopdf_param
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_wkhtmltopdf_param/
Currently translated at 100.0% (16 of 16 strings)

Translation: reporting-engine-18.0/reporting-engine-18.0-report_wkhtmltopdf_param
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_wkhtmltopdf_param/it/
Currently translated at 100.0% (16 of 16 strings)

Translation: reporting-engine-18.0/reporting-engine-18.0-report_wkhtmltopdf_param
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_wkhtmltopdf_param/tr/
OCA-git-bot and others added 27 commits February 11, 2026 18:39
Currently translated at 100.0% (46 of 46 strings)

Translation: reporting-engine-18.0/reporting-engine-18.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_py3o/it/
Currently translated at 71.7% (33 of 46 strings)

Translation: reporting-engine-18.0/reporting-engine-18.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_py3o/fr/
* report_py3o, report_xlsx, report_xml

odoo core introduced an additional argument in [1] to the method
inherited by report_py3o, report_xlsx, report_xml.
When the same method is inherited in other addons,
it raises a "TypeError: ... takes X positional arguments
but Y were given" due to a mismatch in the argument count.

This commit updates the mentioned method signature to match the
latest odoo core definition, ensuring compatibility and preventing
runtime errors when multiple addons override the same function.

No functional changes are introduced. Only method signatures have
been synchronized with upstream Odoo
Currently translated at 17.3% (8 of 46 strings)

Translation: reporting-engine-18.0/reporting-engine-18.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_py3o/tr/
Currently translated at 100.0% (46 of 46 strings)

Translation: reporting-engine-18.0/reporting-engine-18.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_py3o/tr/
the param monetary on formatLang used in fomatted_value variable in deprecated since v13 ,
and it causes a stacktrace on report generation
Currently translated at 17.3% (8 of 46 strings)

Translation: reporting-engine-18.0/reporting-engine-18.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_py3o/ca/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-18.0/reporting-engine-18.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_py3o/
Currently translated at 100.0% (45 of 45 strings)

Translation: reporting-engine-18.0/reporting-engine-18.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_py3o/it/
Currently translated at 15.5% (7 of 45 strings)

Translation: reporting-engine-18.0/reporting-engine-18.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_py3o/sl/
Currently translated at 15.5% (7 of 45 strings)

Translation: reporting-engine-18.0/reporting-engine-18.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_py3o/sl/
The post init hook created an ir attachment using content read as a string as value for the 'datas' field which expects a b64 encoded binary value....
This code comes from previous odoo version and should have been removed when migrating this addon
Signed-off-by lmignon
Signed-off-by lmignon
Signed-off-by lmignon
@bt-admin bt-admin added the 19.0 label Apr 16, 2026
@bt-admin bt-admin merged commit dec49e0 into brain-tec:19.0 Apr 16, 2026
4 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 16, 2026

Codecov Report

❌ Patch coverage is 44.06780% with 33 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.46%. Comparing base (f28a1b6) to head (535d3ff).
⚠️ Report is 204 commits behind head on 19.0.

Files with missing lines Patch % Lines
report_py3o/controllers/main.py 40.00% 27 Missing and 6 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             19.0     #918      +/-   ##
==========================================
+ Coverage   80.78%   81.46%   +0.68%     
==========================================
  Files          77       94      +17     
  Lines        2050     2746     +696     
  Branches      216      290      +74     
==========================================
+ Hits         1656     2237     +581     
- Misses        312      402      +90     
- Partials       82      107      +25     

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