Repository
OCA/l10n-spain · module folder · Try on Runboat
Module version
1.0.2
Category
Accounting
Folder size
0.1 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-spain
Last tracking update
2026-08-07 07:31:48
Authors
Spanish Localization Team, Odoo Community Association (OCA), Tecnativa, NaN·Tic, Trey
Maintainers
Spanish Localization Team, Odoo Community Association (OCA), Tecnativa, NaN·Tic, Trey
Committers
Pedro M. Baeza, OCA Transbot, OCA-git-bot, oca-travis
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
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_number Char
    copy=False
  • number Char
    copy=False related=False size=32
Public methods (3)
  • 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.multi
    Allow to remove invoices.

New fields (2)
  • invoice_sequence_id Many2one → ir.sequence
    comodel_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_id Many2one → ir.sequence
    comodel_name='ir.sequence' domain="[('company_id', '=', company_id)]" help='The sequence used for refund invoices numbers in this journal.' ondelete='restrict' string='Refund sequence'
Public methods (3)
  • create(self, vals)
    @api.model
    Use 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…