TIP: You can type at any time to perform a new search.

Security findings

Repository
odoo/odoo · module folder
Module version
0.1.0
Category
Accounting/Localizations/EDI
Folder size
0.17 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://www.odoo.com/documentation/latest/applications/finance/fiscal_localizations/vietnam.html
Last tracking update
2026-09-28 18:31:20
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Odoo Translation Bot, Christophe Matthieu, Victor Feyens, Tiffany Chang (tic), Miquel Raïch, Roy Le, Dylan Kiss (dyki), Harsh Modi, Nicolas Viseur (vin), Vincent Sevestre, Krzysztof Magusiak (krma), hisi-odoo, Laurent Smet (LAS), Julien Launois (jula), h4818, Nisarg (nipl), daiduongnguyen-odoo, jand-odoo
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_vn_edi_viettel_pos, l10n_vn_edi_viettel_stock
Description
Vietnam - E-invoicing
=====================
Using SInvoice by Viettel
    

Code Analysis info_outline

Views touched (9)
XML IDNameModelTypeStatus
account_journal_form_inherit_l10n_vn_edi_viettel account.journal.form.inherit.l10n_vn_edi_viettel account.journal form Inherits account.view_account_journal_form
res_config_settings_view_form_inherit_l10n_vn_edi res.config.settings.form.inherit.l10n_vn_edi res.config.settings form Inherits account.res_config_settings_view_form
view_account_invoice_filter_inherit_l10n_vn_edi account.invoice.select.inherit.l10n_vn_edi account.move Inherits account.view_account_invoice_filter
view_account_move_reversal_inherit_l10n_vn_edi account.move.reversal.form.inherit.l10n_vn_edi account.move.reversal form Inherits account.view_account_move_reversal
view_invoice_form_inherit_l10n_vn_edi account.move.form.inherit.l10n_vn_edi account.move form Inherits account.view_move_form
view_invoice_tree_inherit_l10n_vn_edi account.invoice.list.inherit.l10n_vn_edi account.move list Inherits account.view_invoice_tree
view_l10n_vn_edi_viettel_sinvoice_symbol_form l10n_vn_edi_viettel.sinvoice.symbol.form l10n_vn_edi_viettel.sinvoice.symbol form New
view_l10n_vn_edi_viettel_sinvoice_symbol_list l10n_vn_edi_viettel.sinvoice.symbol.list l10n_vn_edi_viettel.sinvoice.symbol list New
view_l10n_vn_edi_viettel_sinvoice_symbol_search l10n_vn_edi_viettel.sinvoice.symbol.search l10n_vn_edi_viettel.sinvoice.symbol search New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (8)

New fields (1)
  • l10n_vn_edi_default_symbol_id Many2one → l10n_vn_edi_viettel.sinvoice.symbol
    comodel_name='l10n_vn_edi_viettel.sinvoice.symbol' help='Used for only this Journal. Leave it blank to use global default symbol.' string='Default E-invoice Symbol'
Public methods (0)

No public methods.

