diff options
| author | Sébastien Theys <seb@odoo.com> | 2019-02-06 09:50:46 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2019-02-06 09:50:46 +0000 |
| commit | 5a692c34174bd9b9f1460e8fb5df1028db7dcca5 (patch) | |
| tree | 9cbb4e89236ad08d7c38134290035b0da6c38d58 /addons/test_website/data/test_website_data.xml | |
| parent | 4a202440b8d9bbe8e93e1ae47b68159330c8836d (diff) | |
[FIX] website_sale: correctly set access token for cart recovery
The access token is automatically generated when calling `_get_share_url` but
for the cart recovery we don't use that standard method because we need to send
the user to a specific route, so we need to generate the access token manually.
Without this fix, the user will receive the link with access_token=False which
would lead to a 404 page.
Also added a test for the cart recovery flow.
PR: #30000
Diffstat (limited to 'addons/test_website/data/test_website_data.xml')
0 files changed, 0 insertions, 0 deletions
