940f4ee875332dafa1f379970a7683be6b3ee606
After [1], the frontend website page manager was replaced by a custom 'website.page' list view and, with following commits on this PR, this view will be used with other website content models records (blog, event, forum, ...) too. The goal of this commit is to adapt the pages list code to the new Owl view system. Other changes (related to the view's behavior) were added in this commit: - "Page list action buttons" are removed, we keep only the action that triggers the form view of 'page.view_id' in debug mode. Page properties and SEO dialog can be accessed via the website iframe after clicking on the page entry in the list. The clone button should be later restored as part of the main website backend menu, still when viewing the iframe. Meanwhile, it is accessible in page properties. The 'delete' button is still accessible via page properties too but the standard "delete" button when selecting records in the list view will later be improved to act the same way. - The "website switcher" on top of the list view (to filter records which impact one website, generic + specific records) is added as part of the search view. Limitation: it will only be shown for pages at the moment. - A standard "Create" button is added and displays the form view dialog to create a new content record as with "+ New". Known bug: it only allows to create on the first website at the moment. - The click on page/content record should redirect to the corresponding url/website_url in iframe. This is now achieved via the new possibility of defining an action on the <tree> tag in the view definition. Known bugs/inconsistency: depending on the model, this opens in edit mode, in a new tab, ... behavior to unify in a future update. - The 'PagePropertiesDialogManager' is removed since the code is in Owl and we don't need page properties dialog on the list view anymore. Follows the merge of the "website in backend" task at [1]. [1]: https://github.com/odoo/odoo/commit/31cc10b91dc7762e23b4bde9b945be0c4ce3fe3b task-2889981 Part-of: odoo/odoo#98937
…
…
…
…
…
…
…
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%