Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

2

Error on importing products (Uncaught TypeError: Cannot read property '1' of undefined)

By
Rodrigo Escandón Cesarman
on 6/13/16, 2:57 PM 525 views
I'm trying to import variants into a product and keep getting the following result. I already imported the Attribute Values, and this method worked for importing a product with less variants (around 150), but I keep getting the following error when I try to import variants into a product with around 2,000 variants:
Uncaught TypeError: Cannot read property '1' of undefined
http://sistema.elhc.info/web/content/417-62c8e0c/web.assets_backend.js:4281
Traceback:
TypeError: Cannot read property '1' of undefined
    at Object.<anonymous> (http://sistema.elhc.info/web/content/417-62c8e0c/web.assets_backend.js:4281:71)
    at Object.<anonymous> (http://sistema.elhc.info/web/content/312-f7dfa1a/web.assets_common.js:650:681)
    at fire (http://sistema.elhc.info/web/content/312-f7dfa1a/web.assets_common.js:644:299)
    at Object.fireWith [as rejectWith] (http://sistema.elhc.info/web/content/312-f7dfa1a/web.assets_common.js:649:198)
    at Object.deferred.(anonymous function) (http://sistema.elhc.info/web/content/312-f7dfa1a/web.assets_common.js:651:56)
    at fire (http://sistema.elhc.info/web/content/312-f7dfa1a/web.assets_common.js:644:299)
    at Object.fireWith [as rejectWith] (http://sistema.elhc.info/web/content/312-f7dfa1a/web.assets_common.js:649:198)
    at Object.deferred.(anonymous function) (http://sistema.elhc.info/web/content/312-f7dfa1a/web.assets_common.js:651:56)
    at fire (http://sistema.elhc.info/web/content/312-f7dfa1a/web.assets_common.js:644:299) 

    at Object.add [as fail] (http://sistema.elhc.info/web/content/312-f7dfa1a/web.assets_common.js:645:467) 


This is the CSV table I'm trying to import (with 2,000 variants instead of only 3):

id product_variant_ids/attribute_line_ids/attribute_id product_variant_ids/attribute_line_ids/value_ids
__export__.product_template_335 Clave 151515KR11,153015KR11,153030KR11

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/13/16, 2:57 PM
Seen: 525 times
Last updated: 8/19/16, 7:16 PM