跳至内容
菜单
此问题已终结

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
10997
0
8月 17
3229
1
1月 25
5290
1
8月 18
14652
0
1月 17
5104