Files
odoo_source/addons
Fanny He 9022f2154c [FIX] partner_autocomplete: UserError instead of traceback when no credits
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>
2019-08-01 05:54:54 +00:00
..
2019-07-25 14:26:16 +00:00
2019-07-29 09:04:11 +00:00