Issue fixed in stock reconciliation
This commit is contained in:
parent
b8108c68e9
commit
7ce737be3d
@ -62,8 +62,8 @@ class DocType:
|
|||||||
count += 1
|
count += 1
|
||||||
if count == 2:
|
if count == 2:
|
||||||
if s[0] != 'Item Code' or s[1] != 'Warehouse':
|
if s[0] != 'Item Code' or s[1] != 'Warehouse':
|
||||||
msgprint("First row of the attachment always should be 'Item Code, Warehouse, Quantity \
|
msgprint("First row of the attachment always should be same as template(Item Code, Warehouse, Quantity \
|
||||||
and Valuation Rate/Incoming Rate'", raise_exception=1)
|
and Valuation Rate/Incoming Rate)", raise_exception=1)
|
||||||
else:
|
else:
|
||||||
continue
|
continue
|
||||||
# validate
|
# validate
|
||||||
@ -199,7 +199,7 @@ class DocType:
|
|||||||
r = [cstr(i) for i in row] + [cstr(qty_diff), cstr(rate_diff)]
|
r = [cstr(i) for i in row] + [cstr(qty_diff), cstr(rate_diff)]
|
||||||
self.store_diff_info(r)
|
self.store_diff_info(r)
|
||||||
|
|
||||||
msgprint("Stock Reconciliation Completed Successfully...")
|
msgprint("Stock Reconciliation Completed Successfully...")
|
||||||
|
|
||||||
|
|
||||||
def store_diff_info(self, r):
|
def store_diff_info(self, r):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user