Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

What are attendee, avatar_mode, & use_contacts in calendar model?

By
Matthew Watkins
on 2/10/16, 7:08 AM 557 views

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?

1

Jérémy Kersten (jke)

--Jérémy Kersten (jke)--
2993
| 3 2 5
Jodoigne, Belgium
--Jérémy Kersten (jke)--

Jérémy is a member of the core R&D team since september 2013. He developed several projects for OpenERP version 8 including the eCommerce, the Google Calendar synchronization and the new product variants/configurator. Now, he manages Odoo website and themes for saas.

Jérémy Kersten (jke)
On 2/10/16, 9:22 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/10/16, 7:08 AM
Seen: 557 times
Last updated: 2/29/16, 7:48 PM