Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
55412 มุมมอง

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        

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You can override the python default order in the tree view

<tree default_order='create_date'>
    ....
</tree>
อวตาร
ละทิ้ง
ผู้เขียน

Perfect! Thank you a lot ;-)

How to order in descending order ?

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

คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
เม.ย. 25
4739
5
พ.ย. 23
43075
Create dynamic tree view แก้ไขแล้ว
3
ก.ย. 23
9516
1
ก.ย. 22
3790
1
มิ.ย. 22
12613