Hello all
I want to sort lines on product  'default code' 
When we click on fill inventory and select location then All product list appear so I want to sort that basis on default code 
Thanks
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
Hello all
I want to sort lines on product  'default code' 
When we click on fill inventory and select location then All product list appear so I want to sort that basis on default code 
Thanks
class product_product(models.Model):
_inherit = 'product.product'
_order = 'default_code'
    default_code = fields.Char('Internal Reference', index=True)
Create an account today to enjoy exclusive features and engage with our awesome community!
Регистрация| Related Posts | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|  | 1 июл. 15  | 5031 | ||
|  | 11 сент. 16  | 26341 | ||
|  | 3 окт. 25  | 27955 | ||
|  | 4 июн. 21  | 40554 | ||
|  | 1 дек. 20  | 3296 |