TIP: You can type at any time to perform a new search.
Account balance reporting engine
account_balance_reporting · OCA/l10n-spain
- Repository
- OCA/l10n-spain · module folder · Try on Runboat
- Module version
- 1.4.0
- Category
- Accounting & Finance
- Folder size
- 0.64 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.pexego.es
- Last tracking update
- 2026-08-07 07:17:42
- Authors
- Odoo Community Association (OCA), Pexego, AvanzOSC, Tecnativa
- Maintainers
- Odoo Community Association (OCA), Pexego, AvanzOSC, Tecnativa
- Committers
- Alexandre Fayolle, Pedro M. Baeza, Jairo Llopis, Carlos Dauden, Weblate, cubells, OCA Transbot, oca-travis
Code Analysis ⓘ
Views touched (7)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_balance_reporting.report_generic |
account_balance_reporting.report_generic | ir.ui.view | qweb | New |
report_generic_non_zero |
report_generic_non_zero | ir.ui.view | qweb | Inherits account_balance_reporting.report_generic |
view_account_balance_reporting_form |
account.balance.reporting.form | account.balance.reporting | form | New |
view_account_balance_reporting_template_form |
account.balance.reporting.template.form | account.balance.reporting.template | form | New |
view_account_balance_reporting_template_tree |
account.balance.reporting.template.tree | account.balance.reporting.template | tree | New |
view_account_balance_reporting_tree |
account.balance.reporting.tree | account.balance.reporting | tree | New |
wizard_account_balance_reporting_print |
account.balance.reporting.print.wizard.form | account.balance.reporting.print.wizard | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (5)
New fields (12)
-
calc_dateDatetimereadonly=Truestring='Calculation date' -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>ondelete='cascade'readonly=Falserequired=Truestates=READONLY_STATESstring='Company' -
current_date_fromDaterequired=Truestates=READONLY_STATESstring='Date From' -
current_date_rangeMany2one → date.rangecomodel_name='date.range'states=READONLY_STATESstring='Date range' -
current_date_toDaterequired=Truestates=READONLY_STATESstring='Date To' -
line_idsOne2many → account.balance.reporting.linecomodel_name='account.balance.reporting.line'inverse_name='report_id'states={'done': [('readonly', True)]}string='Lines' -
nameCharindex=Truerequired=Truestring='Name' -
previous_date_fromDatestates=READONLY_STATESstring='Date From' -
previous_date_rangeMany2one → date.rangecomodel_name='date.range'states=READONLY_STATESstring='Date range' -
previous_date_toDatestates=READONLY_STATESstring='Date To' -
stateSelectiondefault='draft'selection=[('draft', 'Draft'), ('calc_done', 'Processed'), ('done', 'Done'), ('canceled', 'Canceled')]string='State' -
template_idMany2one → account.balance.reporting.templatecomodel_name='account.balance.reporting.template'index=Trueondelete='set null'required=Truestates=READONLY_STATESstring='Template'
-
action_calculate(self)@api.multiCalled when the user presses the Calculate button. It will use the report template to generate lines of detail for the report with calculated values. -
action_cancel(self)@api.multiCalled when the user clicks the cancel button. -
action_confirm(self)@api.multiCalled when the user clicks the confirm button. -
action_recover(self)@api.multiCalled when the user clicks the draft button to create a new workflow instance. -
onchange_current_date_range(self)@api.multi@api.onchange('current_date_range') -
onchange_previous_date_range(self)@api.multi@api.onchange('previous_date_range')
New fields (17)
-
calc_dateDatetimestring='Calculation date' -
child_idsOne2many → account.balance.reporting.linecomodel_name='account.balance.reporting.line'inverse_name='parent_id'string='Children' -
codeCharindex=Truerequired=Truestring='Code' -
css_classSelectiondefault='default'selection=CSS_CLASSESstring='CSS Class' -
current_move_line_countIntegercompute='_compute_current_move_line_count' -
current_move_line_idsMany2many → account.move.linecomodel_name='account.move.line'string='Journal items (current)' -
current_valueFloatdigits=(16, 2)string='Fiscal year 1' -
display_nameCharcompute='_compute_display_name'index=Truestore=Truestring='Name' -
nameCharindex=Truerequired=Truestring='Name' -
notesTextargs: 'Notes' -
parent_idMany2one → account.balance.reporting.linecomodel_name='account.balance.reporting.line'ondelete='cascade'string='Parent' -
previous_move_line_countIntegercompute='_compute_previous_move_line_count' -
previous_move_line_idsMany2many → account.move.linecolumn1='line_id'column2='report_id'comodel_name='account.move.line'relation='account_balance_reporting_line_previous_move_line_rel'string='Journal items (previous)' -
previous_valueFloatdigits=(16, 2)string='Fiscal year 2' -
report_idMany2one → account.balance.reportingcomodel_name='account.balance.reporting'ondelete='cascade'string='Report' -
sequenceIntegerdefault=10required=Truestring='Sequence' -
template_line_idMany2one → account.balance.reporting.template.linecomodel_name='account.balance.reporting.template.line'ondelete='set null'string='Line template'
-
name_get(self)@api.multiRedefine the method to show the code in the name ("[code] name"). -
name_search(self, name='', args=None, operator='ilike', limit=100)@api.modelAllow to search by code. -
refresh_values(self)@api.multiRecalculates the values of report lines using the linked line report values formulas: Depending on this formula the final value is calculated as follows: - Empty report value: sum of (this concept) children values. - Number with decimal point ("10.2"): that value (constant). - Account numbers separated by commas ("430,431,(437)"): Sum of the account balances. (The sign of the balance depends on the balance mode) - Concept codes separated by "+" ("11000+12000"): Sum of those concepts values. -
show_move_lines_current(self)@api.multi -
show_move_lines_previous(self)@api.multi
New fields (2)
-
report_idMany2one → account.balance.reportingdefault=_default_report_id args: 'account.balance.reporting', 'Report' -
report_xml_idMany2one → ir.actions.report.xmldefault=_default_report_xml_id args: 'ir.actions.report.xml', 'Design'
-
print_report(self)@api.multi
New fields (6)
-
balance_modeSelectiondefault='0'help='Formula calculation mode: Depending on it, the balance is calculated as follows:\nMode 0: debit-credit (default);\nMode 1: debit-credit, credit-debit for accounts in brackets;\nMode 2: credit-debit;\nMode 3: credit-debit, debit-credit for accounts in brackets.'string='Balance mode' args: [('0', 'Debit-Credit'), ('1', 'Debit-Credit, reversed with brackets'), ('2', 'Credit-Debit'), ('3', 'Credit-Debit, reversed with brackets')] -
descriptionTextargs: 'Description' -
line_idsOne2many → account.balance.reporting.template.linecomodel_name='account.balance.reporting.template.line'inverse_name='template_id'string='Lines' -
nameCharindex=Truerequired=Truesize=64string='Name' -
report_xml_idMany2one → ir.actions.report.xmlcomodel_name='ir.actions.report.xml'ondelete='set null'string='Report design' -
tmpl_typeSelectiondefault='user'old_name='type'selection=[('system', 'System'), ('user', 'User')]string='Type'
-
copy(self, default=None)@api.multiRedefine the copy method to perform it correctly as the line structure is a graph.
New fields (10)
-
child_idsOne2many → account.balance.reporting.template.linecomodel_name='account.balance.reporting.template.line'inverse_name='parent_id'string='Children' -
codeCharhelp='Concept code, may be used on formulas to reference this line'index=Truerequired=Truesize=64string='Code' -
css_classSelectiondefault='default'help='Style-sheet class'required=Falseselection=CSS_CLASSESstring='CSS Class' -
current_valueTexthelp=_VALUE_FORMULA_HELPstring='Fiscal year 1 formula' -
nameCharhelp='Concept name/description'index=Truerequired=Truesize=256string='Name' -
negateBooleanhelp='Negate the value (change the sign of the balance)'string='Negate' -
parent_idMany2one → account.balance.reporting.template.linecomodel_name='account.balance.reporting.template.line'ondelete='cascade'string='Parent' -
previous_valueTexthelp=_VALUE_FORMULA_HELPstring='Fiscal year 2 formula' -
sequenceIntegerdefault=10help='Lines will be sorted/grouped by this field'required=Truestring='Sequence' -
template_idMany2one → account.balance.reporting.templatecomodel_name='account.balance.reporting.template'ondelete='cascade'string='Template'
-
name_get(self)@api.multiRedefine the name_get method to show the code in the name ("[code] name"). -
name_search(self, name='', args=None, operator='ilike', limit=100)@api.modelAllow to search by code.
Loading…
Loading…
Loading…
Loading…