Odoo Help

0

Importing supplier invoice with multiple invoice lines

By
Sudheendra Walvekar
on 9/23/13, 2:54 PM 5,733 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.

Regards

Sudheendra.

1
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
,,,,CARD,30
,,,,C-Case,40
PO00002,Axelor,Stock,Default Purchase Pricelist,CD,5
,,,,CPUa8,15

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
0
yasmin
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 

 

0

Example for importing sales order:

Reference/Description,Customer,Order Lines / Product,Order Lines / Quantity
PO000020,ASUSTeK,ADPT,20
,,CARD,30
,,C-Case,40
PO00002,Axelor,CD,5
,,CPUa8,15
-1
Mayur Maheshwari
On 8/9/15, 3:05 AM

To import From CSV,You can Check HERE   

About This Community

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

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 9/23/13, 2:54 PM
Seen: 5733 times
Last updated: 5/5/17, 1:00 AM