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

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
5717
1
أبريل 20
6033
4
ديسمبر 19
4648
1
ديسمبر 19
14255
2
أغسطس 19
5171