Financial reports for Odoo
 
 
 
 
 
Go to file
Víctor Martínez d6d2804e49 [FIX] account_financial_report: Prevent error related to currency from General ledger
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'
2023-05-15 09:00:10 +02:00
.github/workflows [BUILD] copier update 2023-02-09 13:27:23 +00:00
account_financial_report [FIX] account_financial_report: Prevent error related to currency from General ledger 2023-05-15 09:00:10 +02:00
account_tax_balance Update translation files 2022-11-30 13:42:47 +00:00
setup [ADD] setup.py 2022-12-24 10:14:50 +00:00
.copier-answers.yml [IMP] update dotfiles [ci skip] 2023-03-12 18:53:20 +01:00
.editorconfig Initialize 16.0 branch 2022-10-03 19:46:49 +02:00
.eslintrc.yml Initialize 16.0 branch 2022-10-03 19:46:49 +02:00
.flake8 Initialize 16.0 branch 2022-10-03 19:46:49 +02:00
.gitignore Initialize 16.0 branch 2022-10-03 19:46:49 +02:00
.isort.cfg Initialize 16.0 branch 2022-10-03 19:46:49 +02:00
.pre-commit-config.yaml [BUILD] copier update 2023-02-09 13:27:23 +00:00
.prettierrc.yml Initialize 16.0 branch 2022-10-03 19:46:49 +02:00
.pylintrc Initialize 16.0 branch 2022-10-03 19:46:49 +02:00
.pylintrc-mandatory Initialize 16.0 branch 2022-10-03 19:46:49 +02:00
LICENSE Initialize 16.0 branch 2022-10-03 19:46:49 +02:00
README.md [UPD] addons table in README.md 2023-04-28 12:28:23 +00:00

README.md

Runboat Pre-commit Status Build Status codecov Translation Status

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.