Recently in the tree view of Quotations and Sales Orders, the sorting is a little goofed. It appears to stop at SO999 and not show any more recent orders unless i have users click date twice to sort to the most recent. Any way I can fix this default behavior in the view config? Thanks!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
11493
查看
Hi,
_order Name of the fields used to sort the results of the search and read methods.
Default value: 'id'.
Examples:
_order = "name"
_order = "date_order desc"
in model sale.order
_order = 'name desc'
so you can modifiy this line in sale.py to
_order = 'id desc'
or create a new module to overwrite _order.
I too have this problem, when I make the changes nothing happens. I have updated the sales module as well. EDIT: I had to restart the server, not upgrade the module and it works now.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
8月 25
|
267 | ||
|
3
2月 25
|
1425 | ||
|
3
1月 25
|
4075 | ||
|
0
12月 24
|
1054 | ||
|
1
7月 25
|
2053 |