Odoo Help


This community 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.


Importing supplier invoice with multiple invoice lines

Sudheendra Walvekar
on 9/23/13, 2:54 PM 4,417 views

Dear all,

I am new to openERP and am trying to import supplier invoices from csv.

While I am able to successfully import the invoices with single invoice line, I am not able to import if the invoice lines are more than one. Example, if the supplier invoice is only for a product A, the import is successful. If the supplier invoice is for product A and B, it creates two separate invoices for A and B instead of two invoice lines in the same invoice.

I request help and advise on how multiple invoice lines can be imported for the same invoice.




Ray Carnes

--Ray Carnes--
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

Ray Carnes
On 9/24/13, 2:43 AM

From the FREQUENTLY ASKED QUESTIONS section of the Import screen:

How can I import a one2many relationship (e.g. several Order Lines of a Sales Order)?

If you want to import sales order having several order lines; for each order line, you need to reserve a specific row in the CSV file. The first order line will be imported on the same row as the information relative to order. Any additional lines will need an addtional row that does not have any information in the fields relative to the order.

As an example, here is a sample CSV file of some quotations you can import, based on demo data.

Ref,Supplier,Destination,Pricelist,Order Lines / Product,Order Lines / Quantity
PO000020,ASUSTeK,Stock,Default Purchase Pricelist,ADPT,20
PO00002,Axelor,Stock,Default Purchase Pricelist,CD,5

This file imports TWO quotes, the first having THREE lines, the second having TWO lines.

Thank you very much. The Solution Worked.Regards Sudheendra Walvekar

Prime Minds Consultancy Services, Sudheendra Walvekar
on 9/24/13, 3:06 AM
On 7/22/16, 2:32 PM

am trying to import sales orders for different customers with more than sales order line it gaave me this error 

Missing required value for the field 'Order Reference' (name)

any value i set it refuse it 



Example for importing sales order:

Reference/Description,Customer,Order Lines / Product,Order Lines / Quantity
Mayur Maheshwari
On 8/9/15, 3:05 AM

To import From CSV,You can Check HERE   

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 9/23/13, 2:54 PM
Seen: 4417 times
Last updated: 7/22/16, 2:32 PM