From 128a017ac04e8fe7f311147b652d9fe35d9d29dd Mon Sep 17 00:00:00 2001 From: "Ujjvala Collins (OpenERP)" Date: Mon, 20 Jun 2011 18:31:28 +0530 Subject: [PATCH] [REM] account: Removed unnecessary arguments from name_search. bzr revid: uco@tinyerp.com-20110620130128-548kbbjl8vm0kzwx --- addons/account/wizard/account_invoice_refund.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/wizard/account_invoice_refund.py b/addons/account/wizard/account_invoice_refund.py index d8cb18e540c..8de1dc79bfb 100644 --- a/addons/account/wizard/account_invoice_refund.py +++ b/addons/account/wizard/account_invoice_refund.py @@ -71,7 +71,7 @@ class account_invoice_refund(osv.osv_memory): (type == 'in_refund') and 'purchase' for field in res['fields']: if field == 'journal_id': - journal_select = journal_obj._name_search(cr, uid, '', [('type', '=', journal_type), ('company_id','child_of',[company_id])], context=context, limit=None, name_get_uid=1) + journal_select = journal_obj._name_search(cr, uid, '', [('type', '=', journal_type), ('company_id','child_of',[company_id])], context=context) res['fields'][field]['selection'] = journal_select return res