Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
6841 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Autor

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

Autor

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

Mejor respuesta
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
Descartar
Autor

Thank you Mindaugas

welcome, hope it helps

Autor

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

Publicaciones relacionadas Respuestas Vistas Actividad
1
oct 19
4020
1
abr 25
556
3
feb 25
674
2
ene 25
717
2
nov 24
571