This question has been flagged
1 Reply
5433 Views

I tried writing this:

<t t-call="SearchView"/>

This object is in the web base module: /addons/web/static/src/xml/base.xml in the line 1455

The field is loaded but I can't write in it. 

Am I missing anything? Is possible to do this?

I want to do this because I want to get the value in a JavaScript widget

I'm using OpenERP v7

Thanks in advance

Avatar
Discard
Best Answer

hi.you can try this code:

<t t-call="website_sale.search"><t t-set="search_class">test</t></t>

Avatar
Discard
Author

It didn't worked, I get this error: Runtime Error: Error: QWeb2: Template 'website_sale.search' not found But thanks anyway! By the way, I'm using OpenERP v7