Skip to content
Health
47/100
poor
  • Security22/25
    1 minor finding
  • Activity0/25
    Last human commit 78 months ago
  • Required by20/25
    2 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
2
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 7 migration notes 5 models 5 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
xmltodict
System dependencies
None
Required by
l10n_cl_etd, l10n_cl_etd_xerox

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 5

XML IDNameModelTypeStatus
view_account_journal_form account.journal.form account.journal form 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 form Inherits base.sequence_view

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (1)
  • journal_document_class_ids One2many → account.journal.document
    string='Documents' args: 'account.journal.document', 'journal_id'
Public methods (0)

No public methods.

New fields (5)
  • 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'
Public methods (1)
  • check_class(self)
    @api.constrains('class_id')

New fields (0)

No new fields.

Public methods (1)
  • post(self, invoice=False)
    @api.multi

New fields (5)
  • 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'
Public methods (5)
  • 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)

New fields (14)
  • 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'
Public methods (3)
  • check_nivel(self, folio)
  • decode_caf(self)
  • load_caf(self, flags=False)
    @api.onchange('caf_file')