Minor fix
diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py
index ec6fe1f..9758b99 100644
--- a/erpnext/controllers/accounts_controller.py
+++ b/erpnext/controllers/accounts_controller.py
@@ -89,8 +89,8 @@
 		if hasattr(self, "fname"):
 			for item in self.get(self.fname):
 				if item.get("item_code"):
-					args = item.as_dict()
-					args.update(self.as_dict())
+					args = self.as_dict()
+					args.update(item.as_dict())
 					ret = get_item_details(args)
 					for fieldname, value in ret.items():
 						if item.meta.get_field(fieldname) and \