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

This commit is contained in:
rohitwaghchaure
2024-07-16 17:49:24 +05:30
committed by GitHub
parent 81e0b96c30
commit 001e5b612b

View File

@@ -2779,7 +2779,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,