Skip to Content
Menú
This question has been flagged
1 Respondre
4321 Vistes

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.

Avatar
Descartar
Autor Best Answer



Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de juny 24
1420
3
d’ag. 18
6639
1
de març 15
6812
0
de jul. 21
4130
0
de set. 15
4772