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.72 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-09-28 18:31:17
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Thibault Delavallée, Odoo Translation Bot, Christophe Matthieu, Aaron Bohy, Victor Feyens, Julien Mougenot, Anh Thao Pham (pta), Rémy Voet (ryv), Tiffany Chang (tic), Dylan Kiss (dyki), Antoine Boonen, Chong Wang (cwg), Harsh Modi, AMZIL Ayoub, asno-odoo, Claire (clbr), Antoine Dupuis, Smit Patel, roto-odoo, Pierre Pulinckx, MaximeNoirhomme, Krzysztof Magusiak (krma), nape-odoo, mojem, Yassien Ghoniem, Laurent Smet (LAS), Julien Launois (jula), h4818, Nisarg (nipl), Louis, Ai Lin Zuccarello (aizu), Mauricio Rubio Haro, soza-odoo, Przemysław Duryło
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_ro_edi_stock
Description
E-invoice implementation for Romania
    

Code Analysis info_outline

Views touched (8)
XML IDNameModelTypeStatus
account_move_fetch_invoices_wizard_form l10n_ro_edi.account_move_fetch_invoices.wizard.form l10n_ro_edi.account_move_fetch_invoices.wizard form New
account_move_form_inherit_l10n_ro_edi account.move.form.inherit.l10n_ro_edi account.move form Inherits account.view_move_form
in_invoice_tree_inherit_l10n_ro_edi in.invoice.list.inherit.l10n_ro_edi account.move list Inherits account.view_in_invoice_tree
l10n_ro_edi_view_account_invoice_filter account.invoice.select.inherit.l10n.ro.edi account.move Inherits account.view_account_invoice_filter
out_credit_note_tree_inherit_l10n_ro_edi out.credit.note.list.inherit.l10n_ro_edi account.move list Inherits account.view_out_credit_note_tree
out_invoice_tree_inherit_l10n_ro_edi out.invoice.list.inherit.l10n_ro_edi account.move list Inherits account.view_out_invoice_tree
product_template_form_inherit product.template.form.inherit.l10n_ro_cpv_code product.template form Inherits product.product_template_form_view
res_config_settings_form_inherit_l10n_ro_edi res.config.settings.form.inherit.l10n.ro.edi res.config.settings form Inherits account.res_config_settings_view_form
HTTP endpoints (2)
Route(s)HandlerAuthTypeMethodsFlags
/l10n_ro_edi/authorize/<int:company_id> L10nRoEdiController.authorize user http ALL
/l10n_ro_edi/callback/<int:company_id> L10nRoEdiController.callback user http ALL
Models touched (11)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • l10n_ro_edi_document_ids One2many → l10n_ro_edi.document
    comodel_name='l10n_ro_edi.document' inverse_name='invoice_id'
  • l10n_ro_edi_index Char
    copy=False readonly=True string='E-Factura Index'
  • l10n_ro_edi_state Selection
    compute='_compute_l10n_ro_edi_state' help='- Not indexed: Invoice index was not received on time due to a server timeout\n - Sent: Successfully sent to the SPV, waiting for validation\n - Validated: Sent & validated by the SPV\n - Refused: Validation error from the SPV\n ' selection=[('invoice_not_indexed', 'Not indexed'), ('invoice_sent', 'Sent'), ('invoice_refused', 'Refused'), ('invoice_validated', 'Validated')] store=True string='E-Factura Status'
