Odoo Help

0

Odoo8. Few models for reports

By
Keywoker
on 12/22/14, 1:06 PM 663 views

Hello.

I knew many persons asked this question before but I haven't found no solution for myself.

I have a WebKit report which uses sale.order model. In my *.py file there is no database connection, just math functions. but I need to get data from another model, stock.quant, which isn't connected with the first one. 

I use Mako templates.

So, there is no database cursor, no uid to create database connection. What can I do to get the data?

Thank you so much

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

2 follower(s)

Stats

Asked: 12/22/14, 1:06 PM
Seen: 663 times
Last updated: 3/16/15, 8:10 AM