Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4311 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 6 24
1393
3
thg 8 18
6624
1
thg 3 15
6810
0
thg 7 21
4112
0
thg 9 15
4760