تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3261 أدوات العرض

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
سبتمبر 19
5160
1
أبريل 20
5581
4
ديسمبر 19
4136
1
ديسمبر 19
13624
2
أغسطس 19
4746