@@ -124,6 +124,7 @@ page object.
124
124
.. code-block :: xml
125
125
:caption: ``/website_airproof/data/pages/about_us.xml``
126
126
127
+ <<<<<<< 23326f11955fceaede14c2bfdc0d5d601d5d1f5f
127
128
<odoo noupdate="1">
128
129
<record id="page_about_us" model="website.page">
129
130
<field name="name">About us</field>
@@ -142,6 +143,48 @@ page object.
142
143
</t>
143
144
</field>
144
145
</record>
146
+ ||||||| 0e78db48c1590e44f6a9d2818d6c3fa9534f11da
147
+ <odoo>
148
+ <data noupdate="1">
149
+ <record id="page_about_us" model="website.page">
150
+ <field name="name">About us</field>
151
+ <field name="is_published" eval="True"/>
152
+ <field name="key">website_airproof.page_about_us</field>
153
+ <field name="url">/about-us</field>
154
+ <field name="website_id" eval="1" />
155
+ <field name="type">qweb</field>
156
+ <field name="arch" type="xml">
157
+ <t t-name="website_airproof.page_about_us">
158
+ <t t-call="website.layout">
159
+ <div id="wrap" class="oe_structure">
160
+ <!-- Content -->
161
+ </div>
162
+ </t>
163
+ </t>
164
+ </field>
165
+ </record>
166
+ </data>
167
+ =======
168
+ <?xml version="1.0" encoding="utf-8"?>
169
+ <odoo noupdate="1">
170
+ <record id="page_about_us" model="website.page">
171
+ <field name="name">About us</field>
172
+ <field name="is_published" eval="True"/>
173
+ <field name="key">website_airproof.page_about_us</field>
174
+ <field name="url">/about-us</field>
175
+ <field name="website_id" eval="1" />
176
+ <field name="type">qweb</field>
177
+ <field name="arch" type="xml">
178
+ <t t-name="website_airproof.page_about_us">
179
+ <t t-call="website.layout">
180
+ <div id="wrap" class="oe_structure">
181
+ <!-- Content -->
182
+ </div>
183
+ </t>
184
+ </t>
185
+ </field>
186
+ </record>
187
+ >>>>>>> fce78c2967971d52e54a966d5d534c58b2898e7f
145
188
</odoo>
146
189
147
190
.. admonition :: Multiwebsite and `website_id`
@@ -325,8 +368,10 @@ Instantiate each building block (modified or not) for the page template:
325
368
.. code- block:: xml
326
369
:caption: `/ website_airproof/ views/ new_page_template_templates.xml`
327
370
328
- < template id =" new_page_template_s_airproof_text_block_h1 " inherit_id=" website_airproof.s_airproof_text_block_h1" primary=" True" / >
371
+ < template id =" new_page_template_airproof_faq_s_text_block_h1 " inherit_id=" website_airproof.s_airproof_text_block_h1" primary=" True" / >
329
372
< template id =" new_page_template_airproof_faq_s_title" inherit_id=" website.s_title" primary=" True" / >
373
+ < template id =" new_page_template_airproof_faq_s_faq_collapse" inherit_id=" website.s_faq_collapse" primary=" True" / >
374
+ < template id =" new_page_template_airproof_faq_s_call_to_action" inherit_id=" website.s_call_to_action" primary=" True" / >
330
375
331
376
Then, create your page template with some `t- snippet- call` within an `# wrap` as explained above:
332
377
0 commit comments