Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
7326 Lượt xem

Hi, 

Odoo V13

I Would like to know how to import sales order or quotation with multiple lines / products. 

When I added multiple products on the same CSV file it created multiple Sale order for each product. 

I tried to add the sales order number (reference ) the result was duplicating the sales order number and each order has one product from the list 


Regards, 

Abdulmonem  

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi, Abdulmonem


It seems you are placing wrong columns in your CSV. Please refer to the below lines of the CSV in order to prepare order with the multiple lines,

partner_id
order_line/price_unit
order_line/product_uom_qty
order_line/product_id/id
12250150156

10010158

501520

20521
  • Then you can simply upload that CSV.

  • And make sure below columns will be selected inside import table,

    • Order Lines / Product / Database ID
    • Order Lines / Quantity
    • Order Lines / Unit Price
    • Customer / Database ID
  • For more info please refer to the below screenshot,


Hope above solution will fix your issues. In case you still have the same issue then you can share your CSV.

Thanks,
Ashish Singh (Team Lead)
Webkul Software Private Limited
Ảnh đại diện
Huỷ bỏ
Tác giả

Dear Ashish,

Thank you for comment the issue is from where i can get the partner ID to replace it with partner name

Thank you

Abdulmonem

Hi, Abdulmonem

From user interface by default id is not visible inside the view but you can inherit the tree view and add below line

<field name="id"/>

Or when you open any record the id is visible inside the Url.

But you can achieve the same thing by placing exact partner name instead of partner id.

Thanks

Ashish Singh

Tác giả

Hi Ashish,

Thank you for you help I reviewed me CSV file I notice that the mistake that I was repeating Order reference number for each line on CSV file

Best Regrades

Abdulmonem

Hi Abdulmonem

It's great that your issue is resolved. If you liked my assistance then I would really appreciate if you can take out a few minutes out of your busy schedule and put a google review for us here -

https://www.google.com/search?q=webkul&oq=webkul+&aqs=chrome..69i57j69i60l3j0l2.4182j0j7&sourceid=chrome&ie=UTF-8#lrd=0x390ce561c5555555:0xcfb40ae166ce6c21,1

Thanks

Ashish Singh

Câu trả lời hay nhất
Order reference Delivery Date Customer Salesperson Order Lines / Product Order Lines / Description Order Lines / Unit Price Order Lines / Quantity
SO-2020-000038 2020-01-08 10:00:00 customer aaa Administrator 5555666 5555666 4,50 100
444777 5555666 9,00 120
Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you Mindaugas

welcome, hope it helps

Tác giả

Sure it helps mistake that I was repeating Order reference number for each line on CSV file

Best Regrades

Abdulmonem

in odoo basically-all import when it have header and line structure will be quite the same (bom, contact with contacts and etc, PO is different case).

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 19
4419
3
thg 7 25
2079
1
thg 4 25
1564
3
thg 2 25
1991
2
thg 11 24
1275