Skip to Content
Menu
This question has been flagged

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



Avatar
Discard
Related Posts Replies Views Activity
0
May 19
3263
3
Aug 17
7869
0
May 15
3243
1
Mar 15
5540
1
Oct 24
162