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

hi

first i create a recurring appointment from the calendar but:

when a recurring appointment is create postgres in calendar.evet only keep one,

when your erase, you create more 

i like that they oriented me where the recurrences are saved

thanks you

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

Hi Eduardo,

The recurrent meetings are just stored as one record in the table 'calendar.event'.  If the recurrency is set on in combination with the interval then Odoo will compute all the future calendar items from the Python side. This means that if you create a recurring meeting for a year that you will still find one record in the table 'calendar.event' while seeing many in the tree or calendar view.

You can find the logic at calendar.py in the module 'calendar'. The most important part is at https://github.com/odoo/odoo/blob/3c45f08825b1a0de35f2027f7cb53977f2c11f08/addons/calendar/models/calendar.py#L1303-L1349


Regards,

Yenthe

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 10 15
3651
0
thg 5 24
1704
0
thg 9 22
2038
2
thg 8 22
4002
1
thg 11 19
4281