跳至内容
菜单
此问题已终结
1 回复
4094 查看

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
6月 24
1164
3
8月 18
6428
1
3月 15
6606
0
7月 21
3886
0
9月 15
4623