mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
fixed repost function in warehouse
This commit is contained in:
@@ -68,7 +68,7 @@ class DocType:
|
|||||||
bl = sql("select name from tabBin where warehouse=%s", self.doc.name)
|
bl = sql("select name from tabBin where warehouse=%s", self.doc.name)
|
||||||
for b in bl:
|
for b in bl:
|
||||||
bobj = get_obj('Bin',b[0])
|
bobj = get_obj('Bin',b[0])
|
||||||
bobj.update_item_valuation()
|
bobj.update_item_valuation(posting_date = '2000-01-01', posting_time = '12:00')
|
||||||
|
|
||||||
sql("COMMIT")
|
sql("COMMIT")
|
||||||
sql("START TRANSACTION")
|
sql("START TRANSACTION")
|
||||||
|
|||||||
Reference in New Issue
Block a user