Generación de fichero modelo 340 y libro de IVA
l10n_es_aeat_mod340 · OCA/l10n-spain
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by20/252 modules depend on it
-
Maturity18/25In 3 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
AccountInvoice— Class 'AccountInvoice' still inherits from the old-style `orm.Model` 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 · sourceAccountInvoice— Class 'AccountInvoice' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceAccountInvoice— 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 · sourceAccountTaxCodeTemplate— Class 'AccountTaxCodeTemplate' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (5 occurrences in this file) migration-old-api-base · sourceAccountTaxCodeTemplate— Class 'AccountTaxCodeTemplate' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (5 occurrences in this file) migration-old-style-fields · sourceL10nEsAeatMod340ExportToBoe— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (4 methods) migration-api-multi-one · sourceL10nEsAeatMod340Report— Class 'L10nEsAeatMod340Report' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (7 occurrences in this file) migration-old-api-base · sourceL10nEsAeatMod340Report— Class 'L10nEsAeatMod340Report' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (6 occurrences in this file) migration-old-style-fields · sourceL10nEsAeatMod340TaxSummary— 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 · sourceResPartner— Class 'ResPartner' still inherits from the old-style `orm.Model` 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 · sourceResPartner— Class 'ResPartner' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourceview_customer_account_invoice_ticket_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_l10n_es_aeat_mod340_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (4 occurrences in this file) migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 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
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 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
- Migrating to 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
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Migrating to 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
Dependencies
- Odoo dependencies
- Python dependencies
- unidecode
- System dependencies
- None
- Required by
- l10n_es_aeat_mod340_cash_basis, l10n_es_aeat_mod340_type0
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 19
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
invoice_supplier_mod340_form |
account.invoice.supplier.mod340.form | account.invoice | form | Inherits account.invoice_supplier_form |
view_account_account_form_mod340 |
account.account.form.mod340 | account.account | form | Inherits account.view_account_form |
view_account_tax_form_mod340 |
account.tax.form.mod340 | account.tax | form | Inherits account.view_tax_form |
view_customer_account_invoice_ticket_form |
Account invoice - Ticket summary | account.invoice | form | Inherits account.invoice_form |
view_l10n_es_aeat_mod340_form |
l10n_es.aeat.mod340.form | l10n.es.aeat.mod340.report | form | Inherits l10n_es_aeat.view_l10n_es_aeat_report_form |
view_l10n_es_aeat_mod340_invoice_issued_form |
l10n.es.aeat.mod340.issued.form | l10n.es.aeat.mod340.issued | form | New |
view_l10n_es_aeat_mod340_invoice_issued_search |
l10n.es.aeat.mod340.issued | search | New | |
view_l10n_es_aeat_mod340_invoice_issued_tree |
l10n.es.aeat.mod340.issued.tree | l10n.es.aeat.mod340.issued | tree | New |
view_l10n_es_aeat_mod340_invoice_received_form |
l10n.es.aeat.mod340.received.form | l10n.es.aeat.mod340.received | form | New |
view_l10n_es_aeat_mod340_invoice_received_search |
l10n.es.aeat.mod340.received | search | New | |
view_l10n_es_aeat_mod340_invoice_received_tree |
l10n.es.aeat.mod340.received.tree | l10n.es.aeat.mod340.received | tree | New |
view_l10n_es_aeat_mod340_report_search |
AEAT Model 340 (search) | l10n.es.aeat.mod340.report | search | New |
view_l10n_es_aeat_mod340_tax_line_issued_form |
l10n.es.aeat.mod340.tax_line_issued.form | l10n.es.aeat.mod340.tax_line_issued | form | New |
view_l10n_es_aeat_mod340_tax_line_received_form |
l10n.es.aeat.mod340.tax_line_received.form | l10n.es.aeat.mod340.tax_line_received | form | New |
view_l10n_es_aeat_mod340_tax_summary_tree |
l10n.es.aeat.mod340.tax_summary.tree | l10n.es.aeat.mod340.tax_summary | tree | New |
view_l10n_es_aeat_mod340_tree |
l10n.es.aeat.mod340.tree | l10n.es.aeat.mod340.report | tree | New |
view_tax_code_form_mod340 |
account.tax.code.form.mod340 | account.tax.code | form | Inherits account.view_tax_code_form |
view_tax_code_template_form_mod340 |
account.tax.code.template.form.mod340 | account.tax.code.template | form | Inherits account.view_tax_code_template_form |
view_tax_template_form_mod340 |
account.tax.template.form.mod340 | account.tax.template | form | Inherits account.view_account_tax_template_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 18
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (2)-
is_leasing_invoice(self)@api.one -
is_reverse_charge_invoice(self)@api.one
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)-
proximo(self, final, numeros)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (3)-
button_calculate(self, cr, uid, ids, args, context=None) -
button_recalculate(self, cr, uid, ids, context=None) -
create(self, vals)@api.model
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)-
show_records(self)@api.multi
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
Loading…
Loading…