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.
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.
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
|Asked: 1/24/15, 5:05 AM|
|Seen: 1039 times|
|Last updated: 9/9/16, 5:57 AM|