Files
odoo_source/addons
Nasreddin Boulif (bon) 156e2f1fc3 [FIX] website: get right access token for public visitor user
Current Behavior:

When we get the access token for a website visitor, we check if the
`self.env.user` is a public user. If it is, we return his id.

Expected behavior:

We should check the `request.env.user` instead since the visitor can
only be created through the frontend.

opw-2956186

Part-of: odoo/odoo#99181
2022-09-02 19:13:53 +02:00
..
2022-07-07 13:30:24 +02:00
2022-09-01 19:17:11 +02:00
2022-08-30 03:44:56 +02:00
2022-07-07 13:30:24 +02:00
2022-09-01 19:16:47 +02:00
2022-07-07 13:30:24 +02:00
2022-07-07 13:30:24 +02:00
2022-07-07 13:30:24 +02:00
2022-09-01 21:25:29 +02:00
2022-07-07 13:30:24 +02:00
2022-08-30 20:22:04 +02:00
2022-07-07 13:30:24 +02:00
2022-09-02 14:17:59 +02:00
2022-07-07 13:30:24 +02:00
2022-08-08 12:33:03 +02:00
2022-08-30 17:10:14 +02:00
2022-07-07 13:30:24 +02:00
2022-07-07 13:30:24 +02:00
2022-07-07 13:30:24 +02:00