ITA - Stato patrimoniale e conto economico

l10n_it_financial_statements_report
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/18.0/l10n_it_financial_statements_report
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYLocalization/Italy
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Openforce
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Openforce
COMMITTERS
COMMITTERSOCA-git-bot, sergiocorato, micheledic, oca-ci, Marco Colombo
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_financial_report
    - account_tax_balance
OCA/account-financial-tools:
    - account_fiscal_year
OCA/l10n-italy:
    - l10n_it_account
OCA/reporting-engine:
    - report_xlsx
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - l10n_it
    - base_iban
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES openupgradelib
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
**Italiano**

Rendicontazione PDF e XLS per stato patrimoniale e conto economico a
sezioni contrapposte.

**English**

PDF and XLS reporting for financial statements.

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
financial_statements_report_base financial_statements_report_base ir.ui.view qweb New
financial_statements_report_filters financial_statements_report_filters ir.ui.view qweb New
financial_statements_report_lines financial_statements_report_lines ir.ui.view qweb New
financial_statements_report_lines_header financial_statements_report_lines_header ir.ui.view qweb New
financial_statements_report_partners financial_statements_report_partners ir.ui.view qweb New
financial_statements_report_split_columns financial_statements_report_split_columns ir.ui.view qweb New
financial_statements_report_title financial_statements_report_title ir.ui.view qweb New
financial_statements_report_totals financial_statements_report_totals ir.ui.view qweb New
report report ir.ui.view qweb New
template_financial_statements_report template_financial_statements_report ir.ui.view qweb New
wizard_report_financial_statements_report wizard.report.financial.statements.report trial.balance.report.wizard form New
Models touched (6)

New fields (2)
  • account_balance_sign Integer
    compute='_compute_account_balance_sign' string='Balance sign'
  • financial_statements_report_section Selection
    compute='_compute_financial_statements_report_section' readonly=False selection=[('assets', 'Assets'), ('expenses', 'Expenses'), ('incomes', 'Incomes'), ('liabilities', 'Liabilities')] store=True string='Financial Statements Report - Section'
Public methods (0)

No public methods.

New fields (1)
  • account_balance_sign Integer
    compute='_compute_account_balance_sign' string='Balance sign'
Public methods (5)
  • get_account_balance_sign(self)
  • get_group_accounts(self)
    Retrieves every account from `self` and `self`'s subgroups.
  • get_group_parents(self)
    Retrieves every parent for group `self`. :return: group's parents as recordset, or empty recordset if `self` has no parents. If a recursion is found, an error is raised.
  • get_group_progenitor(self)
  • get_group_subgroups(self)
    Retrieves every subgroup for groups `self`.

New fields (0)

No new fields.

Public methods (7)
  • compute_data_for_report(self, wizard_data)
    Sets data for report. Defines which lines go on the left (or right) section, which names sections should have, the report title, amounts and balances
  • do_print(self, wizard, report_data, report_type)
  • get_balance_sign(self, account, account_group)
  • get_column_data(self)
    This method is meant to be overridden if necessary. :returns: report data grouped by report type
  • get_html(self, given_context=None)
    @api.model
    Method needed from JavaScript widget to render HTML view
  • get_report_section(self, account=None, group=None)
  • print_report(self, wizard, report_data, report_type=None)
    This method is called from the JS widget buttons 'Print' and 'Export' in the HTML view. Prints PDF and XLSX reports. :param report_type: string that represents the report type

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (15)
  • format_value_by_lang(self, lang, value=None, decimals=None)
    Mimics `res.lang` model's `format` method
  • generate_partner_columns(self, cols, mode, columns)
    Partner Columns are ordinary Columns but with 'Partner' after Account.
  • generate_section_cols(self, cols, mode)
    Takes 'cols' as a template for column info, returns L/R column
  • generate_table(self, report, report_data, report_result)
    Creates the table
  • get_indent_data(self, line=None, col_dict=None)
  • get_line_info(self, report, report_data, report_result, row=None)
    Returns {col: (val, style)} for current row
  • get_report_lines(self, field, report, report_data, report_result, func=None)
    Returns report's lines, enumerated by row, as assigned by field 'field' and filtered by 'func' (either a function or a dot-separated list of fields).
  • get_table_data(self, report_data)
  • get_write_data(self, line, col_dict, report, report_data, report_result)
    Returns value and style for cell
  • set_lr_cols(self, cols)
    Takes 'cols' as a template for column info, sets L/R columns
  • set_partner_columns(self, cols, left_columns, right_columns)
  • write_main_headers(self, report_data)
    Writes main left and right section names
  • write_sections_balance(self, report, data, report_data, report_result)
    Writes balances rows for left and right sections
  • write_sub_headers(self, report_data)
    Writes single headers names
  • write_total_balance(self, report, data, report_data, report_result)
    Writes total balance row

