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

I would automatically enable the filter "Everybody's calendars" by calling an act_window action mode calendar.

Something like this:

<pre>

        return {
            "type": "ir.actions.act_window",
            "name": self.name,
            "res_model": "calendar.event",
            "view_mode": "calendar,tree,form",
            "domain": domain,
            "context": {
                'default_filter_partner_ids_all': True,
            },
        }

</pre>

What is the simplest way ?

Thanks

Ảnh đại diện
Huỷ bỏ

I would also like to know this. Anyone?

Câu trả lời hay nhất

how to disable the everybody calendar through customization ?? i want to hide that field ,when user logged in.

plzzz help me to find out??

Ảnh đại diện
Huỷ bỏ

Did you ever figure this out??

Câu trả lời hay nhất

Hi,

try to pass search_default_filter_partner_ids_all hope this will help you.

Ảnh đại diện
Huỷ bỏ
Tác giả

Doesn't work

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 15
7155
5
thg 3 15
14580
6
thg 9 20
8973
2
thg 3 15
8458
0
thg 3 15
2260