Skip to content

Commit

Permalink
fix: attributes were mandatory for manufacturers
Browse files Browse the repository at this point in the history
(cherry picked from commit 434c2a1)
  • Loading branch information
PatrickDEissler authored and mergify[bot] committed Nov 18, 2023
1 parent d89a9a5 commit 00b9c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/stock/doctype/item/item.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
{
Expand Down

0 comments on commit 00b9c23

Please sign in to comment.