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

diff --git a/erpnext/patches/v8_0/move_account_head_from_account_to_warehouse_for_inventory.py b/erpnext/patches/v8_0/move_account_head_from_account_to_warehouse_for_inventory.py
index 09fbd76..b59d818 100644
--- a/erpnext/patches/v8_0/move_account_head_from_account_to_warehouse_for_inventory.py
+++ b/erpnext/patches/v8_0/move_account_head_from_account_to_warehouse_for_inventory.py
@@ -12,4 +12,4 @@
 		set 
 			account = (select name from `tabAccount` 
 				where account_type = 'Stock' and 
-				warehouse = `tabWarehouse`.name and is_group = 0)""")
\ No newline at end of file
+				warehouse = `tabWarehouse`.name and is_group = 0 limit 1)""")
\ No newline at end of file