If I set the Filter:
Item Variant Attribute “In” Blue, Small
Undesired Results (which Erpnext is currently doing):
T-Shirt-Cotton-Blue-Large ( didn’t ask for this! )
T-Shirt-Cotton-Blue-Small
T-Shirt-Polyester-Blue-Large ( didn’t ask for this! )
T-Shirt-Polyester-Blue-Small
( Because T-Shirt exists also in Blue and Large. )
On a final note:
I tried setting multiple “Equals”, “In”, etc and it doesn’t work. Only one works for Item Variant Attribute. It seems like this is not possible through this field.
So I managed to workaround by just:
Filter: Item-Name “Like” %Blue-Small
This appears to work correctly and show me desired the result:
T-Shirt-Cotton-Blue-Small
T-Shirt-Polyester-Blue-Small
But as I’m writing this, this can pose problems if an Item like
Polo Shirt-Polyester-Blue-Small exists and we don’t wish to see it in the filter.
Still have to make further tests to workaround this the best way possible.