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

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
3月 21
3802
2
3月 21
8887
0
12月 20
3673
0
5月 20
2795
0
1月 20
2279