sale_order_import_ubl
Adds UBL-based sales order and RFQ import support to the sale order import wizard, covering XML and PDF payloads.
Key Features
- sale.order.import: Detects whether an uploaded UBL document is a sale order or request for quotation before processing.
- sale.order.import: Validates the UBL XML against its schema version to ensure the document conforms before import.
- sale.order.import: Extracts partner, shipping, invoicing, currency, reference, incoterm, and delivery details from the UBL payload when building the order.
- sale.order.import: Constructs order lines using UBL quantities, UNECE unit codes, prices, references, and accumulated notes.
- sale.order.import: Strips known invalid VAT identifiers from imported parties to avoid partner lookup conflicts.