New fields (17)
  • l10n_vn_edi_adjustment_type Selection
    copy=False selection=[('1', 'Money adjustment'), ('2', 'Information adjustment')] string='Adjustment type'
  • l10n_vn_edi_agreement_document_date Datetime
    copy=False string='Agreement Date'
  • l10n_vn_edi_agreement_document_name Char
    copy=False string='Agreement Name'
  • l10n_vn_edi_invoice_number Char
    copy=False help='Invoice Number as appearing on SInvoice.' readonly=True string='SInvoice Number'
  • l10n_vn_edi_invoice_state Selection
    compute='_compute_l10n_vn_edi_invoice_state' copy=False readonly=True selection=[('ready_to_send', 'Ready to send'), ('sent', 'Sent'), ('payment_state_to_update', 'Payment status to update'), ('adjusted', 'Adjusted'), ('replaced', 'Replaced')] store=True string='SInvoice Status'
  • l10n_vn_edi_invoice_symbol Many2one → l10n_vn_edi_viettel.sinvoice.symbol
    comodel_name='l10n_vn_edi_viettel.sinvoice.symbol' compute='_compute_l10n_vn_edi_invoice_symbol' readonly=False store=True string='SInvoice Symbol'
  • l10n_vn_edi_invoice_transaction_id Char
    copy=False export_string_translation=False help='Technical field to store the transaction ID if needed' string='SInvoice Transaction ID'
  • l10n_vn_edi_issue_date Datetime
    copy=False help='Date of issue of the invoice on the e-invoicing system.' readonly=True string='Issue Date'
  • l10n_vn_edi_replacement_origin_id Many2one → account.move
    check_company=True comodel_name='account.move' copy=False export_string_translation=False readonly=True string='Replacement of'
  • l10n_vn_edi_reservation_code Char
    copy=False help='Secret code that can be used by a customer to lookup an invoice on SInvoice.' readonly=True string='Secret Code'
  • l10n_vn_edi_reversed_entry_invoice_number Char
    export_string_translation=False related='reversed_entry_id.l10n_vn_edi_invoice_number' string='Revered Entry SInvoice Number'
  • l10n_vn_edi_sinvoice_file Binary
    copy=False export_string_translation=False readonly=True string='SInvoice json File'
  • l10n_vn_edi_sinvoice_file_id Many2one → ir.attachment
    comodel_name='ir.attachment' compute=<expr> copy=False depends=['l10n_vn_edi_sinvoice_file'] export_string_translation=False readonly=True
  • l10n_vn_edi_sinvoice_pdf_file Binary
    copy=False export_string_translation=False readonly=True string='SInvoice pdf File'
  • l10n_vn_edi_sinvoice_pdf_file_id Many2one → ir.attachment
    comodel_name='ir.attachment' compute=<expr> copy=False depends=['l10n_vn_edi_sinvoice_pdf_file'] export_string_translation=False readonly=True
  • l10n_vn_edi_sinvoice_xml_file Binary
    copy=False export_string_translation=False readonly=True string='SInvoice xml File'
  • l10n_vn_edi_sinvoice_xml_file_id Many2one → ir.attachment
    comodel_name='ir.attachment' compute=<expr> copy=False depends=['l10n_vn_edi_sinvoice_xml_file'] export_string_translation=False readonly=True
Public methods (2)
  • action_l10n_vn_edi_update_payment_status(self)
    Send a request to update the payment status of the invoice.
  • l10n_vn_edi_fetch_files_with_tax_code(self)
    Fetch the tax code assigned by sinvoice for this invoice.

New fields (3)
  • l10n_vn_edi_adjustment_type Selection
    default='1' required=True selection=[('1', 'Money adjustment'), ('2', 'Information adjustment')] string='Adjustment type'
  • l10n_vn_edi_agreement_document_date Datetime
    string='Agreement Date'
  • l10n_vn_edi_agreement_document_name Char
    string='Agreement Name'
Public methods (1)
  • reverse_moves(self, is_modify=False)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    default=<expr> readonly=True required=True string='Company' args: 'res.company'
  • invoice_template_code Char
    readonly=True required=True string='Template Code'
  • name Char
    readonly=True required=True string='Symbol'
Public methods (1)
  • action_fetch_symbols(self)
    Fetch symbols from the API and populate the list.

New fields (5)
  • l10n_vn_edi_password Char
    groups='base.group_system' string='SInvoice Password'
  • l10n_vn_edi_symbol_id Many2one → l10n_vn_edi_viettel.sinvoice.symbol
    comodel_name='l10n_vn_edi_viettel.sinvoice.symbol' help='If set, this symbol will be used as the default symbol for all invoices of this company.' string='Default Symbol'
  • l10n_vn_edi_token Char
    groups='base.group_system' readonly=True string='SInvoice Access Token'
  • l10n_vn_edi_token_expiry Datetime
    groups='base.group_system' readonly=True string='SInvoice Access Token Expiration Date'
  • l10n_vn_edi_username Char
    groups='base.group_system' string='SInvoice Username'
Public methods (0)

No public methods.

New fields (3)
  • l10n_vn_edi_default_symbol_id Many2one
    domain="[('company_id', '=', company_id)]" groups='base.group_system' help='This is the symbol that will be used on invoices by default.' readonly=False related='company_id.l10n_vn_edi_symbol_id' string='Default Symbol'
  • l10n_vn_edi_password Char
    readonly=False related='company_id.l10n_vn_edi_password'
  • l10n_vn_edi_username Char
    readonly=False related='company_id.l10n_vn_edi_username'
Public methods (1)
  • action_fetch_symbols(self)

New fields (1)
  • invoice_edi_format Selection
    selection_add=[('vn_sinvoice', 'Vietnam (SInvoice)')]
Public methods (0)

No public methods.

Loading…

Loading…

Loading…