fix: attributes were mandatory for manufacturers
(cherry picked from commit 434c2a1815f27c59de5cd94528bc371593bdd402)
This commit is contained in:
parent
d89a9a5bfd
commit
00b9c2326c
@ -504,7 +504,7 @@
|
|||||||
"fieldtype": "Table",
|
"fieldtype": "Table",
|
||||||
"hidden": 1,
|
"hidden": 1,
|
||||||
"label": "Variant Attributes",
|
"label": "Variant Attributes",
|
||||||
"mandatory_depends_on": "has_variants",
|
"mandatory_depends_on": "eval:(doc.has_variants || doc.variant_of) && doc.variant_based_on==='Item Attribute'",
|
||||||
"options": "Item Variant Attribute"
|
"options": "Item Variant Attribute"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user