تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5179 أدوات العرض

So, I'm creating a report for the module I'm working on...

The only part that I haven't being able to add is the chatter which you add to your class through this 

 <div class="oe_chatter">                                                                                                                                          <field name="message_follower_ids" widget="mail_followers"/>

     <field name="message_ids" widget="mail_thread"/> 

  </div>


So far I've looked at the doc variable that is available in the QWEB template, Also pick at the model in partners to see If I can get something to display the list, but no luck so far.

Anyway this is what I'm trying to add to the report, Is there a way to list this on a qweb Report?



الصورة الرمزية
إهمال

Hello did you get help am trying to do the same

أفضل إجابة

Hi Gerado,
You can use the message_ids field in the report. Please try to add the for loop on the message_id field using "doc.message_ids" and fetch fields you want. Basically it is the "mail.message" model datas, so you can fetch the fields and its values in your report.

Hope it will help you. 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مارس 20
10028
2
مايو 19
6356
0
أغسطس 15
7124
0
سبتمبر 21
2787
2
مارس 21
4579