OdooWiki OCA HUB

Sale Order UBL Import Customer Free Ref

sale_order_import_ubl_customer_free_ref folder_open OCA/edi open_in_new
Sales Management License: AGPL-3

This is a glue module between sale_order_import_ubl and sale_order_customer_free_ref. It extracts the CurstomerReference, from the XML received.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

When importing a customer's UBL order file, Odoo now reads the customer reference written in the XML and stores it on the sales order, instead of using the standard customer reference field.

This module is a small connector that works automatically once both the UBL sale order import and the customer free reference features are installed. It does not add any new screen or menu.

When a user imports a customer order file in UBL format (for example an Order or RequestForQuotation document), Odoo reads the CustomerReference value contained in the file.

  • That value is placed in the customer free reference field of the sales order, while the standard customer reference field is left empty.
  • The order number coming from the file is stored in the customer order number field.

Odoo also uses these two pieces of information to recognise an order that was already imported: it looks for an existing order with the same customer order number and the same commercial entity, so duplicates are avoided.

All of this happens inside the sale order import wizard (sale.order.import); the sales order itself is created with the usual import process. No new models, menus, reports or scheduled actions are added.

Models and fields (1)
  • sale.order.import · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.