fix: set project link in item tables (#18233)
This commit is contained in:
parent
9b34eab93a
commit
53e7df078e
@ -450,7 +450,7 @@ def make_stock_entry(source_name, target_doc=None):
|
|||||||
"field_map": {
|
"field_map": {
|
||||||
"name": "material_request_item",
|
"name": "material_request_item",
|
||||||
"parent": "material_request",
|
"parent": "material_request",
|
||||||
"uom": "stock_uom",
|
"uom": "stock_uom"
|
||||||
},
|
},
|
||||||
"postprocess": update_item,
|
"postprocess": update_item,
|
||||||
"condition": lambda doc: doc.ordered_qty < doc.stock_qty
|
"condition": lambda doc: doc.ordered_qty < doc.stock_qty
|
||||||
|
|||||||
@ -61,7 +61,8 @@
|
|||||||
"ste_detail",
|
"ste_detail",
|
||||||
"column_break_51",
|
"column_break_51",
|
||||||
"transferred_qty",
|
"transferred_qty",
|
||||||
"reference_purchase_receipt"
|
"reference_purchase_receipt",
|
||||||
|
"project"
|
||||||
],
|
],
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
@ -472,11 +473,18 @@
|
|||||||
"label": "Reference Purchase Receipt",
|
"label": "Reference Purchase Receipt",
|
||||||
"options": "Purchase Receipt",
|
"options": "Purchase Receipt",
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "project",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"label": "Project",
|
||||||
|
"options": "Project",
|
||||||
|
"read_only": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"idx": 1,
|
"idx": 1,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"modified": "2019-06-14 11:58:41.958144",
|
"modified": "2019-07-12 11:34:53.190749",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Stock",
|
"module": "Stock",
|
||||||
"name": "Stock Entry Detail",
|
"name": "Stock Entry Detail",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user