[FIX] Error when importing customers #3659

Since ir_fields is written with the new API, when importing a partner record with country/state name (not id), it will call the 'name_search' function with the new arguments, which ommit cr, uid, ids, context.

Fixes #3659
I was sticking to the original code as much as possible. Just limiting myself to removing the cr,uid,context dependencies