From 233fbb08b2bc8b3516c838994953067cd7577444 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 10 Apr 2014 12:53:16 +0530 Subject: [PATCH] Minor fix --- erpnext/controllers/accounts_controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py index ec6fe1fa41..9758b99b7f 100644 --- a/erpnext/controllers/accounts_controller.py +++ b/erpnext/controllers/accounts_controller.py @@ -89,8 +89,8 @@ class AccountsController(TransactionBase): 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 \