QWeb Financial Reports
account_financial_report_qweb · OCA/account-financial-reporting
Merged into account_financial_report in 11.0
account_financial_report_webkit, account_financial_report_webkit_xls, account_journal_report_xls via account_journal_report, l10n_es_account_financial_report via account_journal_report (9.0) · account_journal_report (10.0)-
Security22/251 minor finding
-
Activity6/25Last human commit 29 months ago
-
Required by20/252 modules depend on it
-
Maturity12/25In 2 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
AccountGroup— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceAgedPartnerBalance— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourceAgedPartnerBalanceReportCompute— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceGeneralLedgerReportCompute— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceGeneralLedgerReportWizard— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (4 methods) migration-api-multi-one · sourceJournalReportWizard— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (5 methods) migration-api-multi-one · sourceOpenItemsReportCompute— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceOpenItemsReportWizard— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourceReportJournalQweb— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (14 methods) (2 occurrences in this file) migration-api-multi-one · sourceTrialBalanceReportAccount— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) (2 occurrences in this file) migration-api-multi-one · sourceTrialBalanceReportWizard— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (5 methods) migration-api-multi-one · sourcegeneral_ledger_wizard— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourcetrial_balance_wizard— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceaccount_financial_report_qweb.internal_layout— Migrating to 15.0: QWeb `t-raw` is deprecated: use `t-out`; for intended HTML, sanitize it at its source, since `Markup` alone does not sanitize. migration-view-t-raw · sourcereport_aged_partner_balance_base— Migrating to 15.0: QWeb `t-raw` is deprecated: use `t-out`; for intended HTML, sanitize it at its source, since `Markup` alone does not sanitize. (2 occurrences in this file) migration-view-t-raw · sourcereport_general_ledger_base— Migrating to 15.0: QWeb `t-raw` is deprecated: use `t-out`; for intended HTML, sanitize it at its source, since `Markup` alone does not sanitize. (3 occurrences in this file) migration-view-t-raw · sourcereport_journal_qweb_base— Migrating to 15.0: QWeb `t-raw` is deprecated: use `t-out`; for intended HTML, sanitize it at its source, since `Markup` alone does not sanitize. migration-view-t-raw · sourcereport_open_items_base— Migrating to 15.0: QWeb `t-raw` is deprecated: use `t-out`; for intended HTML, sanitize it at its source, since `Markup` alone does not sanitize. (2 occurrences in this file) migration-view-t-raw · sourcereport_trial_balance_base— Migrating to 15.0: QWeb `t-raw` is deprecated: use `t-out`; for intended HTML, sanitize it at its source, since `Markup` alone does not sanitize. (3 occurrences in this file) migration-view-t-raw · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- Python dependencies
- xlsxwriter
- System dependencies
- None
- Required by
- account_balance_ebp_csv_export, account_multicurrency_revaluation
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 49
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_financial_report_assets_backend |
account_financial_report assets | ir.ui.view | qweb | Inherits web.assets_backend |
account_financial_report_qweb.internal_layout |
account_financial_report_qweb.internal_layout | ir.ui.view | qweb | New |
account_financial_report_qweb.report_general_ledger_ending_cumul |
account_financial_report_qweb.report_general_ledger_ending_cumul | ir.ui.view | qweb | New |
account_financial_report_qweb.report_general_ledger_filters |
account_financial_report_qweb.report_general_ledger_filters | ir.ui.view | qweb | New |
account_financial_report_qweb.report_general_ledger_lines |
account_financial_report_qweb.report_general_ledger_lines | ir.ui.view | qweb | New |
account_financial_report_qweb.report_journal_qweb_all |
account_financial_report_qweb.report_journal_qweb_all | ir.ui.view | qweb | New |
account_financial_report_qweb.report_journal_qweb_all_taxes |
account_financial_report_qweb.report_journal_qweb_all_taxes | ir.ui.view | qweb | New |
account_financial_report_qweb.report_journal_qweb_journal |
account_financial_report_qweb.report_journal_qweb_journal | ir.ui.view | qweb | New |
account_financial_report_qweb.report_journal_qweb_journal_first_line |
account_financial_report_qweb.report_journal_qweb_journal_first_line | ir.ui.view | qweb | New |
account_financial_report_qweb.report_journal_qweb_journal_table_header |
account_financial_report_qweb.report_journal_qweb_journal_table_header | ir.ui.view | qweb | New |
account_financial_report_qweb.report_journal_qweb_journal_taxes |
account_financial_report_qweb.report_journal_qweb_journal_taxes | ir.ui.view | qweb | New |
account_financial_report_qweb.report_journal_qweb_move |
account_financial_report_qweb.report_journal_qweb_move | ir.ui.view | qweb | New |
account_financial_report_qweb.report_journal_qweb_move_line |
account_financial_report_qweb.report_journal_qweb_move_line | ir.ui.view | qweb | New |
account_financial_report_qweb.report_open_items_qweb_ending_cumul |
account_financial_report_qweb.report_open_items_qweb_ending_cumul | ir.ui.view | qweb | New |
account_financial_report_qweb.report_open_items_qweb_filters |
account_financial_report_qweb.report_open_items_qweb_filters | ir.ui.view | qweb | New |
account_financial_report_qweb.report_open_items_qweb_lines |
account_financial_report_qweb.report_open_items_qweb_lines | ir.ui.view | qweb | New |
account_financial_report_qweb.report_trial_balance_qweb |
account_financial_report_qweb.report_trial_balance_qweb | ir.ui.view | qweb | New |
account_financial_report_qweb.report_trial_balance_qweb_account_footer |
account_financial_report_qweb.report_trial_balance_qweb_account_footer | ir.ui.view | qweb | New |
account_financial_report_qweb.report_trial_balance_qweb_filters |
account_financial_report_qweb.report_trial_balance_qweb_filters | ir.ui.view | qweb | New |
account_financial_report_qweb.report_trial_balance_qweb_line |
account_financial_report_qweb.report_trial_balance_qweb_line | ir.ui.view | qweb | New |
account_financial_report_qweb.report_trial_balance_qweb_lines_header |
account_financial_report_qweb.report_trial_balance_qweb_lines_header | ir.ui.view | qweb | New |
aged_partner_balance_wizard |
Aged Partner Balance | aged.partner.balance.wizard | form | New |
assets_specific |
assets_specific | ir.ui.view | qweb | Inherits report.assets_common |
general_ledger_wizard |
General Ledger | general.ledger.report.wizard | form | New |
journal_report_wizard_form_view |
journal.report.wizard.form (in account_financial_report_qweb) | journal.report.wizard | form | New |
open_items_wizard |
Open Items | open.items.report.wizard | form | New |
report_aged_partner_balance_account_ending_cumul |
report_aged_partner_balance_account_ending_cumul | ir.ui.view | qweb | New |
report_aged_partner_balance_base |
report_aged_partner_balance_base | ir.ui.view | qweb | New |
report_aged_partner_balance_filters |
report_aged_partner_balance_filters | ir.ui.view | qweb | New |
report_aged_partner_balance_html |
report_aged_partner_balance_html | ir.ui.view | qweb | New |
report_aged_partner_balance_lines |
report_aged_partner_balance_lines | ir.ui.view | qweb | New |
report_aged_partner_balance_lines_header |
report_aged_partner_balance_lines_header | ir.ui.view | qweb | New |
report_aged_partner_balance_move_lines |
report_aged_partner_balance_move_lines | ir.ui.view | qweb | New |
report_aged_partner_balance_partner_ending_cumul |
report_aged_partner_balance_partner_ending_cumul | ir.ui.view | qweb | New |
report_aged_partner_balance_qweb |
report_aged_partner_balance_qweb | ir.ui.view | qweb | New |
report_buttons |
report_buttons | ir.ui.view | qweb | New |
report_general_ledger_base |
report_general_ledger_base | ir.ui.view | qweb | New |
report_general_ledger_html |
report_general_ledger_html | ir.ui.view | qweb | New |
report_general_ledger_qweb |
report_general_ledger_qweb | ir.ui.view | qweb | New |
report_journal_html |
report_journal_html | ir.ui.view | qweb | New |
report_journal_qweb |
report_journal_qweb | ir.ui.view | qweb | New |
report_journal_qweb_base |
report_journal_qweb_base | ir.ui.view | qweb | New |
report_open_items_base |
report_open_items_base | ir.ui.view | qweb | New |
report_open_items_html |
report_open_items_html | ir.ui.view | qweb | New |
report_open_items_qweb |
report_open_items_qweb | ir.ui.view | qweb | New |
report_trial_balance_base |
report_trial_balance_base | ir.ui.view | qweb | New |
report_trial_balance_html |
report_trial_balance_html | ir.ui.view | qweb | New |
trial_balance_wizard |
Trial Balance | trial.balance.report.wizard | form | New |
view_account_specific_form |
account.account.form.inherit | account.account | form | Inherits account.view_account_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 35
-
centralizedBooleanhelp='If flagged, no details will be displayed in the General Ledger report (the webkit one only), only centralized amounts per period.' args: 'Centralized'
No public methods.
-
compute_account_idsMany2many → account.accountcompute='_compute_group_accounts'store=Truestring='Accounts' args: 'account.account' -
group_child_idsOne2many → account.groupcomodel_name='account.group'inverse_name='parent_id'string='Child Groups'
No public methods.
No new fields.
Public methods (1)-
init(self)@api.model_crThe join between accounts_partners subquery and account_move_line can be heavy to compute on big databases. Join sample: JOIN account_move_line ml ON ap.account_id = ml.account_id AND ml.date < '2018-12-30' AND ap.partner_id = ml.partner_id AND ap.include_initial_balance = TRUE By adding the following index, performances are strongly increased. :return:
-
account_idsMany2many → account.accountcomodel_name='account.account'string='Filter accounts' -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=Falsestring='Company' -
date_atDatedefault=fields.Date.context_todayrequired=True -
partner_idsMany2many → res.partnercomodel_name='res.partner'string='Filter partners' -
payable_accounts_onlyBoolean -
receivable_accounts_onlyBoolean -
show_move_line_detailsBoolean -
target_moveSelectiondefault='all'required=Truestring='Target Moves' args: [('posted', 'All Posted Entries'), ('all', 'All Entries')]
-
button_export_html(self)@api.multi -
button_export_pdf(self)@api.multi -
button_export_xlsx(self)@api.multi -
onchange_company_id(self)@api.onchange('company_id')Handle company change. -
onchange_type_accounts_only(self)@api.onchange('receivable_accounts_only', 'payable_accounts_only')Handle receivable/payable accounts only change.
-
account_idsMany2many → account.accountcomodel_name='account.account'string='Filter accounts' -
analytic_tag_idsMany2many → account.analytic.tagcomodel_name='account.analytic.tag'string='Filter accounts' -
centralizeBooleandefault=Truestring='Activate centralization' -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=Falsestring='Company' -
cost_center_idsMany2many → account.analytic.accountcomodel_name='account.analytic.account'string='Filter cost centers' -
date_fromDatedefault=<expr>required=True -
date_range_idMany2one → date.rangecomodel_name='date.range'string='Date range' -
date_toDatedefault=fields.Date.context_todayrequired=True -
foreign_currencyBooleandefault=<expr>help='Display foreign currency for move lines, unless account currency is not setup through chart of accounts will display initial and final balance in that currency.'string='Show foreign currency' -
fy_start_dateDatecompute='_compute_fy_start_date' -
hide_account_at_0Booleanhelp='Use this filter to hide an account or a partner with an ending balance at 0. If partners are filtered, debits and credits totals will not match the trial balance.'string='Hide account ending balance at 0' -
journal_idsMany2many → account.journalcomodel_name='account.journal'string='Filter journals' -
not_only_one_unaffected_earnings_accountBooleanreadonly=Truestring='Not only one unaffected earnings account' -
partner_idsMany2many → res.partnercomodel_name='res.partner'default=<expr>string='Filter partners' -
payable_accounts_onlyBoolean -
receivable_accounts_onlyBoolean -
show_analytic_tagsBooleanstring='Show analytic tags' -
target_moveSelectiondefault='all'required=Truestring='Target Moves' args: [('posted', 'All Posted Entries'), ('all', 'All Entries')]
-
button_export_html(self)@api.multi -
button_export_pdf(self)@api.multi -
button_export_xlsx(self)@api.multi -
onchange_company_id(self)@api.onchange('company_id')Handle company change. -
onchange_date_range_id(self)@api.onchange('date_range_id')Handle date range change. -
onchange_partner_ids(self)@api.onchange('partner_ids')Handle partners change. -
onchange_type_accounts_only(self)@api.onchange('receivable_accounts_only', 'payable_accounts_only')Handle receivable/payable accounts only change.
-
company_idMany2one → res.companycomodel_name='res.company'default=<expr>ondelete='cascade'required=Falsestring='Company' -
date_fromDaterequired=Truestring='Start date' -
date_range_idMany2one → date.rangecomodel_name='date.range'string='Date range' -
date_toDaterequired=Truestring='End date' -
foreign_currencyBoolean -
group_optionSelectiondefault='journal'required=Trueselection='_get_group_options'string='Group entries by' -
journal_idsMany2many → account.journalcomodel_name='account.journal'required=Falsestring='Journals' -
move_targetSelectiondefault='all'required=Trueselection='_get_move_targets' -
sort_optionSelectiondefault='move_name'required=Trueselection='_get_sort_options'string='Sort entries by' -
with_account_nameBooleandefault=False
-
button_export_html(self)@api.multi -
button_export_pdf(self)@api.multi -
button_export_xlsx(self)@api.multi -
onchange_company_id(self)@api.onchange('company_id')Handle company change. -
onchange_date_range_id(self)@api.onchange('date_range_id')
-
account_idsMany2many → account.accountcomodel_name='account.account'domain=[('reconcile', '=', True)]string='Filter accounts' -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=Falsestring='Company' -
date_atDatedefault=fields.Date.context_todayrequired=True -
foreign_currencyBooleandefault=<expr>help='Display foreign currency for move lines, unless account currency is not setup through chart of accounts will display initial and final balance in that currency.'string='Show foreign currency' -
hide_account_at_0Booleanhelp='Use this filter to hide an account or a partner with an ending balance at 0. If partners are filtered, debits and credits totals will not match the trial balance.'string='Hide account ending balance at 0' -
partner_idsMany2many → res.partnercomodel_name='res.partner'default=<expr>string='Filter partners' -
payable_accounts_onlyBoolean -
receivable_accounts_onlyBoolean -
target_moveSelectiondefault='all'required=Truestring='Target Moves' args: [('posted', 'All Posted Entries'), ('all', 'All Entries')]
-
button_export_html(self)@api.multi -
button_export_pdf(self)@api.multi -
button_export_xlsx(self)@api.multi -
onchange_company_id(self)@api.onchange('company_id')Handle company change. -
onchange_type_accounts_only(self)@api.onchange('receivable_accounts_only', 'payable_accounts_only')Handle receivable/payable accounts only change.
-
account_idsOne2many → report_aged_partner_balance_qweb_accountcomodel_name='report_aged_partner_balance_qweb_account'inverse_name='report_id' -
company_idMany2one → res.companycomodel_name='res.company' -
date_atDate -
filter_account_idsMany2many → account.accountcomodel_name='account.account' -
filter_partner_idsMany2many → res.partnercomodel_name='res.partner' -
only_posted_movesBoolean -
open_items_idMany2one → report_open_items_qwebcomodel_name='report_open_items_qweb' -
show_move_line_detailsBoolean
No public methods.
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)@api.multi
-
account_idMany2one → account.accountindex=True args: 'account.account' -
codeChar -
cumul_age_120_daysFloatdigits=(16, 2) -
cumul_age_30_daysFloatdigits=(16, 2) -
cumul_age_60_daysFloatdigits=(16, 2) -
cumul_age_90_daysFloatdigits=(16, 2) -
cumul_amount_residualFloatdigits=(16, 2) -
cumul_currentFloatdigits=(16, 2) -
cumul_olderFloatdigits=(16, 2) -
nameChar -
partner_idsOne2many → report_aged_partner_balance_qweb_partnercomodel_name='report_aged_partner_balance_qweb_partner'inverse_name='report_account_id' -
percent_age_120_daysFloatdigits=(16, 2) -
percent_age_30_daysFloatdigits=(16, 2) -
percent_age_60_daysFloatdigits=(16, 2) -
percent_age_90_daysFloatdigits=(16, 2) -
percent_currentFloatdigits=(16, 2) -
percent_olderFloatdigits=(16, 2) -
report_idMany2one → report_aged_partner_balance_qwebcomodel_name='report_aged_partner_balance_qweb'index=Trueondelete='cascade'
No public methods.
-
age_120_daysFloatdigits=(16, 2) -
age_30_daysFloatdigits=(16, 2) -
age_60_daysFloatdigits=(16, 2) -
age_90_daysFloatdigits=(16, 2) -
amount_residualFloatdigits=(16, 2) -
currentFloatdigits=(16, 2) -
olderFloatdigits=(16, 2) -
partnerChar -
report_partner_idMany2one → report_aged_partner_balance_qweb_partnercomodel_name='report_aged_partner_balance_qweb_partner'index=Trueondelete='cascade'
No public methods.
-
accountChar -
age_120_daysFloatdigits=(16, 2) -
age_30_daysFloatdigits=(16, 2) -
age_60_daysFloatdigits=(16, 2) -
age_90_daysFloatdigits=(16, 2) -
amount_residualFloatdigits=(16, 2) -
currentFloatdigits=(16, 2) -
dateDate -
date_dueDate -
entryChar -
journalChar -
labelChar -
move_line_idMany2one → account.move.lineargs: 'account.move.line' -
olderFloatdigits=(16, 2) -
partnerChar -
report_partner_idMany2one → report_aged_partner_balance_qweb_partnercomodel_name='report_aged_partner_balance_qweb_partner'index=Trueondelete='cascade'
No public methods.
-
line_idsOne2many → report_aged_partner_balance_qweb_linecomodel_name='report_aged_partner_balance_qweb_line'inverse_name='report_partner_id' -
move_line_idsOne2many → report_aged_partner_balance_qweb_move_linecomodel_name='report_aged_partner_balance_qweb_move_line'inverse_name='report_partner_id' -
nameChar -
partner_idMany2one → res.partnerindex=True args: 'res.partner' -
report_account_idMany2one → report_aged_partner_balance_qweb_accountcomodel_name='report_aged_partner_balance_qweb_account'index=Trueondelete='cascade'
No public methods.
-
account_idsOne2many → report_general_ledger_qweb_accountcomodel_name='report_general_ledger_qweb_account'inverse_name='report_id' -
centralizeBoolean -
company_idMany2one → res.companycomodel_name='res.company' -
date_fromDate -
date_toDate -
filter_account_idsMany2many → account.accountcomodel_name='account.account' -
filter_analytic_tag_idsMany2many → account.analytic.tagcomodel_name='account.analytic.tag' -
filter_cost_center_idsMany2many → account.analytic.accountcomodel_name='account.analytic.account' -
filter_journal_idsMany2many → account.journalcomodel_name='account.journal' -
filter_partner_idsMany2many → res.partnercomodel_name='res.partner' -
foreign_currencyBoolean -
fy_start_dateDate -
hide_account_at_0Boolean -
only_posted_movesBoolean -
show_analytic_tagsBoolean -
show_cost_centerBooleandefault=<expr> -
unaffected_earnings_accountMany2one → account.accountcomodel_name='account.account'compute='_compute_unaffected_earnings_account'store=True
No public methods.
No new fields.
Public methods (3)-
compute_data_for_report(self, with_line_details=True, with_partners=True)@api.multi -
get_html(self, given_context=None)@api.model -
print_report(self, report_type)@api.multi
-
account_idMany2one → account.accountindex=True args: 'account.account' -
codeChar -
currency_idMany2one → res.currencycomodel_name='res.currency' -
final_balanceFloatdigits=(16, 2) -
final_balance_foreign_currencyFloatdigits=(16, 2) -
final_creditFloatdigits=(16, 2) -
final_debitFloatdigits=(16, 2) -
initial_balanceFloatdigits=(16, 2) -
initial_balance_foreign_currencyFloatdigits=(16, 2) -
initial_creditFloatdigits=(16, 2) -
initial_debitFloatdigits=(16, 2) -
is_partner_accountBoolean -
move_line_idsOne2many → report_general_ledger_qweb_move_linecomodel_name='report_general_ledger_qweb_move_line'inverse_name='report_account_id' -
nameChar -
partner_idsOne2many → report_general_ledger_qweb_partnercomodel_name='report_general_ledger_qweb_partner'inverse_name='report_account_id' -
report_idMany2one → report_general_ledger_qwebcomodel_name='report_general_ledger_qweb'index=Trueondelete='cascade'
No public methods.
-
accountChar -
amount_currencyFloatdigits=(16, 2) -
cost_centerChar -
creditFloatdigits=(16, 2) -
cumul_balanceFloatdigits=(16, 2) -
currency_idMany2one → res.currencycomodel_name='res.currency' -
dateDate -
debitFloatdigits=(16, 2) -
entryChar -
journalChar -
labelChar -
matched_ml_idMany2one → account.full.reconcileargs: 'account.full.reconcile' -
move_line_idMany2one → account.move.lineargs: 'account.move.line' -
partnerChar -
report_account_idMany2one → report_general_ledger_qweb_accountcomodel_name='report_general_ledger_qweb_account'index=Trueondelete='cascade' -
report_partner_idMany2one → report_general_ledger_qweb_partnercomodel_name='report_general_ledger_qweb_partner'index=Trueondelete='cascade' -
tagsChar -
taxes_descriptionChar
No public methods.
-
currency_idMany2one → res.currencycomodel_name='res.currency' -
final_balanceFloatdigits=(16, 2) -
final_balance_foreign_currencyFloatdigits=(16, 2) -
final_creditFloatdigits=(16, 2) -
final_debitFloatdigits=(16, 2) -
initial_balanceFloatdigits=(16, 2) -
initial_balance_foreign_currencyFloatdigits=(16, 2) -
initial_creditFloatdigits=(16, 2) -
initial_debitFloatdigits=(16, 2) -
move_line_idsOne2many → report_general_ledger_qweb_move_linecomodel_name='report_general_ledger_qweb_move_line'inverse_name='report_partner_id' -
nameChar -
partner_idMany2one → res.partnerindex=True args: 'res.partner' -
report_account_idMany2one → report_general_ledger_qweb_accountcomodel_name='report_general_ledger_qweb_account'index=Trueondelete='cascade'
No public methods.
-
company_idMany2one → res.companycomodel_name='res.company'ondelete='cascade'required=True -
date_fromDaterequired=True -
date_toDaterequired=True -
foreign_currencyBoolean -
group_optionSelectiondefault='journal'required=Trueselection='_get_group_options' -
journal_idsMany2many → account.journalcomodel_name='account.journal'required=True -
move_targetSelectiondefault='all'required=Trueselection='_get_move_targets' -
report_journal_idsOne2many → report_journal_qweb_journalcomodel_name='report_journal_qweb_journal'inverse_name='report_id' -
report_journal_tax_line_idsOne2many → report_journal_qweb_journal_tax_linecomodel_name='report_journal_qweb_journal_tax_line'inverse_name='report_id' -
report_move_idsOne2many → report_journal_qweb_movecomodel_name='report_journal_qweb_move'inverse_name='report_id' -
report_move_line_idsOne2many → report_journal_qweb_move_linecomodel_name='report_journal_qweb_move_line'inverse_name='report_id' -
report_tax_line_idsOne2many → report_journal_qweb_report_tax_linecomodel_name='report_journal_qweb_report_tax_line'inverse_name='report_id' -
sort_optionSelectiondefault='move_name'required=Trueselection='_get_sort_options' -
with_account_nameBoolean
-
compute_data_for_report(self)@api.multi -
get_html(self, given_context=None)@api.model -
print_report(self, report_type)@api.multi -
refresh(self)@api.multi
-
codeChar -
company_idMany2one → res.companycomodel_name='res.company'ondelete='cascade'required=True -
creditFloatdigits=DIGITS -
currency_idMany2one → res.currencycomodel_name='res.currency' -
debitFloatdigits=DIGITS -
journal_idMany2one → account.journalcomodel_name='account.journal'ondelete='cascade'required=True -
nameCharrequired=True -
report_idMany2one → report_journal_qwebcomodel_name='report_journal_qweb'ondelete='cascade'required=True -
report_move_idsOne2many → report_journal_qweb_movecomodel_name='report_journal_qweb_move'inverse_name='report_journal_id' -
report_tax_line_idsOne2many → report_journal_qweb_journal_tax_linecomodel_name='report_journal_qweb_journal_tax_line'inverse_name='report_journal_id'
No public methods.
-
report_journal_idMany2one → report_journal_qweb_journalcomodel_name='report_journal_qweb_journal'ondelete='cascade'required=True
No public methods.
-
company_idMany2one → res.companycomodel_name='res.company'ondelete='cascade'required=True -
move_idMany2one → account.movecomodel_name='account.move'ondelete='cascade'required=True -
nameChar -
report_idMany2one → report_journal_qwebcomodel_name='report_journal_qweb'ondelete='cascade'required=True -
report_journal_idMany2one → report_journal_qweb_journalcomodel_name='report_journal_qweb_journal'ondelete='cascade'required=True -
report_move_line_idsOne2many → report_journal_qweb_move_linecomodel_name='report_journal_qweb_move_line'inverse_name='report_move_id'
No public methods.
-
accountChar -
account_codeChar -
account_idMany2one → account.accountcomodel_name='account.account' -
account_typeChar -
amount_currencyMonetarycurrency_field='currency_id' -
company_currency_idMany2one → res.currencycomodel_name='res.currency' -
company_idMany2one → res.companycomodel_name='res.company'ondelete='cascade'required=True -
creditFloatdigits=DIGITS -
currency_idMany2one → res.currencycomodel_name='res.currency' -
currency_nameChar -
dateDate -
debitFloatdigits=DIGITS -
entryChar -
labelChar -
move_line_idMany2one → account.move.linecomodel_name='account.move.line'ondelete='cascade'required=True -
partnerChar -
partner_idMany2one → res.partnercomodel_name='res.partner' -
report_idMany2one → report_journal_qwebcomodel_name='report_journal_qweb'ondelete='cascade'required=True -
report_journal_idMany2one → report_journal_qweb_journalcomodel_name='report_journal_qweb_journal'ondelete='cascade'required=True -
report_move_idMany2one → report_journal_qweb_movecomodel_name='report_journal_qweb_move'ondelete='cascade'required=True -
tax_idMany2one → account.taxcomodel_name='account.tax' -
taxes_descriptionChar
No public methods.
-
base_balanceFloatcompute='_compute_base_balance'digits=DIGITS -
base_creditFloatdigits=DIGITS -
base_debitFloatdigits=DIGITS -
report_idMany2one → report_journal_qwebcomodel_name='report_journal_qweb'ondelete='cascade'required=True -
tax_balanceFloatcompute='_compute_tax_balance'digits=DIGITS -
tax_codeChar -
tax_creditFloatdigits=DIGITS -
tax_debitFloatdigits=DIGITS -
tax_idMany2one → account.taxcomodel_name='account.tax' -
tax_nameChar
No public methods.
-
account_idsOne2many → report_open_items_qweb_accountcomodel_name='report_open_items_qweb_account'inverse_name='report_id' -
company_idMany2one → res.companycomodel_name='res.company' -
date_atDate -
filter_account_idsMany2many → account.accountcomodel_name='account.account' -
filter_partner_idsMany2many → res.partnercomodel_name='res.partner' -
foreign_currencyBoolean -
hide_account_at_0Boolean -
only_posted_movesBoolean
No public methods.
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)@api.multi
-
account_idMany2one → account.accountindex=True args: 'account.account' -
codeChar -
currency_idMany2one → res.currencycomodel_name='res.currency' -
final_amount_residualFloatdigits=(16, 2) -
final_amount_residual_currencyFloatdigits=(16, 2) -
final_amount_total_dueFloatdigits=(16, 2) -
final_amount_total_due_currencyFloatdigits=(16, 2) -
nameChar -
partner_idsOne2many → report_open_items_qweb_partnercomodel_name='report_open_items_qweb_partner'inverse_name='report_account_id' -
report_idMany2one → report_open_items_qwebcomodel_name='report_open_items_qweb'index=Trueondelete='cascade'
No public methods.
-
accountChar -
amount_residualFloatdigits=(16, 2) -
amount_residual_currencyFloatdigits=(16, 2) -
amount_total_dueFloatdigits=(16, 2) -
amount_total_due_currencyFloatdigits=(16, 2) -
currency_idMany2one → res.currencycomodel_name='res.currency' -
dateDate -
date_dueDate -
entryChar -
journalChar -
labelChar -
move_line_idMany2one → account.move.lineargs: 'account.move.line' -
partnerChar -
report_partner_idMany2one → report_open_items_qweb_partnercomodel_name='report_open_items_qweb_partner'index=Trueondelete='cascade'
No public methods.
-
currency_idMany2one → res.currencycomodel_name='res.currency' -
final_amount_residualFloatdigits=(16, 2) -
final_amount_residual_currencyFloatdigits=(16, 2) -
final_amount_total_dueFloatdigits=(16, 2) -
final_amount_total_due_currencyFloatdigits=(16, 2) -
move_line_idsOne2many → report_open_items_qweb_move_linecomodel_name='report_open_items_qweb_move_line'inverse_name='report_partner_id' -
nameChar -
partner_idMany2one → res.partnerindex=True args: 'res.partner' -
report_account_idMany2one → report_open_items_qweb_accountcomodel_name='report_open_items_qweb_account'index=Trueondelete='cascade'
No public methods.
No new fields.
Public methods (0)No public methods.
-
account_idsOne2many → report_trial_balance_qweb_accountcomodel_name='report_trial_balance_qweb_account'inverse_name='report_id' -
company_idMany2one → res.companycomodel_name='res.company' -
date_fromDate -
date_toDate -
filter_account_idsMany2many → account.accountcomodel_name='account.account' -
filter_journal_idsMany2many → account.journalcomodel_name='account.journal' -
filter_partner_idsMany2many → res.partnercomodel_name='res.partner' -
foreign_currencyBoolean -
fy_start_dateDate -
general_ledger_idMany2one → report_general_ledger_qwebcomodel_name='report_general_ledger_qweb' -
hide_account_at_0Boolean -
hide_parent_hierarchy_levelBooleandefault=False args: 'Do not display parent levels' -
hierarchy_onSelectiondefault='computed'help='Computed Accounts: Use when the account group have codes\n that represent prefixes of the actual accounts.\n\n Child Accounts: Use when your account groups are hierarchical.\n\n No hierarchy: Use to display just the accounts, without any grouping.\n 'period_balance=fields.Float(digits=(16, 2))required=Truestring='Hierarchy On' args: [('computed', 'Computed Accounts'), ('relation', 'Child Accounts'), ('none', 'No hierarchy')] -
limit_hierarchy_levelBooleanargs: 'Limit hierarchy levels' -
only_posted_movesBoolean -
show_hierarchy_levelIntegerdefault=1 args: 'Hierarchy Levels to display' -
show_partner_detailsBoolean
No public methods.
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)@api.multi
-
account_group_idMany2one → account.groupindex=True args: 'account.group' -
account_idMany2one → account.accountindex=True args: 'account.account' -
child_account_idsCharstring='Accounts' -
codeChar -
compute_account_idsMany2many → account.accountstore=Truestring='Accounts' args: 'account.account' -
creditFloatdigits=(16, 2) -
currency_idMany2one → res.currencycomodel_name='res.currency' -
debitFloatdigits=(16, 2) -
final_balanceFloatdigits=(16, 2) -
final_balance_foreign_currencyFloatdigits=(16, 2) -
hide_lineBooleancompute='_compute_hide_line' -
initial_balanceFloatdigits=(16, 2) -
initial_balance_foreign_currencyFloatdigits=(16, 2) -
levelIntegerdefault=1index=True -
nameChar -
parent_idMany2one → account.groupindex=True args: 'account.group' -
partner_idsOne2many → report_trial_balance_qweb_partnercomodel_name='report_trial_balance_qweb_partner'inverse_name='report_account_id' -
period_balanceFloatdigits=(16, 2) -
report_idMany2one → report_trial_balance_qwebcomodel_name='report_trial_balance_qweb'index=Trueondelete='cascade' -
sequenceIntegerdefault=1index=True
No public methods.
-
creditFloatdigits=(16, 2) -
currency_idMany2one → res.currencycomodel_name='res.currency' -
debitFloatdigits=(16, 2) -
final_balanceFloatdigits=(16, 2) -
final_balance_foreign_currencyFloatdigits=(16, 2) -
initial_balanceFloatdigits=(16, 2) -
initial_balance_foreign_currencyFloatdigits=(16, 2) -
nameChar -
partner_idMany2one → res.partnerindex=True args: 'res.partner' -
period_balanceFloatdigits=(16, 2) -
report_account_idMany2one → report_trial_balance_qweb_accountcomodel_name='report_trial_balance_qweb_account'index=Trueondelete='cascade'
No public methods.
-
account_idsMany2many → account.accountcomodel_name='account.account'string='Filter accounts' -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=Falsestring='Company' -
date_fromDaterequired=True -
date_range_idMany2one → date.rangecomodel_name='date.range'string='Date range' -
date_toDaterequired=True -
foreign_currencyBooleanhelp='Display foreign currency for move lines, unless account currency is not setup through chart of accounts will display initial and final balance in that currency.'string='Show foreign currency' -
fy_start_dateDatecompute='_compute_fy_start_date' -
hide_account_at_0Booleandefault=Truehelp='When this option is enabled, the trial balance will not display accounts that have initial balance = debit = credit = end balance = 0'string='Hide accounts at 0' -
hide_parent_hierarchy_levelBooleandefault=False args: 'Do not display parent levels' -
hierarchy_onSelectiondefault='computed'help='Computed Accounts: Use when the account group have codes\n that represent prefixes of the actual accounts.\n\n Child Accounts: Use when your account groups are hierarchical.\n\n No hierarchy: Use to display just the accounts, without any grouping.\n 'required=Truestring='Hierarchy On' args: [('computed', 'Computed Accounts'), ('relation', 'Child Accounts'), ('none', 'No hierarchy')] -
journal_idsMany2many → account.journalcomodel_name='account.journal'string='Filter journals' -
limit_hierarchy_levelBooleanargs: 'Limit hierarchy levels' -
not_only_one_unaffected_earnings_accountBooleanreadonly=Truestring='Not only one unaffected earnings account' -
partner_idsMany2many → res.partnercomodel_name='res.partner'string='Filter partners' -
payable_accounts_onlyBoolean -
receivable_accounts_onlyBoolean -
show_hierarchy_levelIntegerdefault=1 args: 'Hierarchy Levels to display' -
show_partner_detailsBoolean -
target_moveSelectiondefault='all'required=Truestring='Target Moves' args: [('posted', 'All Posted Entries'), ('all', 'All Entries')]
-
button_export_html(self)@api.multi -
button_export_pdf(self)@api.multi -
button_export_xlsx(self)@api.multi -
onchange_company_id(self)@api.onchange('company_id')Handle company change. -
onchange_date_range_id(self)@api.onchange('date_range_id')Handle date range change. -
onchange_show_partner_details(self)@api.onchange('show_partner_details')Handle partners change. -
onchange_type_accounts_only(self)@api.onchange('receivable_accounts_only', 'payable_accounts_only')Handle receivable/payable accounts only change.
Loading…