Skip to content

Syncing from upstream OCA/reporting-engine (18.0)#770

Merged
bt-admin merged 72 commits intobrain-tec:18.0from
OCA:18.0
Mar 7, 2025
Merged

Syncing from upstream OCA/reporting-engine (18.0)#770
bt-admin merged 72 commits intobrain-tec:18.0from
OCA:18.0

Conversation

@bt-admin
Copy link
Copy Markdown

@bt-admin bt-admin commented Mar 7, 2025

bt_gitbot

Jairo Llopis and others added 30 commits January 10, 2025 10:26
Almost any XML must start with this. Let's make it easier.
Any report inheriting this AbstractModel can check its XML results
against any XSD.
Previous instructions were misleading
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-12.0/reporting-engine-12.0-report_xml
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_xml/
OCA-git-bot and others added 27 commits January 10, 2025 10:26
Currently translated at 94.4% (17 of 18 strings)

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

Translation: reporting-engine-16.0/reporting-engine-16.0-report_xml
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_xml/
Adds a way to choose the file extension for your XML file, by adding the flexibility of appending more choices.
For example, instead of getting `.xml`, this allows to have the report download as `.svg` or even good old `.html` if needed.
This is also very useful for some localization purposes, where some scarce software uses uncommon file extensions for their XML files, like `.ffdata` for specific accounting reports here in Lithuania.

The change is not breaking, as we set the default to be `.xml` like it was by default anyway.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

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

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

Translation: reporting-engine-17.0/reporting-engine-17.0-report_xml
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-report_xml/sv/
Signed-off-by pedrobaeza
@bt-admin bt-admin added the 18.0 label Mar 7, 2025
@bt-admin bt-admin merged commit b6e0d43 into brain-tec:18.0 Mar 7, 2025
4 checks passed
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 7, 2025

Codecov Report

Attention: Patch coverage is 81.64557% with 29 lines in your changes missing coverage. Please review.

Project coverage is 81.90%. Comparing base (cbbf444) to head (521a13e).
Report is 84 commits behind head on 18.0.

Files with missing lines Patch % Lines
report_xml/controllers/report.py 60.65% 16 Missing and 8 partials ⚠️
report_xml/reports/report_report_xml_abstract.py 89.18% 3 Missing and 1 partial ⚠️
report_xml/hooks.py 90.90% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             18.0     #770      +/-   ##
==========================================
- Coverage   81.92%   81.90%   -0.03%     
==========================================
  Files          58       68      +10     
  Lines        1682     1840     +158     
  Branches      193      204      +11     
==========================================
+ Hits         1378     1507     +129     
- Misses        231      250      +19     
- Partials       73       83      +10     

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

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.