Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
4103 Visninger

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
Kassér
Forfatter Bedste svar



Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
jun. 24
1166
3
aug. 18
6438
1
mar. 15
6622
0
jul. 21
3901
0
sep. 15
4628