Odoo Help


import sales order lines from csv?

Bill Kuhns
on 6/12/13, 10:00 PM 8,978 views

I've imported customers, products and BOMs. In trying to import sales orders, it appears that there's no field to identify the product id for each sales order line. Tried creating a multiline sales order and exporting it - no product ids to be found.

Am I missing something?

Ray Carnes
On 6/13/13, 12:29 AM

It is there - called Orderlines/Product.

On 6/22/16, 9:52 AM

First you need to import the sale_order.csv -- remember to specify External ID.

Then import order lines sale_order_line.csv using the SAME MENU: "Sales Orders - Import" by following the below procedure:

1. Select Order's external ID column as "External ID"

2. Select Order line items each under "Order Lines", for example: "Order Lines / Unit Price"

Mayur Maheshwari
On 8/9/15, 2:59 AM

For Import sale order and sales order line You can check HERE

Hope it helps

Bill Kuhns
On 6/13/13, 10:03 AM

Interesting - thanks. I originally exported all the sales order and sales order line fields, and it wasn't there. Really. When I export just a subset, it's there. I don't understand why, but problem solved.

This is most likely because you opened up the drop-down box for the sale order lines and then selected all the fields underneath that. But the drop-down box that Ray Carnes mentioned is by itself a field as well. If you export that field, it will show you the ID in the OpenERP system (which may be somewhat cryptic).

Ludo - Neobis
on 7/14/14, 4:56 AM
Denise van der Linden
On 7/12/14, 10:32 AM

I'd like to map the customer account by "Account/external ID" but cannot find where to maintain this in in the customer form. Does this database field map to the "Reference" field maybe. Tried without luck.

Also tried to map the account name as shown in the customer form to the database field "account" but OpenERP import validation tells me the customer account cannot be found in that case.

Any suggestions anyone?

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 6/12/13, 10:00 PM
Seen: 8978 times
Last updated: 6/22/16, 9:52 AM