Point of Sale ARGENTINA
l10n_ar_point_of_sale · OCA/l10n-argentina
Health
67/100
fair
-
Security22/251 minor finding
-
Activity0/25Last human commit 101 months ago
-
Required by20/254 modules depend on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
4
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.1 MB
Module directory on disk
Code analysis
22 migration notes
9 models
13 views
0 HTTP endpoints
Migration considerations
account.invoice— Migrating to 13.0: `track_visibility` was replaced by `tracking`; the old kwarg is ignored. Fields: amount_untaxed. migration-track-visibilityinvoice— Migrating to 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · sourceinvoice— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (7 methods) migration-api-multi-one · sourcepos_ar— Migrating to 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · sourcepos_ar— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourcepos_ar_view_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 · sourcepurchase_line_invoice— Class 'purchase_line_invoice' still inherits from the old-style `osv.osv_memory` 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 · sourcepurchase_order— Class 'purchase_order' 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 · sourcesale_order_line_make_invoice— Class 'sale_order_line_make_invoice' still inherits from the old-style `osv.osv_memory` 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 · sourceview_pos_invoice_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. (2 occurrences in this file) migration-view-attrs-states · sourceview_tax_exempt_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 · 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
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (3 occurrences in this file) 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
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_move SET state=%s WHERE id IN %s` - re-check the table/column names still match after upgrading. migration-raw-sql-write · 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`) (3 occurrences in this file) migration-openerp-import · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_move SET ref=%s WHERE id=%s` - re-check the table/column names still match after upgrading. (3 occurrences in this file) migration-raw-sql-write · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) 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
Modulo base para normativas de facturacion Argentina
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_ar_electronic_invoice_storage_rg1361, l10n_ar_perceptions_basic, l10n_ar_wsfe, l10n_ar_wsfe_perceptions
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 13
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
inv_den_view_form |
inv.den.view.form | invoice.denomination | form | New |
inv_den_view_tree |
inv.den.view.tree | invoice.denomination | tree | New |
pos_ar_view_form |
pos.ar.view.form | pos.ar | form | New |
pos_ar_view_tree |
pos.ar.view.tree | pos.ar | tree | New |
view_pos_fiscal_position_form |
account.fiscal.position.form.inherit | account.fiscal.position | form | Inherits account.view_account_position_form |
view_pos_invoice_filter |
account.invoice.pos.filter | account.invoice | search | Inherits account.view_account_invoice_filter |
view_pos_invoice_form |
account.invoice.form.inherit2 | account.invoice | form | Inherits account.invoice_form |
view_pos_invoice_supplier_form |
account.invoice.form.inherit3 | account.invoice | form | Inherits account.invoice_supplier_form |
view_pos_invoice_tree |
account.invoice.tree.inherit2 | account.invoice | tree | Inherits account.invoice_tree |
view_shop_form1 |
sale.view.shop.form.inherit1 | sale.shop | form | Inherits sale.view_shop_form |
view_tax_exempt_form |
account.tax.exempt.form | account.tax | form | Inherits account.view_tax_form |
view_tax_exempt_search |
account.tax.exempt.search | account.tax | search | Inherits account.view_account_tax_search |
view_tax_exempt_tree |
account.tax.exempt.tree | account.tax | tree | Inherits account.view_tax_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 9
New fields (3)
-
denom_supplier_idMany2one → invoice.denominationrequired=Truestring='Supplier Denomination' args: 'invoice.denomination' -
denomination_idMany2one → invoice.denominationrequired=Truestring='Denomination' args: 'invoice.denomination' -
localBooleandefault=Truehelp='Check this if it corresponds to apply local fiscal rules, like invoice number validation, etc'string='Local Fiscal Rules'
No public methods.
New fields (12)
-
amount_exemptFloatcompute='_amount_all_ar'digits=dp.get_precision('Account')readonly=Truestore=Truestring='Amount Exempt' -
amount_no_taxedFloatcompute='_amount_all_ar'digits=dp.get_precision('Account')readonly=Truestore=Truestring='No Taxed' -
amount_taxFloatcompute='_amount_all_ar'digits=dp.get_precision('Account')readonly=Truestore=Truestring='Tax' -
amount_taxedFloatcompute='_amount_all_ar'digits=dp.get_precision('Account')readonly=Truestore=Truestring='Taxed' -
amount_totalFloatcompute='_amount_all_ar'digits=dp.get_precision('Account')readonly=Truestore=Truestring='Total' -
amount_untaxedFloatcompute='_compute_amount'digits=dp.get_precision('Account')readonly=Truestore=Truestring='Subtotal'track_visibility='always' -
amount_untaxedFloatcompute='_amount_all_ar'digits=dp.get_precision('Account')readonly=Truestore=Truestring='Subtotal' -
denomination_idMany2one → invoice.denominationreadonly=Truestates={'draft': [('readonly', False)]} args: 'invoice.denomination' -
internal_numberCharhelp='Unique number of the invoice, computed automatically when the invoice is created.'readonly=Truesize=32states={'draft': [('readonly', False)]}string='Invoice Number' -
is_debit_noteBooleandefault=False args: 'Debit Note' -
localBooleandefault=Truerelated='fiscal_position.local'string='Local' -
pos_ar_idMany2one → pos.arreadonly=Truestates={'draft': [('readonly', False)]}string='Point of Sale' args: 'pos.ar'
-
action_number(self)@api.multi -
get_next_invoice_number(self)@api.oneFuncion para obtener el siguiente numero de comprobante correspondiente en el sistema -
invoice_pay_customer(self, cr, uid, ids, context=None) -
name_get(self)@api.multi -
name_search(self, name, args=None, operator='ilike', limit=100)@api.model -
onchange_partner_id(self, type, partner_id, date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False)@api.multi -
refund(self, cr, uid, ids, date=None, period_id=None, description=None, journal_id=None, context=None)
New fields (2)
-
is_exemptBooleanreadonly=Truestring='Is Exempt' -
tax_idMany2one → account.taxrequired=Truestring='Account Tax' args: 'account.tax'
-
compute(self, invoice)@api.v8 -
hook_compute_invoice_taxes(self, invoice, tax_grouped)@api.v8 -
tax_id_change(self)@api.onchange('tax_id')
New fields (0)
No new fields.
Public methods (1)-
post(self, cr, uid, ids, context=None)
New fields (3)
-
is_exemptBooleandefault=Falsehelp='Check this if this Tax represent Tax Exempts'string='Exempt' -
other_groupCharsize=64string='Other Group' -
tax_groupSelectiondefault='vat'help='This is tax categorization.'required=Truestring='Tax Group' args: [('vat', 'VAT'), ('perception', 'Perception'), ('retention', 'Retention'), ('internal', 'Internal Tax'), ('other', 'Other')]
No public methods.
New fields (3)
-
descCharrequired=Truesize=100string='Description' -
nameSelectionstring='Denomination' args: [('A', 'A'), ('B', 'B'), ('C', 'C'), ('M', 'M'), ('X', 'X'), ('E', 'E')] -
vat_discriminatedBooleandefault=Falsehelp='If True, the vat will be discriminated at invoice report.'string='Vat Discriminated in Invoices'
No public methods.
New fields (5)
-
denomination_idMany2one → invoice.denominationrequired=Truestring='Denomination' args: 'invoice.denomination' -
descCharrequired=Falsesize=100string='Description' -
nameCharrequired=Truesize=6string='Number' -
priorityIntegerrequired=Truesize=6string='Priority' -
shop_idMany2one → stock.warehouserequired=Truestring='Warehouse' args: 'stock.warehouse'
-
name_get(self)@api.multi
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…