| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-chile |
| GIT | |
| GIT | https://github.com/OCA/l10n-chile.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-chile/tree/12.0/l10n_cl_sii_folio |
| VERSION | |
| VERSION | 1.2.0 |
| CATEGORY | |
| CATEGORY | Localization/Chile |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | Yes |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Open Source Integrators, Konos, Blanco Martín & Asociados, Daniel Santibáñez Polanco, Cooperativa OdooCoop, Daniel Blanco |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Open Source Integrators, Konos, Blanco Martín & Asociados, Daniel Santibáñez Polanco, Cooperativa OdooCoop, Daniel Blanco |
| COMMITTERS | |
| COMMITTERS | Maxime Chambreuil, GitHub, Daniel Reis, OCA Transbot, Daniel Blanco, oca-travis, OCA-git-bot |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/l10n-chile |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:29:26 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/l10n-chile: - l10n_cl_sii_reference_account - l10n_cl_sii_reference - l10n_cl_sii odoo/odoo: - account - base_setup - base - web - product - decimal_precision - bus - web_tour - uom - analytic - portal - http_routing - digest |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
xmltodict |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_journal_form |
account.journal.form | account.journal | notebook | Inherits account.view_account_journal_form |
view_dte_caf_tree |
CAF | ir.sequence.folio | tree | New |
view_ir_sequence_folio_form |
ir.sequence.folio.form | ir.sequence.folio | form | New |
view_journal_sii_document_class_form |
Journal SII Documents Form | account.journal.document | form | New |
view_sequence_folio_form |
ir.sequence.folio.form | ir.sequence | field | Inherits base.sequence_view |
journal_document_class_ids
One2many → account.journal.document
string='Documents'
args: 'account.journal.document', 'journal_id'
No public methods.
class_id
Many2one → sii.document.class
required=True
string='Document Class'
args: 'sii.document.class'
journal_id
Many2one → account.journal
required=True
string='Journal'
args: 'account.journal'
name
Char
compute='_compute_name'
store=True
sequence
Integer
string='Sequence'
sequence_id
Many2one → ir.sequence
help='This field contains the information related to the numbering\n of the documents entries of this document type.'
string='Entry Sequence'
args: 'ir.sequence'
check_class(self)
No new fields.
Public methods (1)post(self, invoice=False)
class_id
Many2one → sii.document.class
string='Document Type'
args: 'sii.document.class'
folio_ids
One2many → ir.sequence.folio
string='DTE Caf'
args: 'ir.sequence.folio', 'sequence_id'
forced_by_caf
Boolean
default=True
string='Forced By CAF'
is_dte
Boolean
related='class_id.dte'
string='Is DTE?'
qty_available
Integer
compute='_compute_qty_available'
string='Quantity Available'
get_caf_file(self, folio=False)
get_caf_files(self, folio=None)
get_qty_available(self, folio=None)
time_stamp(self, formato='%Y-%m-%dT%H:%M:%S')
update_next_by_caf(self, folio=None)
caf_file
Binary
filters='*.xml'
help='Upload the CAF XML File in this holder'
required=True
string='CAF XML File'
company_id
Many2one → res.company
default=<expr>
required=False
string='Company'
args: 'res.company'
expiration_date
Date
compute='_compute_data'
store=True
string='Expiration Date'
filename
Char
string='File Name'
final_nm
Integer
compute='_compute_data'
help='CAF Ends to this number'
store=True
string='End Number'
issued_date
Date
compute='_compute_data'
store=True
string='Issued Date'
name
Char
compute='_compute_filename'
readonly=True
string='Name'
nivel_minimo
Integer
default=5
string='Nivel Mínimo de Folios'
rut_n
Char
compute='_compute_data'
store=True
string='VAT'
sequence_id
Many2one → ir.sequence
string='Sequence'
args: 'ir.sequence'
sii_document_class
Integer
compute='_compute_data'
store=True
string='SII Document Class'
start_nm
Integer
compute='_compute_data'
help='CAF Starts from this number'
store=True
string='Start Number'
status
Selection
default='draft'
help='Draft: means it has not been used yet. You must put it in used\n in order to make it available for use.\n Spent: means that the number interval has been exhausted.'
string='Status'
args: [('draft', 'Draft'), ('in_use', 'In Use'), ('spent', 'Spent')]
use_level
Float
compute='_compute_used_level'
string='Use Level'
check_nivel(self, folio)
decode_caf(self)
load_caf(self, flags=False)