From fb45913b3bdf22c53f5406ad4f02e1dbdd77680e Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Fri, 16 Jun 2017 13:12:37 +0530 Subject: [PATCH] [fix] Patch for move account head from account to warehouse (#9325) --- ...move_account_head_from_account_to_warehouse_for_inventory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 09fbd76523a..b59d81831f1 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 @@ def execute(): 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