Odoo Help

0

How to call function in qweb?

By
Mohammed Khamis
on 3/9/15, 6:49 AM 1,708 views

I try to call function but when I call it he raise for me message tell me he cant callable this function please help me whate can make this.

1
Zbik
On 3/9/15, 6:59 AM

If function is in the same model then you can use:

  <span t-esc="o.your_call_function()" />

or

<span t-esc="o.your_call_function(arg1,agr2,...)" />

0
Vasanth
On 3/9/15, 9:08 AM

Hi,

you can call the function like this:

<span t-esc="o.function(o.your_parameter_value)" />

0

HI,

For function calling in Qweb and more details just refer the following blog.

http://blog.emiprotechnologies.com/create-qweb-report-odoo/

I hope it will help you a lot.

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.

Register

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)

Stats

Asked: 3/9/15, 6:49 AM
Seen: 1708 times
Last updated: 3/16/15, 8:10 AM