mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
(cherry picked from commit e6a1ad8016)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
@@ -399,7 +399,8 @@ class update_entries_after(object):
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Get dynamic incoming/outgoing rate
|
# Get dynamic incoming/outgoing rate
|
||||||
self.get_dynamic_incoming_outgoing_rate(sle)
|
if not self.args.get("sle_id"):
|
||||||
|
self.get_dynamic_incoming_outgoing_rate(sle)
|
||||||
|
|
||||||
if sle.serial_no:
|
if sle.serial_no:
|
||||||
self.get_serialized_values(sle)
|
self.get_serialized_values(sle)
|
||||||
@@ -439,7 +440,8 @@ class update_entries_after(object):
|
|||||||
sle.doctype="Stock Ledger Entry"
|
sle.doctype="Stock Ledger Entry"
|
||||||
frappe.get_doc(sle).db_update()
|
frappe.get_doc(sle).db_update()
|
||||||
|
|
||||||
self.update_outgoing_rate_on_transaction(sle)
|
if not self.args.get("sle_id"):
|
||||||
|
self.update_outgoing_rate_on_transaction(sle)
|
||||||
|
|
||||||
def validate_negative_stock(self, sle):
|
def validate_negative_stock(self, sle):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user