Víctor Martínez 9063f74cee [FIX] account_financial_report: Prevent error related to currency from Trial Balance
Use case: Generate report (showing foreign currency) with accounts with defined currency.

Traceback:

Error to render compiling AST
AttributeError: 'int' object has no attribute 'decimal_places'
Template: account_financial_report.report_trial_balance_line
Path: /t/div/t[3]/t[1]/t/t/div/span/t
Node: <t t-esc="balance['initial_currency_balance']" t-options="{'widget': 'monetary', 'display_currency': balance['currency_id']}"/>

The error occured while rendering the template account_financial_report.report_trial_balance_line and evaluating the following expression: <t t-esc="balance['initial_currency_balance']" t-options="{'widget': 'monetary', 'display_currency': balance['currency_id']}"/>
2024-11-29 15:38:41 +07:00
2024-10-08 12:47:04 +00:00
2024-10-20 15:39:21 +00:00
2024-10-08 12:47:04 +00:00
2024-10-08 12:47:04 +00:00
2024-10-20 15:39:21 +00:00
2024-10-08 12:47:04 +00:00
2024-10-08 12:47:04 +00:00
2024-10-08 12:47:04 +00:00
2024-10-20 15:39:21 +00:00
2024-10-08 12:47:04 +00:00
2024-10-20 15:39:21 +00:00
2024-10-08 12:47:04 +00:00

Runboat Pre-commit Status Build Status codecov Translation Status

account-financial-reporting

account-financial-reporting

This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools.

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.

Description
No description provided
Readme 31 MiB
Languages
HTML 40.2%
Python 39%
JavaScript 18.6%
CSS 1.9%
SCSS 0.3%