diff options
| author | Nasreddin (bon) <bon@odoo.com> | 2020-05-13 23:58:06 +0000 |
|---|---|---|
| committer | Nasreddin (bon) <bon@odoo.com> | 2020-05-14 15:52:24 +0000 |
| commit | ba7e7002f8ce06e759dda45457a85e92b8b9bf32 (patch) | |
| tree | 4c3a54c23aaeb8af7dfca3d871e08a1a42408782 /addons/web/static/lib/jquery.mjs.nestedSortable | |
| parent | 7b714a3bc727614c11ce1fc64f971f53f6db3137 (diff) | |
[FIX] website: Handle multiple homepage with same url and no website
Issue
- Install website
- Go to Website->Configuration->Pages
- Group By "View"
- Open and edit "Home" view of "My Website 2"
- Remove "Website" value and save
- It should list 2 same views for same url and no website
under one of the "Home" views
- Go to Configurations->Settings
- Create a new website
Traceback is thrown.
Cause
When fetching default homepage,
it retrieve more then one pages and then try
to assign it as homepage to new website.
Solution
Limit query to one to get only one homepage.
opw-2252208
closes odoo/odoo#51280
X-original-commit: 0698f3b0ccddf77a6c0c02812bb823da2d21b265
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions
