Files
odoo_source/addons/website/models
Romain Derie 206f7e79d0 [FIX] website: prevent error to be raised instead of warning logging
There is no method attribute, it was replaced by original_endpoint since
httpocalypse at [1].
So entering this `if` condition will actually crash as the logger won't
be able to find what it needs.

[1]: https://github.com/odoo/odoo/commit/c3714eafbd07f7c7b98ff98bc604d76db4fe1c7b#diff-5f1b777eb0bc30f3f494ffe3e1522524cd0822f6c94c8644070a6db7c40b9c34L905

closes odoo/odoo#107629

X-original-commit: fd84ad8b262ddbee50b93481aa5c5ff11a4eb6f7
Signed-off-by: Julien Castiaux <juc@odoo.com>
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2022-12-09 18:37:48 +01:00
..
…
…