Use case: Generate report (showing foreign currency) with accounts with defined currency. Traceback: File "/odoo/odoo-server/odoo/addons/base/models/ir_qweb_fields.py", line 448, in value_to_html fmt = "%.{0}f".format(display_currency.decimal_places) AttributeError: 'int' object has no attribute 'decimal_places' The above exception was the direct cause of the following exception: Error to render compiling AST AttributeError: 'int' object has no attribute 'decimal_places' Template: account_financial_report.report_general_ledger_lines Path: /t/div/div[2]/t[6]/t[1]/div[1]/t[1]/span/t Node: <t t-raw="account_or_group_item_object['init_bal']['bal_curr']" t-options="{'widget': 'monetary', 'display_currency': account['currency_id']}"/> TT42804 [FIX] account_financial_report: Prevent error related to currency from General ledger Use case: Generate xlsx report (showing foreign currency) with accounts with defined currency. Traceback: File "/opt/odoo/auto/addons/account_financial_report/report/abstract_report_xlsx.py", line 535, in _get_currency_amt_format field_name = "{}_{}".format(field_prefix, currency.name) AttributeError: 'int' object has no attribute 'name' |
||
---|---|---|
.github/workflows | ||
account_financial_report | ||
account_tax_balance | ||
setup | ||
.copier-answers.yml | ||
.editorconfig | ||
.eslintrc.yml | ||
.flake8 | ||
.gitignore | ||
.isort.cfg | ||
.pre-commit-config.yaml | ||
.prettierrc.yml | ||
.pylintrc | ||
.pylintrc-mandatory | ||
LICENSE | ||
README.md |
README.md
account-financial-reporting
TODO: add repo description.
Available addons
addon | version | maintainers | summary |
---|---|---|---|
account_financial_report | 16.0.1.3.4 | OCA Financial Reports | |
account_tax_balance | 16.0.1.0.0 | Compute tax balances based on date range |
Licenses
This repository is licensed under AGPL-3.0.
However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA)
policy. Consult each module's __manifest__.py
file, which contains a license
key
that explains its license.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.