Repository
OCA/l10n-venezuela · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting/Localizations
Folder size
0.07 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-venezuela
Last tracking update
2026-09-04 23:27:44
Authors
Odoo Community Association (OCA), BWEALTHICS LLC
Maintainers
Odoo Community Association (OCA), BWEALTHICS LLC
Committers
OCA-git-bot, oca-ci, Alejandro Fernandez
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_ve_einvoice
Description
This addon stores the fiscal control number, its assignment date, and the
emission medium used for Venezuelan customer documents.

The emission medium is copied from the sales journal when a document is posted,
so later journal configuration changes do not alter its fiscal history. Posted
customer fiscal identification is immutable; supplier document data remains
correctable.

Existing posted or cancelled customer documents are also locked at installation,
without attempting to infer missing historical fiscal data.

The addon does not allocate control numbers, manage paper batches, print fiscal
documents, or communicate with fiscal machines or digital printers.

The legal basis covered by this addon is:

- [Providencia Administrativa SNAT/2011/00071](https://tributos.ivecofi.net/informacion/legislacion/providencias/pa-2011-71), published in Official Gazette No. 39,795 of November 8, 2011, which regulates fiscal-document emission media and control numbers.
- [Providencia Administrativa SNAT/2024/000102](http://www.gacetaoficial.gob.ve/storage/2024/T028700051511-0-GO_43.032-000.pdf), published by Venezuela's Imprenta Nacional in Official Gazette No. 43,032 of December 19, 2024, especially articles 7.4 and 7.15 on digitally assigned control numbers and assignment dates.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
account_journal_view_form account.journal.form.l10n.ve.fiscal.document account.journal form Inherits account.view_account_journal_form
account_move_view_form account.move.form.l10n.ve.fiscal.document account.move form Inherits account.view_move_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • l10n_ve_emission_medium Selection
    copy=False help='Medium used to issue Venezuelan customer fiscal documents.' selection=EMISSION_MEDIUM_SELECTION string='Emission Medium'
Public methods (0)

No public methods.

New fields (4)
  • l10n_ve_control_date Date
    copy=False help='Date on which the fiscal control number was assigned.' string='Control Number Date' tracking=True
  • l10n_ve_control_number Char
    copy=False help='Fiscal control number assigned to the document.' index='btree_not_null' string='Control Number' tracking=True
  • l10n_ve_emission_medium Selection
    copy=False help='Emission medium copied from the journal when the document is posted.' readonly=True selection=EMISSION_MEDIUM_SELECTION string='Emission Medium'
  • l10n_ve_fiscal_data_locked Boolean
    copy=False help='Technical field that preserves fiscal data immutability after posting.' readonly=True string='Fiscal Data Locked'
Public methods (4)
  • button_draft(self)
  • create(self, vals_list)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)