← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 769638] Re: 6.0.2: Import products in various languages from one csv-file

 

Hello
I import my products with a module and use the following syntax in my csv-files:

product.template.csv :

id,list_price,name,loc_rack,weight,taxes_id.id,supplier_taxes_id.id,property_account_income/code,property_account_expense/code,type,state
producttemplate_141704,130,"Productname",1.4,0.199,15,8,0,0,product,sellable

product.product.csv :

id,product_tmpl_id:id,x_number_e,x_number_em,name,x_name2,x_name2:lang=fr_CH,active,default_code,ean13,purchase_requisition
product_141704,producttemplate_141704,123456789,,"Productname","Name2 in English","Name2 in French",true,141704,4007529921874,TRUE

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/769638

Title:
  6.0.2: Import products in various languages from one csv-file

Status in OpenERP Modules (addons):
  New

Bug description:
  I try to import products in various languages from one csv-file with the following language-notation:
  id, name, name:lang=fr_FR, name:lang=de, .....
  But the import for the translated name is not possible and always causes a "KeyError" for the key "name:lang=....."
  Is this a bug or do I use a wrong notation?


References