Public methods (1)
  • action_l10n_ro_edi_fetch_invoices(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • code Char
    required=True string='Code'
  • name Char
    required=True string='Name'
Public methods (0)

No public methods.

New fields (2)
  • nb_days Integer
    compute='_compute_nb_days'
  • start_date Date
    default=fields.Date.context_today help='Date from which you want to synchronize (back up to 60 days)' required=True string='Synchronize from'
Public methods (1)
  • action_l10n_ro_edi_fetch_invoices_from_date(self)

New fields (9)
  • attachment Binary
    readonly=True
  • datetime Datetime
    default=fields.Datetime.now readonly=True required=True
  • invoice_id Many2one → account.move
    comodel_name='account.move' readonly=True required=True
  • key_certificate Char
    readonly=True
  • key_download Char
    readonly=True string='Document download key'
  • key_signature Char
    readonly=True
  • message Char
    readonly=True
  • show_fetch_status_button Boolean
    compute='_compute_show_fetch_status_button'
  • state Selection
    help='Sent -> Successfully sent to the SPV, waiting for validation.\n Validated -> Sent & validated by the SPV.\n Refused -> Sent & refused by the SPV.\n ' readonly=True required=True selection=[('invoice_sent', 'Sent'), ('invoice_refused', 'Error'), ('invoice_validated', 'Validated')] string='E-Factura Status'
Public methods (2)
  • action_l10n_ro_edi_download_attachment(self)
    Download the sent attachment in case if no status have been received from ANAF. Otherwise, download the received successful signature XML file from E-Factura.
  • action_l10n_ro_edi_fetch_status(self)
    Fetch the latest response from E-Factura about the XML sent

New fields (1)
  • cpv_code_id Many2one → l10n_ro.cpv.code
    comodel_name='l10n_ro.cpv.code' help='Common Procurement Vocabulary, used by e-Factura' string='CPV Code'
Public methods (0)

No public methods.

New fields (9)
  • l10n_ro_edi_access_expiry_date Date
    string='Access Token Expiry Date'
  • l10n_ro_edi_access_token Char
    string='Access Token'
  • l10n_ro_edi_anaf_imported_inv_journal_id Many2one → account.journal
    comodel_name='account.journal' compute='_compute_l10n_ro_edi_anaf_imported_inv_journal' domain="[('type', '=', 'purchase')]" readonly=False store=True string='Select journal for SPV imported bills'
  • l10n_ro_edi_callback_url Char
    compute='_compute_l10n_ro_edi_callback_url'
  • l10n_ro_edi_client_id Char
    string='eFactura Client ID'
  • l10n_ro_edi_client_secret Char
    string='Client Secret'
  • l10n_ro_edi_refresh_expiry_date Date
    string='Refresh Token Expiry Date'
  • l10n_ro_edi_refresh_token Char
    string='Refresh Token'
  • l10n_ro_edi_test_env Boolean
    default=True string='Use Test Environment'
Public methods (0)

No public methods.

New fields (9)
  • l10n_ro_edi_access_expiry_date Date
    readonly=False related='company_id.l10n_ro_edi_access_expiry_date'
  • l10n_ro_edi_access_token Char
    readonly=False related='company_id.l10n_ro_edi_access_token'
  • l10n_ro_edi_anaf_imported_inv_journal_id Many2one
    readonly=False related='company_id.l10n_ro_edi_anaf_imported_inv_journal_id'
  • l10n_ro_edi_callback_url Char
    related='company_id.l10n_ro_edi_callback_url'
  • l10n_ro_edi_client_id Char
    readonly=False related='company_id.l10n_ro_edi_client_id'
  • l10n_ro_edi_client_secret Char
    readonly=False related='company_id.l10n_ro_edi_client_secret'
  • l10n_ro_edi_refresh_expiry_date Date
    readonly=False related='company_id.l10n_ro_edi_refresh_expiry_date'
  • l10n_ro_edi_refresh_token Char
    readonly=False related='company_id.l10n_ro_edi_refresh_token'
  • l10n_ro_edi_test_env Boolean
    readonly=False related='company_id.l10n_ro_edi_test_env'
Public methods (1)
  • button_l10n_ro_edi_generate_token(self)
    Redirects to controllers/main.py ~ `authorize` method

New fields (1)
  • invoice_edi_format Selection
    selection_add=[('ciusro', 'Romania (CIUS RO)')]
Public methods (0)

No public methods.

Loading…

Loading…

Loading…