mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
[fix] [minor] perpetual inventory related
This commit is contained in:
@@ -91,9 +91,6 @@ class StockController(AccountsController):
|
|||||||
return stock_ledger
|
return stock_ledger
|
||||||
|
|
||||||
def get_warehouse_account(self):
|
def get_warehouse_account(self):
|
||||||
for d in webnotes.conn.sql("select name from tabWarehouse"):
|
|
||||||
webnotes.bean("Warehouse", d[0]).save()
|
|
||||||
|
|
||||||
warehouse_account = dict(webnotes.conn.sql("""select master_name, name from tabAccount
|
warehouse_account = dict(webnotes.conn.sql("""select master_name, name from tabAccount
|
||||||
where account_type = 'Warehouse' and ifnull(master_name, '') != ''"""))
|
where account_type = 'Warehouse' and ifnull(master_name, '') != ''"""))
|
||||||
return warehouse_account
|
return warehouse_account
|
||||||
|
|||||||
Reference in New Issue
Block a user