Daily updates from Odoo
Thursday, April 4, 2024
1 change · master
Code cleanup and technical improvements
The website editor's snippet menu has been reworked in the appointment and enterprise website areas to use Odoo's newer interface technology. This keeps the visible editing experience consistent while making the menu easier to maintain and evolve.
Original PR description
*: website_appointment, website_enterprise
As explained in the community commit:
This commit also takes advantage of the OWL rendering engine by moving most of the SnippetsMenu UI into a static frontend template (previously it was a backend view). The view is kept, to generate the list of snippets and still generate the options' HTML.
The structure of the list of snippets is now the following:
```
<snippets>
<category>
<title>Base Structure
<snippets>
<t t-snippet=""...../>
</snippets>
</category>
</snippets>
```
task-3323657
Community PR: https://github.com/odoo/odoo/pull/121295