summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields
diff options
context:
space:
mode:
authorxmo-odoo <xmo@odoo.com>2017-10-25 15:31:58 +0200
committerGitHub <noreply@github.com>2017-10-25 15:31:58 +0200
commitf13cab6aa6d3181336abbfbe52dbc6330dab6fc2 (patch)
tree7f53f02c8fdeb5f0e74d67f47196021a3de1f786 /addons/web/static/tests/fields
parent598ac60a776134e35e023e6c5f7cd2c5876edf81 (diff)
[FIX] website_mail_channel: unsubscription
Fixes 27280fefa9e7cad0143aca688149f19ebdb684f6: * `partner_id` is an `int` not a recordset * qweb Response is lazy (the template is only looked up and rendered when we actually need to send the content over the wire) => the error would occur outside of the try..except block. Force rendering (`Response.flatten`) so we can handle the issue here * Uses the HttpCase interface to contact the server over a new socket (same as tours & al) because using `werkzeug.test.Client` would not use the correct cursor (?) and so the test data would not be visible
Diffstat (limited to 'addons/web/static/tests/fields')
0 files changed, 0 insertions, 0 deletions