Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4 Antwoorden
7258 Weergaven

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  

Avatar
Annuleer
Beste antwoord

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
Avatar
Annuleer
Auteur

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

Auteur

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

Beste antwoord
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
Avatar
Annuleer
Auteur

Thank you Mindaugas

welcome, hope it helps

Auteur

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

Gerelateerde posts Antwoorden Weergaven Activiteit
1
okt. 19
4381
3
jul. 25
1998
1
apr. 25
1495
3
feb. 25
1892
2
nov. 24
1206