October 2019
Beginner to intermediate
504 pages
12h 57m
English
Let's say we want to create a unique page for art approval. We know that we want this to have a specific layout and look different to the rest of the site, so we create a specific layout page for it. In this example, we will just list a few recommendations for customers when approving the art. You can, however, extend this with any layout you choose.
We begin by creating a pages.xml file and pasting in the following code:
<odoo> <record id="services_page" model="website.page"> <field name="name">Art Approval</field> <field name="website_published">True</field> <field name="url">/approval</field> <field name="type">qweb</field> <field name="key">theme_tutorial.artapproval_page</field> <field name="arch" type="xml"> ...
Read now
Unlock full access