تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
10176 أدوات العرض

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
نوفمبر 24
11034
0
أغسطس 17
3249
1
يناير 25
5299
1
أغسطس 18
14671
0
يناير 17
5118