Odoo Help


Custom view using qweb in openerp 7

on 6/22/15, 2:30 AM 1,154 views

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

<t t-name="web_example.action">
<t t-set="_id" t-value="_.uniqueId('export')"/>
<div >
Order Summary
<input type="hidden" name="session_id"


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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/22/15, 2:30 AM
Seen: 1154 times
Last updated: 6/22/15, 2:30 AM