Sale Order Import
sale_order_import · OCA/edi
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 10 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.18 MB
Module directory on disk
Code analysis
0 migration notes
2 models
3 views
0 HTTP endpoints
Description
This module adds support for the import of electronic RFQ or orders. This module provides the base methods to import electronic orders, and you can also plug additional formats by extending the wizard. It requires additional modules to support specific order formats:
- module sale_order_import_ubl: adds support for Universal Business
Language (UBL) RFQs and orders 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_order_import_form |
sale.order.import.form | sale.order.import | form | New |
skip_error_line_value_message |
skip_error_line_value_message | ir.ui.view | qweb | New |
skip_error_lines_message |
skip_error_lines_message | ir.ui.view | qweb | New |
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 (14)
-
commercial_partner_idMany2one → res.partnerreadonly=Truestring='Commercial Entity' args: 'res.partner' -
confirm_orderBooleandefault=False -
create_missing_invoice_partnerBooleandefault=False -
create_missing_shipping_partnerBooleandefault=False -
doc_typeSelectionreadonly=Truestring='Document Type' args: [('rfq', 'Request For Quotation'), ('order', 'Sale Order')] -
import_typeSelectiondefault=Nonehelp='Select a type which you want to import'required=True args: [('xml', 'XML'), ('pdf', 'PDF')] -
order_fileBinaryhelp='Upload a Request for Quotation or an Order file. Supported formats: XML and PDF (PDF with an embeded XML file).'required=Truestring='Request for Quotation or Order' -
order_filenameCharstring='Filename' -
partner_idMany2one → res.partnerstring='Customer' args: 'res.partner' -
partner_shipping_idMany2one → res.partnerreadonly=Truestring='Shipping Address' args: 'res.partner' -
price_sourceSelectiondefault='pricelist'selection=[('pricelist', 'Pricelist'), ('order', 'Customer Order')]string='Apply Prices From' -
sale_idMany2one → sale.orderstring='Quotation to Update' args: 'sale.order' -
skip_error_linesBooleanhelp='Ignore and push all error lines to the chatter when importing if enabled.' -
stateSelectiondefault='import' args: [('import', 'Import'), ('update', 'Update')]
-
create_order(self, parsed_order, price_source, order_filename=None)@api.model -
create_order_button(self) -
create_order_return_action(self, parsed_order, order_filename) -
create_order_ws(self, parsed_order, price_source, order_filename=None)@api.modelSame method as create_order() but callable via JSON-RPC webservice. Returns an ID to avoid this error: TypeError: sale.order(15,) is not JSON serializable -
import_order_button(self) -
order_file_change(self)@api.onchange('order_file') -
parse_order(self, order_file, order_filename, partner=False)@api.model -
parse_pdf_order(self, order_file, detect_doc_type=False)@api.modelGet PDF attachments, filter on XML files and call import_order_xml -
parse_xml_order(self, data, detect_doc_type=False)@api.model -
update_order_button(self) -
update_order_lines(self, parsed_order, order, price_source)@api.model
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…