fix: added a Reason for Rejection field for each items (#20828)

* fix: added a Reason for Rejection field for each items

* Update delivery_note_item.json

Co-authored-by: Nabin Hait <nabinhait@gmail.com>
This commit is contained in:
nmimsnikhil
2020-03-16 22:41:23 +05:30
committed by GitHub
parent 0dcd5a0f34
commit 7c0e89d785

View File

@@ -81,6 +81,8 @@
"accounting_dimensions_section",
"cost_center",
"dimension_col_break",
"reason_for_return_section_break",
"reason_for_return",
"section_break_72",
"page_break"
],
@@ -699,12 +701,26 @@
{
"fieldname": "dimension_col_break",
"fieldtype": "Column Break"
},
{
"depends_on": "eval:parent.is_return==1",
"fieldname": "reason_for_return",
"fieldtype": "Small Text",
"label": "Reason for Return",
"no_copy": 1
},
{
"default": "0",
"depends_on": "eval:parent.is_return==1",
"fieldname": "reason_for_return_section_break",
"fieldtype": "Section Break",
"label": "Reason For Return"
}
],
"idx": 1,
"istable": 1,
"links": [],
"modified": "2020-03-05 14:18:33.131672",
"modified": "2020-03-06 14:18:33.131672",
"modified_by": "Administrator",
"module": "Stock",
"name": "Delivery Note Item",
@@ -712,4 +728,4 @@
"permissions": [],
"sort_field": "modified",
"sort_order": "DESC"
}
}