Skip to content

Commit

Permalink
refactor: In Quotation Item, discount_and_margin section should have …
Browse files Browse the repository at this point in the history
…same collapsible_depends_on as other similar DocType (Sales Order Item,Sales Invoice Item,...) (#37272)
  • Loading branch information
FHenry authored Sep 29, 2023
1 parent 81c4279 commit 21c1c71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion erpnext/selling/doctype/quotation_item/quotation_item.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@
},
{
"collapsible": 1,
"collapsible_depends_on": "eval: doc.margin_type || doc.discount_amount",
"fieldname": "discount_and_margin",
"fieldtype": "Section Break",
"label": "Discount and Margin"
Expand Down Expand Up @@ -667,7 +668,7 @@
"idx": 1,
"istable": 1,
"links": [],
"modified": "2023-02-06 11:00:07.042364",
"modified": "2023-09-27 14:02:12.332407",
"modified_by": "Administrator",
"module": "Selling",
"name": "Quotation Item",
Expand Down

0 comments on commit 21c1c71

Please sign in to comment.