Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
55376 Lượt xem

Hi all,


I would like to know if it is possible, to order the customers by creation date and not by name.

I would like to do it on the "Tree View" in the sale part.


Someones has an idea?


Thank you a lot,


Selverine        

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

You can override the python default order in the tree view

<tree default_order='create_date'>
    ....
</tree>
Ảnh đại diện
Huỷ bỏ
Tác giả

Perfect! Thank you a lot ;-)

How to order in descending order ?

<tree default_order='date desc'> Does the trick for me.(For descinding order)

Câu trả lời hay nhất

Just click on the Date column heading for documents to be reordered by date.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 25
4718
5
thg 11 23
43039
3
thg 9 23
9497
1
thg 9 22
3764
1
thg 6 22
12595