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

Hi:

Is there a way to specify the sort order of the dropdown list in a Many2one field on a form via the GUI ? 

I'm aware that it's possible to write python code by overriding the class and specifying the _order. However, I'm looking for a way to specify it without modifying a python class - sort of similar to the default_order attribute that can be specified for a tree view.

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

unfortunately, there is no way :( name_search don't provide order arguments

الصورة الرمزية
إهمال
الكاتب

Thanks Ravi

أفضل إجابة

Ravi, "no way" means, w/o python or no way means absolute no way...?

(for EE14)

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مارس 21
3938
2
مارس 21
9068
0
ديسمبر 20
3839
0
مايو 20
2954
0
يناير 20
2413