TIP: You can type at any time to perform a new search.
Unit rounded invoice
account_invoice_rounding · OCA/account-invoicing
- Repository
- OCA/account-invoicing · module folder · Try on Runboat
- Module version
- 1.0.2
- Category
- Accounting
- Folder size
- 0.17 MB
- License
- AGPL-3
- Application
- Yes
- Auto-installable
- No
- Website
- http://www.camptocamp.com/
- Last tracking update
- 2026-08-07 07:17:41
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp
- Committers
- eLBati, Lorenzo Battistini, Pedro M. Baeza, GitHub, Akim Juillerat, Stéphane Bidoul (ACSONE), tafaRU, Weblate, OCA Transbot, OCA-git-bot, oca-travis
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_roundingFloatdefault=0.05related='company_id.tax_calculation_rounding'string='Tax Rounding unit' -
tax_calculation_rounding_account_idMany2onecomodel='account.account'domain=[('internal_type', '<>', 'view')]related='company_id.tax_calculation_rounding_account_id'string='Tax Rounding account' -
tax_calculation_rounding_methodSelectionhelp="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'
-
onchange_company_id(self)@api.onchange('company_id')
New fields (4)
-
amount_taxFloatcompute=_compute_amountdigits=dp.get_precision('Account')store=Truestring='Tax' -
amount_totalFloatcompute=_compute_amountdigits=dp.get_precision('Account')store=Truestring='Total' -
amount_untaxedFloatcompute=_compute_amountdigits=dp.get_precision('Account')store=Truestring='Subtotal'track_visibility='always' -
global_round_line_idMany2one → account.invoice.linecompute=_get_rounding_invoice_line_idreadonly=Truestring='Invoice Line for total rounding' args: 'account.invoice.line'
No public methods.
New fields (1)
-
is_roundingBooleanargs: 'Rounding Line'
No public methods.
New fields (3)
-
tax_calculation_roundingFloatargs: 'Tax Rounding unit' -
tax_calculation_rounding_account_idMany2one → account.accountdomain=[('internal_type', '<>', 'view')] args: 'account.account', 'Tax Rounding Account' -
tax_calculation_rounding_methodSelectionhelp="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')]
No public methods.
Loading…
Loading…
Loading…