Odoo Help


This community 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.


Custom view using qweb in openerp 7

on 6/22/15, 2:30 AM 493 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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