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.

0

How to add a user picklist in my module's calendar view?

By
Eduardo BP
on 6/5/15, 8:10 PM 756 views

Hi Odoo developers.

I have created a new model for Odoo 8 which represents one task. This Task model has a field Many2one to the 'res.users' model.

Besides, my model has a calendar view where I can visualize and create tasks.
But I would like to add to this view a combobox where I could choose or create a new user, like in a common field Many2one, to visualize this user's tasks in the calendar.

It's the same that appears in the calendar view of the Calendar module. I have already seen the source code of this module, specifically the javascript files, but I don't understand it very well and I don't know how to adapt it to my own model Task.

I suppose that I have to create an interface extension, but I have no idea how to do it and insert it into the calendar view of my model.

I have already read the official documentation about building interface extensions in 'https://www.odoo.com/documentation/8.0/howtos/web.html', but I haven't been able to resolve my problem with this tutorial.

Thank you.

0

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: 6/5/15, 8:10 PM
Seen: 756 times
Last updated: 6/5/15, 8:31 PM