Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 89 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 7.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.17 MB
Module directory on disk
Code analysis 3 migration notes 4 models 1 view 0 HTTP endpoints

Description

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 1

XML IDNameModelTypeStatus
view_account_config_settings account settings.add.rounding account.config.settings Inherits account.view_account_config_settings

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (3)
  • tax_calculation_rounding Float
    default=0.05 related='company_id.tax_calculation_rounding' string='Tax Rounding unit'
  • tax_calculation_rounding_account_id Many2one
    comodel='account.account' domain=[('internal_type', '<>', 'view')] related='company_id.tax_calculation_rounding_account_id' string='Tax Rounding account'
  • tax_calculation_rounding_method Selection
    help="If you select 'Round per line' : for each tax, the tax amount will first be computed and rounded for each PO/SO/invoice line and then these rounded amounts will be summed, leading to the total amount for that tax. If you select 'Round globally': for each tax, the tax amount will be computed for each PO/SO/invoice line, then these amounts will be summed and eventually this total tax amount will be rounded. If you sell with tax included, you should choose 'Round per line' because you certainly want the sum of your tax-included line subtotals to be equal to the total amount with taxes." related='company_id.tax_calculation_rounding_method' selection=[('round_per_line', 'Round per line'), ('round_globally', 'Round globally'), ('swedish_round_globally', 'Swedish Round globally'), ('swedish_add_invoice_line', 'Swedish Round by adding an invoice line')] string='Tax calculation rounding method'
Public methods (1)
  • onchange_company_id(self)
    @api.onchange('company_id')

New fields (4)
  • amount_tax Float
    compute=_compute_amount digits=dp.get_precision('Account') store=True string='Tax'
  • amount_total Float
    compute=_compute_amount digits=dp.get_precision('Account') store=True string='Total'
  • amount_untaxed Float
    compute=_compute_amount digits=dp.get_precision('Account') store=True string='Subtotal' track_visibility='always'
  • global_round_line_id Many2one → account.invoice.line
    compute=_get_rounding_invoice_line_id readonly=True string='Invoice Line for total rounding' args: 'account.invoice.line'
Public methods (0)

No public methods.

New fields (1)
  • is_rounding Boolean
    args: 'Rounding Line'
Public methods (0)

No public methods.

New fields (3)
  • tax_calculation_rounding Float
    args: 'Tax Rounding unit'
  • tax_calculation_rounding_account_id Many2one → account.account
    domain=[('internal_type', '<>', 'view')] args: 'account.account', 'Tax Rounding Account'
  • tax_calculation_rounding_method Selection
    help="If you select 'Round per line' : for each tax, the tax amount will first be computed and rounded for each PO/SO/invoice line and then these rounded amounts will be summed, leading to the total amount for that tax. If you select 'Round globally': for each tax, the tax amount will be computed for each PO/SO/invoice line, then these amounts will be summed and eventually this total tax amount will be rounded. If you sell with tax included, you should choose 'Round per line' because you certainly want the sum of your tax-included line subtotals to be equal to the total amount with taxes." string='Tax Calculation Rounding Method' args: [('round_per_line', 'Round per Line'), ('round_globally', 'Round Globally'), ('swedish_round_globally', 'Swedish Round globally'), ('swedish_add_invoice_line', 'Swedish Round by adding a line')]
Public methods (0)

No public methods.

Loading…

Loading…

Loading…