This question has been flagged
7 Replies
23181 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?

Avatar
Discard
Best Answer

It is there - called Orderlines/Product.

Avatar
Discard
Best Answer

Hello, 

This video will helpful, how to import sale orderline: https://youtu.be/RE_xD-tVj5E

Thanks

Avatar
Discard
Best Answer

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"

Avatar
Discard
Best Answer

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

Hope it helps

Avatar
Discard
Author Best Answer

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.

Avatar
Discard

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).

Best Answer

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?

Avatar
Discard