Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4023 Widoki

I like to export a sales quotation and modify the quantities. OpenERp is demanding valöue for name and suggesting to use "order reference" for the field name. I did it but despite that I got the error below

Missing required value for the field 'name'. This might be 'Order Reference' in the current model, or a field of the same name in an o2m.

Awatar
Odrzuć
Najlepsza odpowiedź

Export a Sales Quotation that is already created and see how it exports to learn the field names and which ones are required and optional.  You also need a 'name' for every line in the quote - do you have that information also?

(From the help on the Import page):

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 sample CSV file of some quotations you can import, based on demo data.

"Order Reference","Supplier","Destination","Pricelist","Order Lines / Product","Order Lines / Quantity"
"PO000020","ASUSTeK","Stock","Default Purchase Pricelist","ADPT",20
,,,,"CARD",30
,,,,"C-Case",40
"PO000021","Axelor","Stock","Default Purchase Pricelist","CD",5
,,,,"CPUa8",15

 

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Hi 

thanks for the support. I exported a sales quotation - with all requiered field. Import works. But as soon ad to the import product quantity and id fields ERP asks for a name field. Strange. 

Previous import without product quantity and id fields works 

Awatar
Odrzuć