From e70f2f72f1dc1314959c493bf27aa6649e77cdc4 Mon Sep 17 00:00:00 2001 From: "Harry (Open ERP)" Date: Mon, 22 Feb 2010 14:01:22 +0530 Subject: [PATCH 1/2] [FIX] crm: wrong view is define in Incomming Phonecall menu action bzr revid: hmo@tinyerp.com-20100222083122-fj9x60m70lwo0q07 --- addons/crm/crm_phonecall_menu.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/crm_phonecall_menu.xml b/addons/crm/crm_phonecall_menu.xml index 07dfb5b89e7..b67fb2b97ee 100644 --- a/addons/crm/crm_phonecall_menu.xml +++ b/addons/crm/crm_phonecall_menu.xml @@ -56,7 +56,7 @@ tree - + From 222ab7cd116bfbee0f4f7b0bb80bd8239a89e863 Mon Sep 17 00:00:00 2001 From: "olt@tinyerp.com" <> Date: Mon, 22 Feb 2010 16:07:24 +0100 Subject: [PATCH 2/2] [FIX] account: context argument was missing from method signature bzr revid: olt@tinyerp.com-20100222150724-o1dltc9hxc5hc3ek --- addons/account/account_move_line.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/addons/account/account_move_line.py b/addons/account/account_move_line.py index 9470c6fc01e..8355cf6be3c 100644 --- a/addons/account/account_move_line.py +++ b/addons/account/account_move_line.py @@ -283,7 +283,10 @@ class account_move_line(osv.osv): result.append((line.id, line.name)) return result - def _balance_search(self, cursor, user, obj, name, args): + def _balance_search(self, cursor, user, obj, name, args, domain=None, context=None): + if context is None: + context = {} + if not len(args): return [] where = ' and '.join(map(lambda x: '(abs(sum(debit-credit))'+x[1]+str(x[2])+')',args))