OdooWiki OCA HUB

Purchase Order Import

purchase_order_import folder_open OCA/edi open_in_new
Purchase Management License: AGPL-3

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) quotations as:
  • XML file,
  • PDF file with an embedded XML file.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets buyers upload a supplier's quotation (XML or PDF) to automatically refresh an existing request for quotation, and upload a supplier's order response to acknowledge, confirm, cancel or amend the purchase order.

This module adds two import wizards to the Purchase area.

  • On a draft or sent request for quotation, a new button "Import Quotation File" opens a window where you upload the supplier's quotation as XML or PDF (a PDF containing an embedded XML file is also accepted). You choose whether to update only prices or prices and quantities, then click "Update RFQ".
  • Odoo compares the imported lines with the existing ones: matching lines get new unit prices (and quantities if chosen), lines only in the quotation are added, and lines only in the RFQ are not deleted but flagged in the chatter. Incoterm changes are applied and logged, and a message is posted on the RFQ.
  • The import is refused if the supplier or the currency of the file differs from the RFQ, or if the quotation has no lines.
  • A new field "Supplier Acknowledgement Date" appears on the purchase order form.
  • A menu "UBL OrderResponse Importer" under Purchase lets you upload a supplier's order response. Depending on its status, Odoo records the acknowledgement date, cancels the order (rejected), confirms it (accepted), or confirms it and adjusts the receipt (conditionally accepted): refused lines are cancelled, changed quantities split the stock move, and a backorder is created when the supplier announces one. A note is added on the receipt and a message is posted on the order.
  • The actual XML formats are not handled here; separate modules must be installed for each format.

Required by other modules

Models and fields (3)
  • purchase.order · extends an existing modelsupplier_ack_received_on (Supplier Acknowledgement Date)
  • purchase.order.import · new modelquote_file (XML or PDF Quotation), purchase_id (RFQ to Update), update_option, quote_filename (Filename)
  • purchase.order.response.import · new modeldocument (XML or PDF Order response), filename

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 2 confirmed, 7 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 19.0

This module adds a button Import Quotation File on Requests for Quotation. This button starts a wizard that will propose you to select the quotation file. The wizard will also propose you an update option:

  • only update the prices of the draft purchase order from the quotation file (default option),
  • update prices and quantities of the draft purchase order from the quotation file.

When you click on the button Update RFQ:

  • if Odoo has a line in the quotation file that is not in the draft purchase order, it will create a new purchase order line,
  • if Odoo has a line in the draft purchase order that is not in the quotation file, it will write a warning in the chatter of the purchase order (it will not delete the purchase order line),
  • for all the lines that are both in the draft purchase order and in the quotation file, the purchase order line will be updated if needed.
  • if the incoterm of the quotation file is not the same as the incoterm of the draft purchase order, Odoo will update the incoterm of the purchase order.
  • the imported quotation file is attached to the purchase order.

Once the quotation file is imported, you should read the messages in the chatter of the purchase order because it may contain important information about the import.

No verified information in OCA: Installation, Configuration.

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.