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,...) (#37252)
  • Loading branch information
FHenry authored Sep 26, 2023
1 parent 2cca37a commit 8051c2d
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 @@ -235,6 +235,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 @@ -666,7 +667,7 @@
"idx": 1,
"istable": 1,
"links": [],
"modified": "2023-02-06 11:00:07.042364",
"modified": "2023-09-26 13:42:11.410294",
"modified_by": "Administrator",
"module": "Selling",
"name": "Quotation Item",
Expand Down

0 comments on commit 8051c2d

Please sign in to comment.