コンテンツへスキップ
メニュー
この質問にフラグが付けられました

I created products with demo data. I need to use this created product to the another table, so i gave the "product_id/id" as "External ID" in the csv file. while import the csv file it shows an error like "No matching record found for external id 'demo_addon.demo_product_5' in field 'Product' at row 2".

My import data:

         product_id/id
         demo_addon.demo_product_5
         demo_addon.demo_product_6
         demo_addon.demo_product_7

can anyone guide me to resolve this issue. 

アバター
破棄
最善の回答

hi product_id this field maтy2one or other field with the ratio of the corresponding id should be with the table referenced to the example

 "product.product_product_7" 
or
"product.product_product_7_product_template"
アバター
破棄
著作者

I used like as you mentioned, but it still shows this error "No matching record found for external id 'product.product_product_5' in field 'Product' at row 2"

so in your database there is no object with this id, the number in external_id corresponds to the id in the table of the database postgresSQL check whether there is such an object in the corresponding database table

関連投稿 返信 ビュー 活動
4
11月 24
11001
0
8月 17
3230
1
1月 25
5293
1
8月 18
14658
0
1月 17
5107