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

 How i can sort many2one field list result based on date

頭像
捨棄
最佳答案

Hi nobal,

(There are a couple of ways to do this.)

The name that is displayed for relational fields is the result of the name_get() method.

You can inherit that object and override name_get() and return data as you want. you may get some help from Here .

Hope this will help you...

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
2月 25
5975
1
12月 24
1501
1
11月 22
16073
3
8月 22
13126
2
8月 22
4578