Skip to content

Commit 785773b

Browse files
diptanilsahamergify[bot]
authored andcommitted
fix: material request on receive notification condition
(cherry picked from commit 96aa37e)
1 parent c51bc69 commit 785773b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

erpnext/manufacturing/notification/material_request_receipt_notification/material_request_receipt_notification.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"attach_print": 0,
33
"channel": "Email",
44
"condition": "doc.status == \"Received\" or doc.status == \"Partially Received\"",
5+
"condition_type": "Python",
56
"creation": "2019-04-29 11:53:23.981418",
67
"days_in_advance": 0,
78
"docstatus": 0,
@@ -11,16 +12,18 @@
1112
"event": "Value Change",
1213
"idx": 0,
1314
"is_standard": 1,
15+
"message": "<p><b>{{ _(\"Material Request Type\") }}</b>: {{ doc.material_request_type }}<br>\n<b>{{ _(\"Company\") }}</b>: {{ doc.company }}</p>\n\n<h3>{{ _(\"Order Summary\") }}</h3>\n\n<table border=2 >\n <tr align=\"center\">\n <th>{{ _(\"Item Name\") }}</th>\n <th>{{ _(\"Received Quantity\") }}</th>\n </tr>\n {% for item in doc.items %}\n {% if frappe.utils.flt(item.received_qty, 2) > 0.0 %}\n <tr align=\"center\">\n <td>{{ item.item_code }}</td>\n <td>{{ frappe.utils.flt(item.received_qty, 2) }}</td>\n </tr>\n {% endif %}\n {% endfor %}\n</table>\n",
1416
"message_type": "HTML",
1517
"method": "",
16-
"modified": "2023-11-17 08:53:29.525296",
18+
"minutes_offset": 0,
19+
"modified": "2026-02-23 17:41:43.982194",
1720
"modified_by": "Administrator",
1821
"module": "Manufacturing",
1922
"name": "Material Request Receipt Notification",
2023
"owner": "Administrator",
2124
"recipients": [
2225
{
23-
"receiver_by_document_field": "requested_by"
26+
"receiver_by_document_field": "owner"
2427
}
2528
],
2629
"send_system_notification": 0,

0 commit comments

Comments
 (0)