Romania - Account Trial Balance Report

l10n_ro_report_trial_balance
REPOSITORY
REPOSITORYOCA/l10n-romania
GIT
GIThttps://github.com/OCA/l10n-romania.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-romania/tree/11.0/l10n_ro_report_trial_balance
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalization
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), NextERP Romania, Forest and Biomass Romania
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), NextERP Romania, Forest and Biomass Romania
COMMITTERS
COMMITTERSFekete Mihai, GitHub, oca-travis, Mihai Fekete
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-romania
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_financial_report
OCA/reporting-engine:
    - report_xlsx
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
    - account_invoicing
    - l10n_ro
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlrd
xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
l10n_ro_report_trial_balance l10n_ro_report_trial_balance ir.ui.view qweb New
l10n_ro_report_trial_balance.internal_layout l10n_ro_report_trial_balance.internal_layout ir.ui.view qweb New
l10n_ro_report_trial_balance.l10n_ro_report_trial_balance_base l10n_ro_report_trial_balance.l10n_ro_report_trial_balance_base ir.ui.view qweb New
l10n_ro_report_trial_balance.l10n_ro_report_trial_balance_filters l10n_ro_report_trial_balance.l10n_ro_report_trial_balance_filters ir.ui.view qweb New
l10n_ro_report_trial_balance.l10n_ro_report_trial_balance_line l10n_ro_report_trial_balance.l10n_ro_report_trial_balance_line ir.ui.view qweb New
l10n_ro_report_trial_balance.l10n_ro_report_trial_balance_lines_header l10n_ro_report_trial_balance.l10n_ro_report_trial_balance_lines_header ir.ui.view qweb New
l10n_ro_report_trial_balance.l10n_ro_report_trial_balance_qweb l10n_ro_report_trial_balance.l10n_ro_report_trial_balance_qweb ir.ui.view qweb New
l10n_ro_report_trial_balance_assets_backend l10n_ro_report_trial_balance assets ir.ui.view qweb Inherits web.assets_backend
l10n_ro_report_trial_balance_buttons l10n_ro_report_trial_balance_buttons ir.ui.view qweb New
trial_balance_wizard Trial Balance l10n.ro.report.trial.balance.wizard form New
Models touched (6)

New fields (8)
  • account_ids Many2many → account.account
    comodel_name='account.account' string='Filter accounts'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> string='Company'
  • date_from Date
    required=True
  • date_range_id Many2one → date.range
    comodel_name='date.range' string='Date range'
  • date_to Date
    required=True
  • hide_account_balance_at_0 Boolean
    help='Use this filter to hide accounts with an ending balance at 0. If all accounts from an account group have ending balance at 0, the group will not be printed in the report.' string='Hide account ending balance at 0'
  • target_move Selection
    default='posted' required=True string='Target Moves' args: [('posted', 'All Posted Entries'), ('all', 'All Entries')]
  • with_special_accounts Boolean
    help='Check this if you want to print classes 8 and 9 of accounts.' args: 'With Special Accounts'
Public methods (4)
  • button_export_html(self)
    @api.multi
  • button_export_pdf(self)
    @api.multi
  • button_export_xlsx(self)
    @api.multi
  • onchange_date_range_id(self)
    @api.onchange('date_range_id')
    Handle date range change.

New fields (8)
  • account_ids Many2many → account.account
    comodel_name='account.account'
  • company_id Many2one → res.company
    comodel_name='res.company'
  • date_from Date
  • date_to Date
  • hide_account_balance_at_0 Boolean
  • line_account_ids One2many → l10n_ro_report_trial_balance_account
    comodel_name='l10n_ro_report_trial_balance_account' inverse_name='report_id'
  • only_posted_moves Boolean
  • with_special_accounts Boolean
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • compute_data_for_report(self)
    @api.multi
  • get_html(self, given_context=None)
    @api.model
  • print_report(self, report_type='qweb')
    @api.multi

New fields (16)
  • account_group_id Many2one → account.group
    index=True args: 'account.group'
  • account_id Many2one → account.account
    index=True args: 'account.account'
  • account_ids Many2many → account.account
    comodel_name='account.account'
  • code Char
  • credit Float
    digits=(16, 2)
  • credit_balance Float
    digits=(16, 2)
  • credit_initial Float
    digits=(16, 2)
  • credit_opening Float
    digits=(16, 2)
  • credit_total Float
    digits=(16, 2)
  • debit Float
    digits=(16, 2)
  • debit_balance Float
    digits=(16, 2)
  • debit_initial Float
    digits=(16, 2)
  • debit_opening Float
    digits=(16, 2)
  • debit_total Float
    digits=(16, 2)
  • name Char
  • report_id Many2one → l10n_ro_report_trial_balance
    comodel_name='l10n_ro_report_trial_balance' index=True ondelete='cascade'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (5)
  • generate_xlsx_report(self, workbook, data, objects)
  • get_workbook_options(self)
  • write_array_header(self, workbook)
    Write array header on current line using all defined columns name. Columns are defined with `_get_report_columns` method.
  • write_array_title(self, workbook, title)
    Write array title on current line using all defined columns width. Columns are defined with `_get_report_columns` method.
  • write_line(self, workbook, line_object, formats)
    Write a line on current line using all defined columns field name. Columns are defined with `_get_report_columns` method.