Odoo Help


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.


How to display tags name in Views / Calendar Meetings

Keven Marin
on 9/29/14, 11:58 AM 1,397 views

I tried to modify the Meetings Calendar view to display tags after event's name. For now, I'm able to display IDs with categ_ids. How can I add the relation to display name of Meeting Type instead of IDs ?  

The following XML code is used to display categ ids in Calendar Meetings view:

<?xml version="1.0"?> <calendar string="Meetings" date_start="start" date_stop="stop" date_delay="duration" all_day="allday" display="[name] - [categ_ids.name]" color="color_partner_id" attendee="partner_ids" avatar_model="res.partner" mode="day" use_contacts="True" event_open_popup="271"> <field name="name"/> <field name="user_id"/> <field name="color_partner_id"/> <field name="partner_ids"/> <field name="categ_ids" widget="many2many_tags_name"/> </calendar>





Yannick Vaucher

--Yannick Vaucher--
| 5 7 9
Lausanne, Switzerland
--Yannick Vaucher--
Yannick Vaucher
On 8/7/15, 12:05 PM

You could probobly create a computed fields than appends your tags names.

tag_names = fields.Char(compute='_get_tag_names')



def _get_tag_names(self):

    self.tag_names = ', '.join(c.name for c in self.categ_ids)

Then use it in your calendar view:

display="[name] - [tag_names]"

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)


Asked: 9/29/14, 11:58 AM
Seen: 1397 times
Last updated: 8/7/15, 12:05 PM