New fields (2)
  • financial_statements_report_type Selection
    string='Report Type' args: [('profit_loss', 'Profit & Loss'), ('balance_sheet', 'Balance Sheet')]
  • hide_accounts_codes Boolean
Public methods (1)
  • onchange_show_partner_details(self)
    @api.onchange('show_partner_details')
    Override to avoid unwanted changes
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/16.0/l10n_it_financial_statements_report
VERSION
VERSION 1.0.7
CATEGORY
CATEGORYLocalization/Italy
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Openforce
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Openforce
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Simone Rubino, micheledic, oca-ci, Alessandro Uffreduzzi, Marco Colombo, odooNextev, Ash3s, vbnext
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy/tree/16.0/l10n_it_financial_statements_report
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:11:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_financial_report
    - account_tax_balance
OCA/account-financial-tools:
    - account_fiscal_year
OCA/l10n-italy:
    - l10n_it_account
OCA/reporting-engine:
    - report_xlsx
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xmlschema
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
**Italiano**

Rendicontazione PDF e XLS per stato patrimoniale e conto economico a
sezioni contrapposte.

**English**

PDF and XLS reporting for financial statements.

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
financial_statements_report_base financial_statements_report_base ir.ui.view qweb New
financial_statements_report_filters financial_statements_report_filters ir.ui.view qweb New
financial_statements_report_lines financial_statements_report_lines ir.ui.view qweb New
financial_statements_report_lines_header financial_statements_report_lines_header ir.ui.view qweb New
financial_statements_report_partners financial_statements_report_partners ir.ui.view qweb New
financial_statements_report_split_columns financial_statements_report_split_columns ir.ui.view qweb New
financial_statements_report_title financial_statements_report_title ir.ui.view qweb New
financial_statements_report_totals financial_statements_report_totals ir.ui.view qweb New
report report ir.ui.view qweb New
template_financial_statements_report template_financial_statements_report ir.ui.view qweb New
wizard_report_financial_statements_report wizard.report.financial.statements.report trial.balance.report.wizard form New
Models touched (5)

New fields (1)
  • financial_statements_report_section Selection
    compute='_compute_financial_statements_report_section' readonly=False selection=[('assets', 'Assets'), ('expenses', 'Expenses'), ('incomes', 'Incomes'), ('liabilities', 'Liabilities')] store=True string='Financial Statements Report - Section'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (7)
  • compute_data_for_report(self, wizard_data)
    Sets data for report. Defines which lines go on the left (or right) section, which names sections should have, the report title, amounts and balances
  • do_print(self, wizard, report_data, report_type)
  • get_balance_sign(self, account, account_group)
  • get_column_data(self)
    This method is meant to be overridden if necessary. :returns: report data grouped by report type
  • get_html(self, given_context=None)
    @api.model
    Method needed from JavaScript widget to render HTML view
  • get_report_section(self, account=None, group=None)
  • print_report(self, wizard, report_data, report_type=None)
    This method is called from the JS widget buttons 'Print' and 'Export' in the HTML view. Prints PDF and XLSX reports. :param report_type: string that represents the report type

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (15)
  • format_value_by_lang(self, lang, value=None, decimals=None)
    Mimics `res.lang` model's `format` method
  • generate_partner_columns(self, cols, mode, columns)
    Partner Columns are ordinary Columns but with 'Partner' after Account.
  • generate_section_cols(self, cols, mode)
    Takes 'cols' as a template for column info, returns L/R column
  • generate_table(self, report, report_data, report_result)
    Creates the table
  • get_indent_data(self, line=None, col_dict=None)
  • get_line_info(self, report, report_data, report_result, row=None)
    Returns {col: (val, style)} for current row
  • get_report_lines(self, field, report, report_data, report_result, func=None)
    Returns report's lines, enumerated by row, as assigned by field 'field' and filtered by 'func' (either a function or a dot-separated list of fields).
  • get_table_data(self, report_data)
  • get_write_data(self, line, col_dict, report, report_data, report_result)
    Returns value and style for cell
  • set_lr_cols(self, cols)
    Takes 'cols' as a template for column info, sets L/R columns
  • set_partner_columns(self, cols, left_columns, right_columns)
  • write_main_headers(self, report_data)
    Writes main left and right section names
  • write_sections_balance(self, report, data, report_data, report_result)
    Writes balances rows for left and right sections
  • write_sub_headers(self, report_data)
    Writes single headers names
  • write_total_balance(self, report, data, report_data, report_result)
    Writes total balance row

New fields (2)
  • financial_statements_report_type Selection
    string='Report Type' args: [('profit_loss', 'Profit & Loss'), ('balance_sheet', 'Balance Sheet')]
  • hide_accounts_codes Boolean
