TIP: You can type at any time to perform a new search.
ITA - Stato patrimoniale e conto economico
l10n_it_financial_statements_report · OCA/l10n-italy
- Repository
- OCA/l10n-italy · module folder · Try on Runboat
- Module version
- 1.1.1
- Category
- Localization/Italy
- Folder size
- 0.15 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-italy
- Last tracking update
- 2026-08-07 08:42:51
- Authors
- Odoo Community Association (OCA), Openforce
- Maintainers
- Odoo Community Association (OCA), Openforce
- Committers
- micheledic, sergiocorato, OCA-git-bot, oca-ci, Marco Colombo
- Odoo dependencies
- Python dependencies
- openupgradelib
- System dependencies
- None
- Required by
- None
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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 |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (6)
New fields (2)
-
account_balance_signIntegercompute='_compute_account_balance_sign'string='Balance sign' -
financial_statements_report_sectionSelectioncompute='_compute_financial_statements_report_section'readonly=Falseselection=[('assets', 'Assets'), ('expenses', 'Expenses'), ('incomes', 'Incomes'), ('liabilities', 'Liabilities')]store=Truestring='Financial Statements Report - Section'
No public methods.
New fields (1)
-
account_balance_signIntegercompute='_compute_account_balance_sign'string='Balance sign'
-
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.modelMethod 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_typeSelectionstring='Report Type' args: [('profit_loss', 'Profit & Loss'), ('balance_sheet', 'Balance Sheet')] -
hide_accounts_codesBoolean
-
onchange_show_partner_details(self)@api.onchange('show_partner_details')Override to avoid unwanted changes
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 195 days ago
- Last activity
- 69 days ago
- Repository
- OCA/l10n-italy
- Pull request
- [19.0][MIG] l10n_it_financial_statements_report: Migration to 19.0 (#5086)