It seems that Item Variants is generated only at the time that an Item Template is saved for the first time. After adding/removing Item Template’s variants, the previously generated Item Variants are removed and none are re-generated.
In addition, sometimes Item Variants are not generated even for the first time of saving of an Item Template.
Check if you are adding valid item attributes.
Yes, I think so. You can take a look at https://demo.erpnext.com/desk#Form/Item/T-Shirt-001.
You may try adding new attributes or remove ones, and notice that no item variant is generated.
@dan You need to add Item Attribute Value ‘Blue01’ as a attribute value to the attribute.
The system thus did not create the variant. We have added a validation for this now.
Got it! It works as expected now. Thanks a lot for very quick responses. You guys rock!!