تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3006 أدوات العرض
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
نوفمبر 17
4615
1
يوليو 24
1417
1
مارس 22
7501
1
مارس 15
550
0
مارس 15
3603