Skip to Content
Menu
This question has been flagged
1584 Views

Good morning,


I need your help...


I created my module for intervention management.
Everything works and I have a normal calendar view from my new module.
Now, I would like my events to appear on the calendar view of the Odoo calendar module.


For the moment I have created a template calandar_event in my module of the type:

inherit = 'calendar.event'

I tried to modify the calendar.view_calendar_event_calendar view without success.

I also tried to create a variable in my module of the type

event_ids = fields.Many2one('calendar.event',
store=True,
index=True)

And enter the values by hand:  

for calendar in self.event_id:                
alendar.start = self.date_start_reel

But that doesn't create a new event in my calendar.event module.

Any idea on how to set up?

Thank you very much in advance.

Avatar
Discard