Purchase Order Import
purchase_order_import · OCA/edi
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 5 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_onDatetimehelp='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'
No public methods.
New fields (4)
-
purchase_idMany2one → purchase.orderreadonly=Truerequired=Truestring='RFQ to Update' args: 'purchase.order' -
quote_fileBinaryhelp='Upload a quotation file that you received from your supplier. Supported formats: XML and PDF (PDF with an embeded XML file).'required=Truestring='XML or PDF Quotation' -
quote_filenameCharstring='Filename' -
update_optionSelectiondefault='price'required=True args: [('price', 'Price'), ('all', 'Price and Quantity')]
-
parse_pdf_quote(self, quote_file)@api.modelGet 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)
-
documentBinaryhelp='Upload an Order response file that you received from your supplier. Supported formats: XML and PDF (PDF with an embeded XML file).'required=Truestring='XML or PDF Order response' -
filenameChar
-
parse_order_response(self, document, filename)@api.model -
parse_pdf_order_document(self, document)@api.modelGet 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…