Odoo Help

1

Template not updating after editing in website builder

By
odoo_fa
on 1/24/15, 5:05 AM 1,434 views

I have the following simple template. It works fine in the website. If I make any changes to it it upates just fine. But if I edit the name or biography fields in the website editor and save it. Changes made in the code no longer appears in the website. I have tried upgrading the module, restarting the server but nothing works. The only thing that works is to uninstall the module and reinstall it. 

<template id="biography">
            <t t-call="website.layout">
                <t t-set="title">Academy</t>
                <div class="oe_structure"/>
                <div class="oe_structure">
                    <div class="container">
                        <h3 t-field="person.name"/>
                        <div t-field="person.biography"/>
                    </div>
                </div>
                <div class="oe_structure"/>
            </t>
        </template>

Anyone???

odoo_fa
on 2/9/15, 6:12 AM

Please help. This is important.

odoo_fa
on 2/28/15, 10:41 AM
0
Thanh Loyal
On 9/9/16, 5:57 AM

It's been a long time but same situation.

I found a work around but still need 1 uninstall:

My template id is 'website.pricing'

Template is stored in ir_ui_view table, so query:

select id, type,inherit_id,key,active from ir_ui_view where key='website.pricing';

Got id of the template in this table, now DELETE it.

Now if you try to refresh browser, it may say 500 - template not found.

Uninstall and reinstall your module, that will create a new ir_ui_view record

and now, changes in template source code will be updated when module is upgraded.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 1/24/15, 5:05 AM
Seen: 1434 times
Last updated: 9/9/16, 5:57 AM