Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 12 Odoo series since 9.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.26 MB
Module directory on disk
Code analysis 1 migration note 4 models 6 views 0 HTTP endpoints

Description

This module allows to compute tax balances within a certain date range. It depends on date_range module and exposes 'compute' methods that can be called by other modules (like localization ones).

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 6

XML IDNameModelTypeStatus
view_account_move_filter Add move type group by account.move Inherits account.view_account_move_filter
view_move_form Add move type field account.move form Inherits account.view_move_form
view_move_tree Add move type column account.move tree Inherits account.view_move_tree
view_tax_search_balance account.tax.search.balance account.tax search New
view_tax_tree_balance account.tax.list.balance account.tax list New
wizard_open_tax_balances wizard.open.tax.balances form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (1)
  • financial_type Selection
    compute='_compute_financial_type' readonly=True selection='_selection_financial_type' store=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • init(self)

New fields (7)
  • balance Float
    compute='_compute_balance' string='Total Balance'
  • balance_refund Float
    compute='_compute_balance'
  • balance_regular Float
    compute='_compute_balance' string='Balance'
  • base_balance Float
    compute='_compute_balance' string='Total Base Balance'
  • base_balance_refund Float
    compute='_compute_balance'
  • base_balance_regular Float
    compute='_compute_balance' string='Base Balance'
  • has_moves Boolean
    compute='_compute_has_moves' search='_search_has_moves' string='Has balance in period'
Public methods (15)
  • compute_balance(self, tax_or_base='tax', financial_type=None)
  • get_balance_domain(self, state_list, type_list)
  • get_base_balance_domain(self, state_list, type_list)
  • get_context_values(self)
  • get_lines_action(self, tax_or_base='tax', financial_type=None)
  • get_move_line_partial_domain(self, from_date, to_date, company_ids)
  • get_move_lines_domain(self, tax_or_base='tax', financial_type=None)
  • get_target_state_list(self, target_move='posted')
  • get_target_type_list(self, financial_type=None)
  • view_base_lines(self)
  • view_base_refund_lines(self)
  • view_base_regular_lines(self)
  • view_tax_lines(self)
  • view_tax_refund_lines(self)
  • view_tax_regular_lines(self)

New fields (5)
  • company_ids Many2many → res.company
    comodel_name='res.company' default=<expr> domain=<expr> required=True string='Companies'
  • date_range_id Many2one → date.range
    args: 'date.range'
  • from_date Date
    compute='_compute_date_range' readonly=False required=True store=True
  • target_move Selection
    default='posted' required=True args: [('posted', 'All Posted Entries'), ('all', 'All Entries')], 'Target Moves'
  • to_date Date
    compute='_compute_date_range' readonly=False required=True store=True
Public methods (1)
  • open_taxes(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…