mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 23:49:19 +00:00
fix: Zero division error while fetching unconsumed materials (#27293)
`
(cherry picked from commit 9506c14d35)
# Conflicts:
# erpnext/stock/doctype/stock_entry/stock_entry.py
This commit is contained in:
@@ -2166,7 +2166,11 @@ class StockEntry(StockController):
|
|||||||
|
|
||||||
if material_request and material_request not in material_requests:
|
if material_request and material_request not in material_requests:
|
||||||
material_requests.append(material_request)
|
material_requests.append(material_request)
|
||||||
|
<<<<<<< HEAD
|
||||||
frappe.db.set_value("Material Request", material_request, "transfer_status", status)
|
frappe.db.set_value("Material Request", material_request, "transfer_status", status)
|
||||||
|
=======
|
||||||
|
frappe.db.set_value('Material Request', material_request, 'transfer_status', status)
|
||||||
|
>>>>>>> 9506c14d35 (fix: Zero division error while fetching unconsumed materials (#27293))
|
||||||
|
|
||||||
def update_items_for_process_loss(self):
|
def update_items_for_process_loss(self):
|
||||||
process_loss_dict = {}
|
process_loss_dict = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user