When creating a res_partner company, with "Auto-populate company data", if there is 'Insufficient Credit', AccessError, ConnectionError are caught, but not UserError. The user can therefore gets a vague js error "Uncaught TypeError: Cannot read property 'type' of undefined" We thus add exceptions.UserError among the caught exceptions. opw 2040646 closes odoo/odoo#35366 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>