stock reco fises
This commit is contained in:
parent
ed34ab43e8
commit
e998ccd82a
@ -192,8 +192,9 @@ class DocType(DocListController):
|
|||||||
def _insert_entries():
|
def _insert_entries():
|
||||||
if previous_stock_queue != [[row.qty, row.valuation_rate]]:
|
if previous_stock_queue != [[row.qty, row.valuation_rate]]:
|
||||||
# make entry as per attachment
|
# make entry as per attachment
|
||||||
self.insert_entries({"actual_qty": row.qty,
|
if row.qty:
|
||||||
"incoming_rate": flt(row.valuation_rate)}, row)
|
self.insert_entries({"actual_qty": row.qty,
|
||||||
|
"incoming_rate": flt(row.valuation_rate)}, row)
|
||||||
|
|
||||||
# Make reverse entry
|
# Make reverse entry
|
||||||
if previous_stock_qty:
|
if previous_stock_qty:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user