mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-16 16:56:57 +00:00
fix: attributes were mandatory for manufacturers
(cherry picked from commit 434c2a1815)
This commit is contained in:
committed by
Mergify
parent
8d4a19cecf
commit
430980a836
@@ -505,7 +505,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"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user