hi all,
i am trying to create a view to summarise the orderlines of a sale order according to analytic account
i have created a basic template in qweb
<templates>
<t t-name="web_example.action">
<t t-set="_id" t-value="_.uniqueId('export')"/>
<formclass="oe_import">
<div
<div >
<h2>
Order Summary
</h2>
<input type="hidden" name="session_id"
t-att-value="widget.session.session_id"/>
<div>
</div>
</form>
</t>
</templates>
the javascript code is minmal
openerp.web_example = function (instance) {
instance.web.client_actions.add('example.action', 'instance.web_example.Action');
};
i dont know how to get data from the orderline in to web template can anyone help, i am unable to find a reference to this in tutorials for openerp 7.
i am really on a dead line, please help