By default odoo displays products by "Last added" i think that's a natural way to show them, but i need to display them by A to Z order
So i need to know how can i do this, if need to change something in a view, or i need to set a controller
thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
By default odoo displays products by "Last added" i think that's a natural way to show them, but i need to display them by A to Z order
So i need to know how can i do this, if need to change something in a view, or i need to set a controller
thanks
Hi Kevin,
Below will work in sorting products A to Z
On the website_sale controller
With this method --> _get_search_order(self, post)
you can add the Orders like "post.get('order', 'name asc')"
Thanks.
Watch one of these Youtube Videos
1. Linux - How to Order Odoo Website Shop Products Alphabetically, https://www.youtube.com/watch?v=kmHIK9T2Ef0
2. Windows - How to Order Odoo Website Shop Products Alphabetically, https://www.youtube.com/watch?v=msfruoLLzb8
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Nov 23
|
423 | ||
|
0
Sep 22
|
803 | ||
|
1
Apr 21
|
4447 | ||
|
1
Jan 19
|
3555 | ||
|
3
Apr 24
|
1522 |