Import Multiple SKUs into One Odoo Sales Quotation
One purchase order arrives with several SKUs on it. It should become one Odoo quotation carrying several order lines. Instead the import produces a separate quotation for every product row, or it stops with a customer-matching error before anything is created.
Both symptoms come from the same place: the structure of the CSV, not the data in it. An Odoo sales quotation is two levels of record, and the import file has to say which rows belong to which level.
This is how to lay the file out, map the fields, and check the result before the quotation reaches a customer.
How Odoo groups multiple SKUs into one sales quotation
An Odoo sales quotation holds two levels of data: the quotation record itself, and the order lines attached to it.
- Quotation fields — Customer, Customer Reference, Order Date, Expiration Date, Salesperson.
- Order-line fields — Product, Quantity, Unit Price, Discount, Taxes.
The relationship is one-to-many: one quotation can carry many product lines. That distinction is the whole problem during a CSV import. Odoo has to work out which product rows belong together, and it decides that from the quotation-level columns. Repeat those columns on every row and each row looks like a new quotation.

How to structure the import file
There are two layouts that group rows correctly, and they are worth knowing separately because one of them also solves the customer-matching problem.
Blank continuation rows
Fill the quotation columns on the first row of the order only. On every following row leave them empty and fill just the Order Lines/… columns. A row with blank parent columns is read as a continuation of the row above it.

A shared External ID
Add an id column and give every row of the same order the same External ID, for example so_acme_po_4417. Odoo groups the rows by that identifier rather than by their position in the file. This layout is the more robust of the two: the rows no longer depend on their order in the CSV, and re-running the same file updates the existing quotation instead of creating a second one.
Whichever layout is used, three things have to hold:
- Every ordered SKU is its own order line.
- Every product identifier matches a product that already exists in Odoo.
- Quantity and unit price are mapped to the order-line fields, not to the quotation.
Running the import
Go to Sales → Orders → Quotations and choose Import Records from the list view. Map the columns as follows.
| CSV column | Odoo import field | Level |
|---|---|---|
| id | External ID | Quotation |
| Customer | Customer | Quotation |
| Customer Reference | Customer Reference | Quotation |
| Order Date | Order Date | Quotation |
| Order Lines/Product | Order Lines / Product | Order line |
| Order Lines/Quantity | Order Lines / Quantity | Order line |
| Order Lines/Unit Price | Order Lines / Unit Price | Order line |
Run Test before importing. The test pass parses the whole file against the mapping and reports the row and column of anything it cannot resolve — an unmatched product, an ambiguous customer, a value that does not fit the field. It creates nothing, so it costs only the time it takes to run, and it is the cheapest place to find a mapping mistake.
Fixing customer-matching errors
Customer matching fails when the name in the file resolves to more than one contact in Odoo, or to none at all. Odoo will not guess between two records that share a display name.

- Find the duplicates. Search Contacts for the name and see how many records come back.
- Switch to an identifier. Use the existing External ID of the intended contact instead of the display name, and map it to the customer relation field.
- Re-test. Confirm Odoo resolves to the one contact you meant before running the import.
Use an External ID that already belongs to the correct contact. Inventing a new identifier to get past the error creates a second contact record and moves the problem into the customer master instead of solving it.
What to check on taxes, discounts and pricing
Importing quantities and unit prices does not mean the quotation totals are right. Odoo applies tax and pricelist logic on top of what the file supplies, so check these after the import:
- Taxes — the correct tax is on each line, and the fiscal position has not replaced it with another.
- Discounts — line-level discounts appear where they should.
- Pricelists — the imported unit price is the price you intended, not one a customer pricelist has overridden.
- Units of measure — quantities are in the unit the product expects. A product sold in boxes but imported in pieces prices correctly per unit and is wrong on the total.
- Quotation total — subtotal, tax and final total reconcile against the original purchase order.
Verifying the result
The import success message confirms rows were created. It does not confirm they were grouped the way you wanted. Open the quotation and check three things:
- Grouping — every SKU from the order sits under one quotation number against one customer.
- Order lines — each line has the right product, quantity and unit price, with nothing missing and nothing duplicated.
- Values — the quotation reference, taxes, subtotal and total match the purchase order you started from.
For imports that repeat, keep the CSV structure fixed and keep using stable customer and product identifiers. Most of the manual correction work on recurring imports comes from a file whose shape changes between runs.
When the import needs customisation
If grouping, product matching or customer matching keeps failing after the file itself is correct, the problem has moved from the file to the configuration. Development work is usually justified when:
- Product codes differ. The customer sends their own SKU codes and they have to be mapped to Odoo products.
- Customer codes differ. Incoming orders identify the buyer by a code or a naming convention that does not exist in Odoo.
- The import repeats. Purchase orders arrive often enough that a scheduled integration costs less than a person running the import screen.
- Custom fields are involved. Imported sales data has to populate fields added by custom modules.
Which of these applies depends on the Odoo configuration, the source data and how the sales team works. For a high volume of recurring orders the saving is not the import itself — it is the corrections that stop being necessary afterwards.
Frequently asked questions
Conclusion
Getting several SKUs onto one Odoo quotation is a question of structure. The quotation record and its order lines are two different levels, and the CSV has to keep them apart — quotation columns on the first row only, or a shared External ID on every row of the order.
With that layout, stable identifiers for customers and products, and a test pass before the real import, a multi-product order lands as one quotation with the right lines, the right totals and nothing to clean up by hand.


