fix: Stock Ledger report fix (#17343)
This commit is contained in:
parent
77b82894ff
commit
cb2c13fa50
@ -154,10 +154,10 @@ def get_opening_balance(filters, columns):
|
|||||||
"posting_date": filters.from_date,
|
"posting_date": filters.from_date,
|
||||||
"posting_time": "00:00:00"
|
"posting_time": "00:00:00"
|
||||||
})
|
})
|
||||||
row = [""]*len(columns)
|
row = {}
|
||||||
row[1] = _("'Opening'")
|
row["item_code"] = _("'Opening'")
|
||||||
for i, v in ((9, 'qty_after_transaction'), (11, 'valuation_rate'), (12, 'stock_value')):
|
for dummy, v in ((9, 'qty_after_transaction'), (11, 'valuation_rate'), (12, 'stock_value')):
|
||||||
row[i] = last_entry.get(v, 0)
|
row[v] = last_entry.get(v, 0)
|
||||||
|
|
||||||
return row
|
return row
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user