I'm using odoo 9 and i want to display delivery orders in a way that the last one (the most recent) is the first to display automatically . I tried to apply a filter to do this order but there is no solution. The only solution that i found is to press on the field date to make it in order that the last delivery created is shows the first. Is there a solution to do that automatically espacially that the sale orders display in thist way? Any idea for help please ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2
Replies
2052
Views
You can do this via XML:
Use the default_order attribute of the Tree View:
Hi,
You can inherit the corresponding model and give the order attribute for the model.
Example
Class StockPicking(models.Model):
_inherit = 'stock.picking'
_order = 'field_name desc'
Thanks
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Sep 23
|
496 | ||
|
0
Sep 23
|
450 | ||
|
2
Feb 23
|
9252 | ||
|
6
Oct 23
|
19265 | ||
|
3
Mar 24
|
7685 |