跳至內容
選單
此問題已被標幟
1 回覆
6604 瀏覽次數

I've been searching all over the internet and the odoo forums trying to figure out what these fields do:

  • attendee
  • avatar_model
  • use_contacts


So far I've come up with nothing. Anybody know how to use them?

頭像
捨棄
最佳答案

use_contacts:

    will use the model calendar.contacts to display a list of friend, coworkers, favorites, ...

    In module calendar, it uses this option for example. You don't want events from everybody by default, but only your colleague from your service


attendee:

   you can give a fields. Usually (user_ids, or partner_ids, ...). For each occurence in this fields, an icon will be displayed at top left of the event. 


avatar_model:

   if you use attendee, you can replace default font awesome icon with a picture / photo. to do it, you can give the model which will be used. Image will be generated with url: /web/image/[avatar_model]/[attendee_id from attendee]/image_small

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
6月 25
486
0
4月 19
3140
1
2月 16
8131
0
3月 15
4219
1
5月 25
621