53920fae31bda506ef30f7f218071791bb11a814
Before this commit, if you created a page with the same name as another one (which is allowed) it would set the same key for that second page. Indeed, the code was setting correctly the path uniqueness but it was then setting the key based on the name and not on the unique url we found free. Now, the key is correctly uniquely set and even better, it is now completely independant from the url and has its own 'find unique' method to be sure it is correctly working. It was not clever to have key & url being linked. To be more clear: 1. Create page 'aboutus' key is 'website.aboutus' name is 'aboutus' url is '/aboutus' 2. Create page 'aboutus' -> key is 'website.aboutus' name is 'aboutus' url is '/aboutus-1' Problem: key should be unique (for t-call for specific files & website_version) Cause: key is set based on name which is not checking for uniqueness like url. Two possible solutions: 1. Set key based on url (which is being checked for uniqueness) 2. Create & Use a specific method to get unique key Fixed with solution 2 which is more clean. -- It also fix an invisible 'bug': Saving a page being in menu would cause the menu's URL to get it's trailing '/' to be removed. It was only a problem when you were getting the warning about dependencies (the menu wouldn't be recognized as dependencies because of the removed '/')
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%