跳至内容
菜单
此问题已终结
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.

形象
丢弃

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

相关帖文 回复 查看 活动
1
11月 17
4253
1
7月 24
757
1
3月 22
6950
1
3月 15
550
0
3月 15
3070