[fix] Patch for move account head from account to warehouse (#9325)

This commit is contained in:
rohitwaghchaure 2017-06-16 13:12:37 +05:30 committed by Rushabh Mehta
parent dd986f659e
commit fb45913b3b

View File

@ -12,4 +12,4 @@ def execute():
set
account = (select name from `tabAccount`
where account_type = 'Stock' and
warehouse = `tabWarehouse`.name and is_group = 0)""")
warehouse = `tabWarehouse`.name and is_group = 0 limit 1)""")