Repository
OCA/account-invoicing · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting
Folder size
0.03 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.agilebg.com/
Last tracking update
2026-08-07 07:03:02
Authors
Odoo Community Association (OCA), Agile Business Group
Maintainers
Odoo Community Association (OCA), Agile Business Group
Committers
eLBati, OCA-git-bot
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_account_config_settings_currency account settings.add.rounding.currency account.config.settings Inherits account_invoice_rounding.view_account_config_settings
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (2)
  • company_id Many2one → res.company
    default=_default_company required=True args: 'res.company', 'Company'
  • currency_rounding_rules One2many
    related='company_id.currency_rounding_rules' string='Rounding Rule'
Public methods (1)
  • onchange_company_id(self, cr, uid, ids, company_id, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (5)
  • company_id Many2one → res.company
    required=True args: 'res.company', 'Company'
  • currency_id Many2one → res.currency
    required=True args: 'res.currency', 'Currency'
  • tax_calculation_rounding Float
    args: 'Tax Rounding Precision'
  • tax_calculation_rounding_account_id Many2one → account.account
    domain=[('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 up, 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 up 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: [('swedish_round_globally', 'Swedish Round globally'), ('swedish_add_invoice_line', 'Swedish Round by adding a line')]
Public methods (0)

No public methods.

New fields (1)
  • currency_rounding_rules One2many → company.rounding
    args: 'company.rounding', 'company_id', 'Rounding Rule'
Public methods (0)

No public methods.