Unit rounded invoice by Currency

account_invoice_rounding_by_currency
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/8.0/account_invoice_rounding_by_currency
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSeLBati, OCA-git-bot
WEBSITE
WEBSITEhttp://www.agilebg.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-invoicing:
    - account_invoice_rounding
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_account_config_settings_currency account settings.add.rounding.currency account.config.settings xpath Inherits account_invoice_rounding.view_account_config_settings
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.