Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3025 Lượt xem
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.

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 17
4625
1
thg 7 24
1423
1
thg 3 22
7503
1
thg 3 15
550
0
thg 3 15
3611