Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
Hello,


I have a question regarding creating qweb reports. I went through the link (https://www.odoo.com/documentation/8.0/reference/reports.html) dealing with qweb reports and would have a question since I start to understand but would like to further learn how to  modify or improve some of my reports.

I am curious how to find the connection of the conditions to the database. What I mean is f.e. "o.company_id.vat"

How can I find out to which field in which database table this expression is pointing to. This must be somewhere defined however I could not find the connection so far.

Thank you for clarifying.

Awatar
Odrzuć

Hi,

O is the current object, f.e sale.order(6,). then o.company_id.vat point to the many2one field in the current model. (ie. company_id) /on opening the many2one relation you can see a field named vat

Powiązane posty Odpowiedzi Widoki Czynność
1
lis 17
4619
1
lip 24
1421
1
mar 22
7502
1
mar 15
550
0
mar 15
3606