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.


Odoo8. Few models for reports

on 12/22/14, 1:06 PM 373 views


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

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

2 follower(s)


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