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

Can we specify 'no create and edit' option in action(js/py) for a many2one field? How can we pass this option

الصورة الرمزية
إهمال
أفضل إجابة

Hello,

options="{'no_create_edit': True}"

Add this in xml inside many2one field

Ex.
<field name="m2o_field" options="{'no_create_edit': True}"/>


الصورة الرمزية
إهمال

in question it is mentioned that it is js/python

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أكتوبر 19
6004
1
أكتوبر 21
4259
2
أكتوبر 20
4101
3
مايو 20
5288
0
يوليو 19
2857