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

 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...

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
9月 25
2158
2
2月 25
6732
1
11月 22
16661
3
8月 22
14082
2
8月 22
5141