5505ef355c46fb0fbe9fc2988a309c80487de560
Since frontend to backend commit [1], links having `enable_editor=1` to enable edit mode were not working anymore in certain cases. Case 1 [OK]*: From frontend, click on `enable_editor=1` link without `/@/` in it. Case 2 [OK]: From frontend, click on `enable_editor=1` link with `/@/` in it. Case 3 [KO]*: From backend, click on `enable_editor=1` link without `/@/` in it. Case 4 [KO]: From backend, click on `enable_editor=1` link with `/@/` in it. This commit fixes case 4 and adds a test for all cases, while leaving case 3 commented as it will be fixed later with a larger fix related to URL change listener. * Note that we will probably change the behavior for case 1 and 3: if the version with /@/ + enable_editor=1 enters edit mode properly in both frontend and backend contexts (case 2 and 4), it's probably not worth having code to support case 1 and 3. The issue for case 4 was that it was trying to load the whole Odoo app inside of website preview iframe instead of making the parent window load that URL. [1]: https://github.com/odoo/odoo/commit/31cc10b91dc7762e23b4bde9b945be0c4ce3fe3b closes odoo/odoo#96054 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
…
…
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, ...
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.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%