Skip to content
Snippets Groups Projects
Commit 322f0882 authored by Guillaume (gdi)'s avatar Guillaume (gdi)
Browse files

[FIX] website: prevent traceback in pages kanban view

Since [this other commit], a traceback is displayed when the user wants
to see the pages of his site when he has only one site. Steps to
reproduce the bug fixed by this commit:
- Launch Odoo without any app installed and without demo data
- Connect to the DB
- Activate the Website module
- Skip the configurator
- Choose a theme
- Discard edit mode
- Go to Site > Pages
- Go to kanban view

=> An error is displayed because the record has no website_id.

[this other commit]: https://github.com/odoo/odoo/commit/f23399db1dfb816a68ecf1be4367234b6e9a28bc



task-3316267

closes odoo/odoo#121016

Signed-off-by: default avatarRomain Derie (rde) <rde@odoo.com>
parent 968b4a28
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment