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

Hi,

how can remove Create and edit option from any Many2one relation eg: I want to remove create/edit option of selecting partner_id from every form and one2many fields. which methodology do I have to adopt

Thanks In Advance

頭像
捨棄
最佳答案

Hi,

You can refer the following free community app for the above requirement

web_m2x_options

Regards

頭像
捨棄
最佳答案

Hi Rijo:

I don't think there is any central place to do this. You will have to customize each of the forms/lists where the field appears and add a ​ options="{'no_create': True} attribute to the field using view inheritance. 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
9月 19
5182
1
4月 20
5590
4
12月 19
4152
1
12月 19
13638
2
8月 19
4748