Retentions for ARGENTINA (Retenciones)
l10n_ar_retentions_basic · OCA/l10n-argentina
Health
65/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
GPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
5 migration notes
3 models
8 views
0 HTTP endpoints
Migration considerations
account_voucher— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceview_retention_retention_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_retention_retention_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (2 occurrences in this file) migration-view-tree-tag · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module provide :
1) Implementation of Retentions Taxes for Argentina
based on tax objects of OpenERP like account.tax and account.tax.code.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 8
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_retention_retention_filter |
retention.retention.filter | retention.retention | search | New |
view_retention_retention_form |
retention.retention.form | retention.retention | form | New |
view_retention_retention_tree |
retention.retention.tree | retention.retention | tree | New |
view_retention_tax_line_form |
retention.tax.line.form | retention.tax.line | form | New |
view_retention_tax_line_search |
retention.tax.line.search | retention.tax.line | search | New |
view_retention_tax_line_tree |
retention.tax.line.tree | retention.tax.line | tree | New |
view_vendor_payment_retention_form |
account.voucher.payment.retention.form.inherit | account.voucher | form | Inherits l10n_ar_account_check.view_voucher_check_form |
view_vendor_receipt_retention_form |
account.voucher.receipt.retention.form.inherit | account.voucher | form | Inherits l10n_ar_account_check.view_vendor_receipt_check_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (1)
-
retention_idsOne2many → retention.tax.linereadonly=Truestates={'draft': [('readonly', False)]} args: 'retention.tax.line', 'voucher_id', 'Retentions'
-
create_move_line_hook(self, move_id, move_lines)@api.multi -
onchange_issued_checks(self)@api.onchange('issued_check_ids') -
onchange_payment_line(self)@api.onchange('payment_line_ids') -
onchange_retentions(self)@api.onchange('retention_ids') -
onchange_third_checks(self)@api.onchange('third_check_ids') -
onchange_third_receipt_checks(self)@api.onchange('third_check_receipt_ids')
New fields (6)
-
jurisdiccionSelectiondefault='nacional' args: [('nacional', 'Nacional'), ('provincial', 'Provincial'), ('municipal', 'Municipal')], 'Jurisdiccion' -
nameCharrequired=Truesize=64 args: 'Retention' -
state_idMany2one → res.country.statedomain="[('country_id','=','Argentina')]" args: 'res.country.state', 'State/Province' -
tax_idMany2one → account.taxhelp='Tax configuration for this retention'required=True args: 'account.tax', 'Tax' -
typeSelectionrequired=True args: [('vat', 'VAT'), ('gross_income', 'Gross Income'), ('profit', 'Profit'), ('other', 'Other')], 'Type' -
type_tax_useSelectionreadonly=Truerelated='tax_id.type_tax_use'string='Tax Application'
No public methods.
New fields (17)
-
account_idMany2one → account.accountdomain=[('type', '<>', 'view'), ('type', '<>', 'income'), ('type', '<>', 'closed')]required=True args: 'account.account', 'Tax Account' -
amountFloatdigits=dp.get_precision('Account') args: 'Amount' -
baseFloatdigits=dp.get_precision('Account') args: 'Base' -
base_amountFloatdigits=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' -
certificate_noCharrequired=Falsesize=32 args: 'Certificate No.' -
company_idMany2onereadonly=Truerelated='account_id.company_id'store=Truestring='Company' -
dateDateselect=True args: 'Date' -
nameCharsize=64 args: 'Retention' -
partner_idMany2one → res.partnerrequired=False args: 'res.partner', 'Partner' -
retention_idMany2one → retention.retentionhelp='Retention configuration used for this retention tax, where all the configuration resides. Accounts, Tax Codes, etc.'required=True args: 'retention.retention', 'Retention Configuration' -
state_idMany2one → res.country.statestring='State/Province' args: 'res.country.state' -
tax_amountFloatdigits=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='partner_id.vat'string='CIF/NIF' -
voucher_idMany2one → account.voucherondelete='cascade' args: 'account.voucher', 'Voucher' -
voucher_numberCharsize=64 args: 'Reference'
-
create_voucher_move_line(self)@api.modelParams self = retention.tax.line -
onchange_retention(self)@api.onchange('retention_id')
Loading…
Loading…
Loading…