I'm creating a theme but sometimes I make mistakes. This usually results in an error 500 that I can fix but not this time. I'm trying all kinds of stuff as I have no manual meaning errors are frequent.
Error:
500: Internal Server Error
Template 'web.assets_common' not found
Trace:
..., line 190, in get_template raise QWebTemplateNotFound("Template %r not found" % name, template=origin_template) QWebTemplateNotFound: Template 'web.assets_common' not found
I was trying something like
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!--template id="assets" name="Assets" inherit_id="web.assets_common" active="True" >
<xpath expr="." position="replace">
<script type="text/javascript" src="/web/static/lib/underscore/underscore.js"/>
</xpath>
</template-->
</data>
</openerp>
I need some tips and tricks on how to handle problems like these. Ideally I would like to disable this theme via command line, or enable another one I know works. This is just one solution, maybe I should go into the database and fix there? I'm a bit lost as I can't access my backend anymore either.
cheers
Thanks Luke, I don't have enough karma yet to comment so I'll reply here. I requested access on the config files, my username also needs access to the database so once I get that and have tried your proposals I'll get back to you. EDIT: someone pls accept Luke's answer cheers.
Accepted his answer for you.
@Bruno,
No problem!