Skip to Content
Menu
This question has been flagged

Has anyone been able to add a calendar.event as a One2Many relation from another model in v11? Can you get it to work with recurring meetings?

I found this example for v8:

  • Project_Meetings: https://github.com/psa-odoo/paramz-odoo-addons/tree/master/project_meetings

I recreated the relationship between project.project and calendar.event using studio:

  • Added 'x_project' to 'calendar.event' as 'many2one' with object relation 'project.project'

  • Added 'x_meetings' to 'project.project' as 'one2many' with object relation 'calendar.event' (relation field 'x_project')

  • Added tab 'Meetings' with field 'x_meetings' to Project Form view

  • Added field 'x_Project' in tab 'Misc' to Meeting Form view

This works with events that do not have Recurrent checked.

Once I do the following the event no longer appears on the Project view, even tho the Project still appears on the Meeting View.

  • check Recurrent

  • Repeat Every '1' 'Week(s)'

  • End Date = Start date + 2 weeks

  • check Mon, Thur

Any ideas?

PS: The domain is empty on the list view of meetings on the Project Form.

Avatar
Discard
Related Posts Replies Views Activity
3
Mar 15
7472
1
Mar 23
787
0
Dec 22
1514
0
Jun 21
1843
0
Jun 20
4179