Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 52 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 13.0

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

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

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

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

Views touched 6

XML IDNameModelTypeStatus
export_bis3_invoice export_bis3_invoice ir.ui.view qweb New
export_bis3_invoice_line export_bis3_invoice_line ir.ui.view qweb New
export_bis3_invoice_partner export_bis3_invoice_partner ir.ui.view qweb New
res_config_settings_view_form res.config.settings.view.form.inherit.l10n_ro_edi res.config.settings form Inherits account.res_config_settings_view_form
view_move_form >account.move.form account.move form Inherits account.view_move_form
view_partner_form res.partner.form res.partner form Inherits base.view_partner_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (0)

No new fields.

Public methods (9)
  • add_xml_in_pdf_buffer(self, buffer)
  • attach_ubl_xml_file_button(self)
  • embed_ubl_xml_in_pdf(self, pdf_content)
  • generate_invoice_ubl_xml_etree(self, version='2.1')
  • generate_ubl_xml_string(self, version='2.1')
  • get_ubl_filename(self, version='2.1')
    This method is designed to be inherited
  • get_ubl_lang(self)
  • get_ubl_version(self)
  • is_ubl_sale_invoice_posted(self)

New fields (0)

No new fields.

Public methods (10)
  • embed_xml_in_pdf(self, xml_string, xml_filename, pdf_content=None, pdf_file=None)
    @api.model
    2 possible uses: a) use the pdf_content argument, which has the binary of the PDF -> it will return the new PDF binary with the embedded XML (used for qweb-pdf reports) b) OR use the pdf_file argument, which has the full path to the original PDF file -> it will re-write this file with the new PDF (used for py3o reports, *_ubl_py3o modules in this repo)
  • get_xml_files_from_pdf(self, pdf_file)
    Returns a dict with key = filename, value = XML file obj
  • ubl_parse_address(self, address_node, ns)
    @api.model
  • ubl_parse_customer_party(self, party_node, ns)
    @api.model
  • ubl_parse_delivery(self, delivery_node, ns)
    @api.model
  • ubl_parse_delivery_details(self, delivery_node, ns)
    @api.model
  • ubl_parse_incoterm(self, delivery_term_node, ns)
  • ubl_parse_party(self, party_node, ns)
    @api.model
  • ubl_parse_product(self, line_node, ns)
  • ubl_parse_supplier_party(self, party_node, ns)
    @api.model

New fields (3)
  • l10n_ro_edi_access_token Char
    string='Access Token'
  • l10n_ro_edi_manual Boolean
    default=True string='Manual submission'
  • l10n_ro_edi_test_mode Boolean
    default=True string='Test mode'
Public methods (0)

No public methods.

New fields (3)
  • l10n_ro_edi_access_token Char
    readonly=False related='company_id.l10n_ro_edi_access_token' string='Access Token'
  • l10n_ro_edi_manual Boolean
    readonly=False related='company_id.l10n_ro_edi_manual' string='Manual submission'
  • l10n_ro_edi_test_mode Boolean
    readonly=False related='company_id.l10n_ro_edi_test_mode' string='Test mode'
Public methods (0)

No public methods.

New fields (1)
  • l10n_ro_e_invoice Boolean
    help='Enrolled in the e-invoice system' args: 'E Invoice'
Public methods (0)

No public methods.