Odoo Help

Welcome!

This community 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.

1

Template not updating after editing in website builder

By
odoo_fa
on 1/24/15, 5:05 AM 1,039 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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