fix: attributes were mandatory for manufacturers

(cherry picked from commit 434c2a1815)
This commit is contained in:
PatrickDenis-stack
2023-11-18 11:16:06 +01:00
committed by Mergify
parent d89a9a5bfd
commit 00b9c2326c

View File

@@ -504,7 +504,7 @@
"fieldtype": "Table",
"hidden": 1,
"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"
},
{