fix: incorrect valuation rate calculation in gross profit report

This commit is contained in:
Rohit Waghchaure
2021-07-20 18:19:15 +05:30
parent ce79faa738
commit c14aa45720
8 changed files with 12 additions and 9 deletions

View File

@@ -407,6 +407,7 @@ def get_batch_no(doctype, txt, searchfield, start, page_len, filters):
INNER JOIN `tabBatch` batch on sle.batch_no = batch.name
where
batch.disabled = 0
and sle.is_cancelled = 0
and sle.item_code = %(item_code)s
and sle.warehouse = %(warehouse)s
and (sle.batch_no like %(txt)s