[REM] account: Removed unnecessary arguments from name_search.

bzr revid: uco@tinyerp.com-20110620130128-548kbbjl8vm0kzwx
This commit is contained in:
Ujjvala Collins (OpenERP) 2011-06-20 18:31:28 +05:30
parent 907846f630
commit 128a017ac0
1 changed files with 1 additions and 1 deletions

View File

@ -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