Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 5 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.17 MB
Module directory on disk
Code analysis 0 migration notes 3 models 3 views 0 HTTP endpoints

Description

This module adds support for the import of electronic quotations. This module provides the base methods to import electronic quotations ; it requires additional modules to support specific order formats:

  • module purchase_order_import_ubl: adds support for Universal Business Language (UBL) <http://ubl.xml.org/>_ quotations as:

    • XML file,
    • PDF file with an embedded XML file.

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 3

XML IDNameModelTypeStatus
purchase_order_form purchase_order_import.purchase.order.form purchase.order form Inherits purchase.purchase_order_form
purchase_order_import_form purchase.order.import.form purchase.order.import form New
purchase_order_response_import_form purchase.order.response.import.form purchase.order.response.import form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (1)
  • supplier_ack_received_on Datetime
    help='Date and time of the acknowledgement by the supplier. This field is filled by Odoo when processing a OrderResponse document.' index=True args: 'Supplier Acknowledgement Date'
Public methods (0)

No public methods.

New fields (4)
  • purchase_id Many2one → purchase.order
    readonly=True required=True string='RFQ to Update' args: 'purchase.order'
  • quote_file Binary
    help='Upload a quotation file that you received from your supplier. Supported formats: XML and PDF (PDF with an embeded XML file).' required=True string='XML or PDF Quotation'
  • quote_filename Char
    string='Filename'
  • update_option Selection
    default='price' required=True args: [('price', 'Price'), ('all', 'Price and Quantity')]
Public methods (5)
  • parse_pdf_quote(self, quote_file)
    @api.model
    Get PDF attachments, filter on XML files and call import_order_xml
  • parse_quote(self, quote_file, quote_filename)
    @api.model
  • parse_xml_quote(self, xml_root)
    @api.model
  • update_order_lines(self, parsed_quote, order)
  • update_rfq_button(self)

New fields (2)
  • document Binary
    help='Upload an Order response file that you received from your supplier. Supported formats: XML and PDF (PDF with an embeded XML file).' required=True string='XML or PDF Order response'
  • filename Char
Public methods (5)
  • parse_order_response(self, document, filename)
    @api.model
  • parse_pdf_order_document(self, document)
    @api.model
    Get PDF attachments, filter on XML files and call import_order_xml
  • parse_xml_order_document(self, xml_root)
    @api.model
  • process_data(self, parsed_order_document)
    @api.model
  • process_document(self)

Loading…

Loading…

Loading…

Loading…