跳至內容
選單
此問題已被標幟
3 回覆
7696 瀏覽次數

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

頭像
捨棄

I would also like to know this. Anyone?

最佳答案

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

plzzz help me to find out??

頭像
捨棄

Did you ever figure this out??

最佳答案

Hi,

try to pass search_default_filter_partner_ids_all hope this will help you.

頭像
捨棄
作者

Doesn't work

相關帖文 回覆 瀏覽次數 活動
1
4月 15
7139
5
3月 15
14546
6
9月 20
8950
2
3月 15
8448
0
3月 15
2260