Repository navigation
Conversation
Balance is too generic, Financial statements is what this module is producing
Currently translated at 100.0% (74 of 74 strings) Translation: l10n-italy-14.0/l10n-italy-14.0-l10n_it_financial_statements_report Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_financial_statements_report/it/
Currently translated at 100.0% (70 of 70 strings) Translation: l10n-italy-16.0/l10n-italy-16.0-l10n_it_financial_statements_report Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-16-0/l10n-italy-16-0-l10n_it_financial_statements_report/it/
Report XLSX: the syntax "if isinstance(value, int | float)" can be used on Python 3.10 and above versions. 16.0 code should be compatible with Python>=3.7 tho.
Currently translated at 100.0% (70 of 70 strings) Translation: l10n-italy-16.0/l10n-italy-16.0-l10n_it_financial_statements_report Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-16-0/l10n-italy-16-0-l10n_it_financial_statements_report/it/
Currently translated at 100.0% (70 of 70 strings) Translation: l10n-italy-16.0/l10n-italy-16.0-l10n_it_financial_statements_report Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-16-0/l10n-italy-16-0-l10n_it_financial_statements_report/it/
Currently translated at 100.0% (70 of 70 strings) Translation: l10n-italy-16.0/l10n-italy-16.0-l10n_it_financial_statements_report Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-16-0/l10n-italy-16-0-l10n_it_financial_statements_report/it/
Currently translated at 100.0% (71 of 71 strings) Translation: l10n-italy-16.0/l10n-italy-16.0-l10n_it_financial_statements_report Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-16-0/l10n-italy-16-0-l10n_it_financial_statements_report/it/
After PR OCA/account-financial-reporting#1408 it's better to use the provided _prepare_report_data() from the abstract model as it's pre-populated with needed data.
…rolled by its module
xlrd is only used by the tests, and report_xlsx already depends on it. Odoo checks the version of external dependencies on install and installs xlrd 2.0.1 on Python >= 3.12, so the pin made the module uninstallable there. xlrd 2 cannot read .xlsx files: use openpyxl in the tests, which Odoo requires on every Python version. Assisted-by: Claude Opus 5.5
eLBati
force-pushed
the
19.0-mig-l10n_it_financial_statements_report-lb
branch
from
October 6, 2026 08:47
dda9165 to
3045f17
Compare
Member
Author
|
@tafaRU grazie, fatto |
tafaRU
approved these changes
Oct 6, 2026
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.
Supersedes #5086 by @Borruso, rebased on current 19.0.
Changes on top of #5086:
xlrd==1.2.0external dependency: xlrd is only used by the tests, andreport_xlsxalready depends on it. Odoo 19 checks the version ofexternal_dependencieswhen installing a module, andon Python ≥ 3.12 it installs xlrd 2.0.1, so the pin made the module impossible to install there. The XLSX test now uses
openpyxl.requirements.txt.