Public methods (1)
  • onchange_show_partner_details(self)
    @api.onchange('show_partner_details')
    Override to avoid unwanted changes
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/14.0/l10n_it_financial_statements_report
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYLocalization/Italy
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Openforce
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Openforce
COMMITTERS
COMMITTERSeLBati, Weblate, OCA-git-bot, sergiocorato, Simone Rubino, oca-ci, Alessandro Uffreduzzi, Marco Colombo, odooNextev
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy/tree/14.0/l10n_it_financial_statements_report
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_financial_report
    - account_tax_balance
OCA/account-financial-tools:
    - account_menu
    - account_fiscal_year
OCA/l10n-italy:
    - l10n_it_account
OCA/reporting-engine:
    - report_xlsx
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES openupgradelib
xmlschema
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (14)
XML IDNameModelTypeStatus
assets_backend Assets for ITA - Stato patrimoniale e conto economico ir.ui.view qweb Inherits web.assets_backend
financial_statements_report_base financial_statements_report_base ir.ui.view qweb New
financial_statements_report_filters financial_statements_report_filters ir.ui.view qweb New
financial_statements_report_lines financial_statements_report_lines ir.ui.view qweb New
financial_statements_report_lines_header financial_statements_report_lines_header ir.ui.view qweb New
financial_statements_report_partners financial_statements_report_partners ir.ui.view qweb New
financial_statements_report_split_columns financial_statements_report_split_columns ir.ui.view qweb New
financial_statements_report_title financial_statements_report_title ir.ui.view qweb New
financial_statements_report_totals financial_statements_report_totals ir.ui.view qweb New
report report ir.ui.view qweb New
report_pdf report_pdf ir.ui.view qweb New
template_financial_statements_report template_financial_statements_report ir.ui.view qweb New
view_account_type_form_sign account.account.type.form.sign account.account.type xpath Inherits account.view_account_type_form
wizard_report_financial_statements_report wizard.report.financial.statements.report trial.balance.report.wizard form New
Models touched (6)

New fields (1)
  • financial_statements_report_section Selection
    readonly=True related='user_type_id.financial_statements_report_section' string='Financial Statements Report - Section'
Public methods (0)

No public methods.

New fields (1)
  • financial_statements_report_section Selection
    string='Financial Statements Report - Section' args: [('assets', 'Assets'), ('expenses', 'Expenses'), ('incomes', 'Incomes'), ('liabilities', 'Liabilities')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (7)
  • compute_data_for_report(self, wizard_data)
    Sets data for report. Defines which lines go on the left (or right) section, which names sections should have, the report title, amounts and balances
  • do_print(self, wizard, report_data, report_type)
  • get_balance_sign(self, account, account_group)
  • get_column_data(self)
    This method is meant to be overridden if necessary. :returns: report data grouped by report type
  • get_html(self, given_context=None)
    @api.model
    Method needed from JavaScript widget to render HTML view
  • get_report_section(self, account=None, group=None)
  • print_report(self, wizard, report_data, report_type=None)
    This method is called from the JS widget buttons 'Print' and 'Export' in the HTML view. Prints PDF and XLSX reports. :param report_type: string that represents the report type

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (15)
  • format_value_by_lang(self, lang, value=None, decimals=None)
    Mimics `res.lang` model's `format` method
  • generate_partner_columns(self, cols, mode, columns)
    Partner Columns are ordinary Columns but with 'Partner' after Account.
  • generate_section_cols(self, cols, mode)
    Takes 'cols' as a template for column info, returns L/R column
  • generate_table(self, report, report_data, report_result)
    Creates the table
  • get_indent_data(self, line=None, col_dict=None)
  • get_line_info(self, report, report_data, report_result, row=None)
    Returns {col: (val, style)} for current row
  • get_report_lines(self, field, report, report_data, report_result, func=None)
    Returns report's lines, enumerated by row, as assigned by field 'field' and filtered by 'func' (either a function or a dot-separated list of fields).
  • get_table_data(self, report_data)
  • get_write_data(self, line, col_dict, report, report_data, report_result)
    Returns value and style for cell
  • set_lr_cols(self, cols)
    Takes 'cols' as a template for column info, sets L/R columns
  • set_partner_columns(self, cols, left_columns, right_columns)
  • write_main_headers(self, report_data)
    Writes main left and right section names
  • write_sections_balance(self, report, data, report_data, report_result)
    Writes balances rows for left and right sections
  • write_sub_headers(self, report_data)
    Writes single headers names
  • write_total_balance(self, report, data, report_data, report_result)
    Writes total balance row

New fields (2)
  • financial_statements_report_type Selection
    string='Report Type' args: [('profit_loss', 'Profit & Loss'), ('balance_sheet', 'Balance Sheet')]
  • hide_accounts_codes Boolean
Public methods (2)
  • onchange_show_partner_details(self)
    @api.onchange('show_partner_details')
    Override to avoid unwanted changes
  • prepare_report_vals(self)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/l10n-italy
PULL REQUEST
PULL REQUEST[19.0][MIG] l10n_it_financial_statements_report: Migration to 19.0 (#5086)