TIP: You can type at any time to perform a new search.
Perceptions for ARGENTINA (Percepciones) - Basic Module
l10n_ar_perceptions_basic · OCA/l10n-argentina
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.addons` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
perception_perception— Class 'perception_perception' still inherits from the old-style `osv.osv` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceperception_perception— Class 'perception_perception' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceperception_perception— Class 'perception_perception' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_perception_perception_form— For a target of Odoo 17.0+: view 'view_perception_perception_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceview_perception_perception_tree— View 'view_perception_perception_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · sourceview_perception_tax_line_tree— View 'view_perception_tax_line_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/l10n-argentina · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Localisation Modules
- Folder size
- 0.06 MB
- License
- GPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://e-mips.com.ar
- Last tracking update
- 2026-08-07 07:17:53
- Authors
- Odoo Community Association (OCA), E-MIPS
- Maintainers
- Odoo Community Association (OCA), E-MIPS
- Committers
- Pedro M. Baeza, Stéphane Bidoul (ACSONE)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_ar_tax_reports, l10n_ar_wsfe_perceptions
- Description
This module provide : 1) Implementation of Perceptions Taxes for Argentina based on tax objects of OpenERP like account.invoice, account.tax and account.tax.code.
Code Analysis
Views touched (7)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_invoice_perception_form |
account.invoice.perception.form.inherit | account.invoice | form | Inherits account.invoice_form |
view_invoice_supplier_perception_form |
account.invoice.perception.form.inherit | account.invoice | form | Inherits account.invoice_supplier_form |
view_perception_perception_form |
perception.perception.form | perception.perception | form | New |
view_perception_perception_tree |
perception.perception.tree | perception.perception | tree | New |
view_perception_tax_line_form |
perception.tax.line.form | perception.tax.line | form | New |
view_perception_tax_line_search |
perception.tax.line.search | perception.tax.line | search | New |
view_perception_tax_line_tree |
perception.tax.line.tree | perception.tax.line | tree | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (1)
-
perception_idsOne2many → perception.tax.linereadonly=Truestates={'draft': [('readonly', False)]}string='Perception' args: 'perception.tax.line', 'invoice_id'
-
finalize_invoice_move_lines(self, move_lines)@api.multifinalize_invoice_move_lines(invoice, move_lines) -> move_lines Hook method to be overridden in additional modules to verify and possibly alter the move lines to be created by an invoice, for special cases. :param self: browsable record of the invoice that is generating the move lines :param move_lines: list of dictionaries with the account.move.lines (as for create()) :return: the (possibly updated) final move_lines to create for this invoice
New fields (0)
No new fields.
Public methods (1)-
hook_compute_invoice_taxes(self, invoice, tax_grouped)@api.v8
New fields (16)
-
account_idMany2one → account.accountdomain=[('type', '<>', 'view'), ('type', '<>', 'income'), ('type', '<>', 'closed')]required=True args: 'account.account', 'Tax Account' -
ait_idMany2one → account.invoice.taxondelete='cascade' args: 'account.invoice.tax', 'Invoice Tax' -
amountFloatdigits_compute=dp.get_precision('Account') args: 'Amount' -
baseFloatdigits_compute=dp.get_precision('Account') args: 'Base' -
base_amountFloatdigits_compute=dp.get_precision('Account') args: 'Base Code Amount' -
base_code_idMany2one → account.tax.codehelp='The account basis of the tax declaration.' args: 'account.tax.code', 'Base Code' -
company_idMany2onereadonly=Truerelated='account_id.company_id'store=Truestring='Company' -
dateDateselect=True args: 'Date' -
invoice_idMany2one → account.invoiceondelete='cascade' args: 'account.invoice', 'Invoice' -
nameCharrequired=Truesize=64 args: 'Perception' -
partner_idMany2onereadonly=Truerelated='invoice_id.partner_id'string='Partner' -
perception_idMany2one → perception.perceptionhelp='Perception configuration used for this perception tax, where all the configuration resides. Accounts, Tax Codes, etc.'required=True args: 'perception.perception', 'Perception Configuration' -
state_idMany2one → res.country.statestring='State/Province' args: 'res.country.state' -
tax_amountFloatdigits_compute=dp.get_precision('Account') args: 'Tax Code Amount' -
tax_code_idMany2one → account.tax.codehelp='The tax basis of the tax declaration.' args: 'account.tax.code', 'Tax Code' -
vatCharreadonly=Truerelated='invoice_id.partner_id.vat'string='CIF/NIF'
-
onchange_perception(self)@api.onchange('perception_id')
Loading…
Loading…
Loading…