Account invoice sequence fix
l10n_es_account_invoice_sequence_fix · OCA/l10n-spain
-
Security25/25No findings
-
Activity0/25Last human commit 140 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 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
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_invoice SET invoice_number=%s WHERE id=%s` - re-check the table/column names still match after upgrading. migration-raw-sql-write · 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 should be used by anyone who has initiated an OpenERP with spanish localization modules did not install the module "nan_account_invoice_sequence", and has already accepted several invoices. In this circumstance, once the module "nan_account_invoice_sequence" is installed the invoices already created will loose the invoice number, because it was the move number and the nan module adds a separate field to store the invoice number.
What this module will do i wizard will do is select all invoices with moves and copy the move number to the new invoice number field. This wizard should be run just after module "nan_account_invoice_sequence" has been installed, and no new invoices have been produced in the system. It is highly recommended that once the wizard has been run, the module should be removed, so as to avoid any furter use that might overwrite the existing invoice numbers.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 0
No models found for this module.