summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorDamien Bouvy <dbo@odoo.com>2019-09-03 07:35:43 +0000
committerDamien Bouvy <dbo@odoo.com>2019-09-03 07:38:57 +0000
commitf6ab2198d7aee40f3b32c64379c9e973bcf85598 (patch)
treec17452ad9f2437f10f0c99048462860f5c427fd4 /doc/reference
parent9e100a7d3b9a9b95797aa63e383caf985921070a (diff)
[FIX] website_sale: don't assert, just check
If the session is unbound before a call to this route, this assertion will raise. The point of this code is not to crash when the parameters are incorrect or the session unbound - the point is to avoid leaking incorrect information. Simply return an empty object to the JS code, it will stop polling after a single failed attempt instead of crashing. closes odoo/odoo#36356 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions