Thank you very much for your help!
This question has been flagged
For vendor matching, use External ID or Name – External ID is safest to avoid duplicates. For products, use Internal Reference (unique identifier) or Barcode for exact matching.
Recommended columns for your Excel import:
Vendor → Use partner_id / name or partner_id / id (External ID)
Product → Use product_id / default_code (Internal Reference) or product_id / barcode
Quantity → product_qty
Unit Price → price_unit
For multiple lines under one PO, use the same PO ID across all rows. Odoo automatically groups lines with matching header fields when the ID is repeated.
Best practice: First export a sample PO with lines to see the exact column headers. Odoo's import tool also lets you download a template directly from the import wizard – use that as your starting point.
For food industry needs, search Odoo Apps for "base_import_purchase_line" – that module adds a dedicated "Import Lines" button on POs with test validation before import.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
0
May 26
|
7 | ||
|
|
2
Apr 26
|
1981 | ||
|
|
1
Apr 26
|
1723 | ||
|
|
1
Apr 26
|
3906 | ||
|
|
1
Apr 26
|
2311 |
Hello,
It is best practice to use the External ID for the vendor and the External ID for the existing products in the order lines. This ensures Odoo matches the existing records perfectly without creating duplicates.
Let me know if you need assistance regarding this
Thanks
info@codespheretech.in
Hi,
Yes, this is possible using Odoo’s standard Purchase Order import functionality, but using the correct identifiers is important to avoid duplicates.
A few best practices:
Vendor Matching
You can use Vendor Name if it is unique in the system.
For more reliable matching, it is recommended to use External ID or Database ID.
Product Matching
The most reliable field is Internal Reference (Default Code).
Alternatively, Barcode or External ID can also be used.
Using the Product Name may work but can sometimes create duplicates if names vary.
Purchase Order with Multiple Lines
Each row in the Excel file represents a purchase order line.
Use the same Purchase Order reference/number for rows that belong to the same PO.
Include fields like:
Order Reference
Vendor
Order Date
Product
Quantity
Unit Price
A good approach is to first export a sample Purchase Order from Odoo and use that structure as your import template.
Hope this works for you! Feel free to reach out for further discussion.
Regards,
Zehntech Technologies Inc.
santosh.sekwadia@zehntech.com