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