Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
10153 Lượt xem

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. 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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"
Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 11 24
11003
0
thg 8 17
3230
1
thg 1 25
5293
1
thg 8 18
14659
0
thg 1 17
5109