fix: items not fetching in End Transit entry (backport #42358) (#42361)

fix: items not fetching in End Transit entry (#42358)

(cherry picked from commit 001e5b612b)

Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
mergify[bot]
2024-07-16 18:45:18 +05:30
committed by GitHub
parent 62fc42803f
commit b5a2e5a375

View File

@@ -2756,7 +2756,7 @@ def make_stock_in_entry(source_name, target_doc=None):
"batch_no": "batch_no",
},
"postprocess": update_item,
"condition": lambda doc: flt(doc.qty) - flt(doc.transferred_qty) > 0.01,
"condition": lambda doc: flt(doc.qty) - flt(doc.transferred_qty) > 0.00001,
},
},
target_doc,