fix: set project link in item tables (#18233)

This commit is contained in:
Anurag Mishra 2019-07-12 12:05:39 +05:30 committed by Nabin Hait
parent 9b34eab93a
commit 53e7df078e
2 changed files with 11 additions and 3 deletions

View File

@ -450,7 +450,7 @@ def make_stock_entry(source_name, target_doc=None):
"field_map": {
"name": "material_request_item",
"parent": "material_request",
"uom": "stock_uom",
"uom": "stock_uom"
},
"postprocess": update_item,
"condition": lambda doc: doc.ordered_qty < doc.stock_qty

View File

@ -61,7 +61,8 @@
"ste_detail",
"column_break_51",
"transferred_qty",
"reference_purchase_receipt"
"reference_purchase_receipt",
"project"
],
"fields": [
{
@ -472,11 +473,18 @@
"label": "Reference Purchase Receipt",
"options": "Purchase Receipt",
"read_only": 1
},
{
"fieldname": "project",
"fieldtype": "Link",
"label": "Project",
"options": "Project",
"read_only": 1
}
],
"idx": 1,
"istable": 1,
"modified": "2019-06-14 11:58:41.958144",
"modified": "2019-07-12 11:34:53.190749",
"modified_by": "Administrator",
"module": "Stock",
"name": "Stock Entry Detail",