[FIX] product: create works for internal reference and ean13 code in product.template

This is a temporary workaround until these fields are removed from the template or the view is more explicit about the meaning of this field (the one on the first variant)
Fix #542