Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 8 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 10 Odoo series since 8.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.05 MB
Module directory on disk
Code analysis 0 migration notes 2 models 0 views 0 HTTP endpoints

Description

This module adds support for UBL, the Universal Business Language (UBL) standard, on purchase orders. The UBL 2.1 standard became the ISO/IEC 19845 standard in December 2015 (cf the official announce).

With this module, when you generate the purchase order or RFQ report:

  • on a draft/RFQ/Bid Received purchase order, the PDF file will have an embedded XML Request For Quotation file compliant with the UBL 2.1 or 2.0 standard.
  • on an approved purchase order, the PDF file will have an embedded XML Order file compliant with the UBL 2.1 or 2.0 standard.

If your supplier has Odoo and has installed the module sale_order_import_ubl, he will be able to import the PDF file and it will automatically create the quotation/sale order.

Dependencies

Odoo dependencies
OCA/community-data-files:
OCA/edi:
OCA/reporting-engine:
odoo/odoo:
- web
- bus
- uom
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 0

No views found for this module.

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (13)
  • add_xml_in_pdf_buffer(self, buffer)
  • embed_ubl_xml_in_pdf(self, pdf_content, pdf_file=None)
  • generate_order_ubl_xml_etree(self, version='2.1')
  • generate_rfq_ubl_xml_etree(self, version='2.1')
  • generate_ubl_xml_string(self, doc_type, version='2.1')
    Provide UBL Xml string with no check According to your use check this string integrity with _ubl_check_xml_schema() method
  • get_delivery_partner(self)
  • get_document_name(self, doc_type)
  • get_rfq_states(self)
    @api.model
  • get_ubl_filename(self, doc_type, version='2.1')
    This method is designed to be inherited
  • get_ubl_lang(self)
  • get_ubl_purchase_order_doc_type(self)
  • get_ubl_version(self)
  • get_ubl_xml_etree(self, doc_type, version='2.1')

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…