summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorFanny He <fah@odoo.com>2019-08-01 05:54:54 +0000
committerFanny He <fah@odoo.com>2019-08-01 05:54:54 +0000
commit9022f2154c19e182202ef622b613a12a173d3d3f (patch)
tree6a3a08ff56d066f3bce20b357bc6bf44a0b81b0b /addons/web/static
parentc077ef05575d9677bce284195683f96c68386788 (diff)
[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>
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions