mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-09 23:39:28 +00:00
fix: resolve conflicts
This commit is contained in:
@@ -1758,14 +1758,8 @@ class update_entries_after:
|
|||||||
if not item_code or not warehouse or (item_code, warehouse) in self.prev_sle_dict:
|
if not item_code or not warehouse or (item_code, warehouse) in self.prev_sle_dict:
|
||||||
return
|
return
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
if frappe.db.count(
|
|
||||||
"Stock Ledger Entry",
|
|
||||||
{"item_code": item_code, "warehouse": warehouse, "is_cancelled": 0},
|
|
||||||
=======
|
|
||||||
if frappe.db.exists(
|
if frappe.db.exists(
|
||||||
"Stock Ledger Entry", {"item_code": item_code, "warehouse": warehouse, "is_cancelled": 0}
|
"Stock Ledger Entry", {"item_code": item_code, "warehouse": warehouse, "is_cancelled": 0}
|
||||||
>>>>>>> 8287906 (Revert "refactor(stock): use db.count for the empty ledger check (backport #58486)")
|
|
||||||
):
|
):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user