Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] website: fix opening the page manager in debug mode
Before this commit, opening the Page Manager in debug mode would throw an error, stating that the website.RecordFilter has a t-foreach with duplicated keys. As per the [owl documentation]: "Owl requires the presence of a t-key directive, to be able to properly reconcile renderings." and "A key should be a unique number or string." This commit fixes the keys to be the website id instead of the website object. [owl documentation]: https://github.com/odoo/owl/blob/master/doc/reference/templates.md#loops closes #104425 Signed-off-by: Romain Derie (rde) <rde@odoo.com>
- Loading branch information