Secuencia para facturas separada de la secuencia de asientos
l10n_es_account_invoice_sequence · OCA/l10n-spain
Merged into l10n_es in 13.0
Replaces
nan_account_invoice_sequence (7.0) Health
55/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 80 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis
4 migration notes
4 models
1 view
0 HTTP endpoints
Migration considerations
AccountChartTemplate— 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 · 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 · sourceAccountJournal— 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_account_journal_form_group_products— 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
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_journal_form_group_products |
account.journal.form.group_products | account.journal | form | Inherits account.view_account_journal_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (0)
No new fields.
Public methods (1)-
is_spanish_chart(self)@api.multi@tools.ormcache('self')
New fields (2)
-
invoice_numberCharcopy=False -
numberCharcopy=Falserelated=Falsesize=32
-
action_move_create(self)@api.multi -
invoice_validate(self)Include the invoice reference on the created journal item. This is done for displaying the number on the conciliation. It needs to be done here after a patch on core. -
unlink(self)@api.multiAllow to remove invoices.
New fields (2)
-
invoice_sequence_idMany2one → ir.sequencecomodel_name='ir.sequence'domain="[('company_id', '=', company_id)]"help='The sequence used for invoice numbers in this journal.'ondelete='restrict'string='Invoice sequence' -
refund_inv_sequence_idMany2one → ir.sequencecomodel_name='ir.sequence'domain="[('company_id', '=', company_id)]"help='The sequence used for refund invoices numbers in this journal.'ondelete='restrict'string='Refund sequence'
-
create(self, vals)@api.modelUse the existing sequence for new Spanish journals. -
default_get(self, default_fields)@api.model -
write(self, vals)Don't change automatically prefix for journal entry sequences.
New fields (0)
No new fields.
Public methods (1)-
write(self, vals)Don't change automatically prefix for journal entry sequences.
Loading…
Loading…
Loading…
Loading…
Loading…