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)
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
1
jul 15
|
5181 | |||
|
11
sept 16
|
26552 | |||
|
Syntax of domains - operators
Resuelto
|
3
oct 25
|
28312 | ||
|
4
jun 21
|
40756 | |||
|
1
dic 20
|
3469 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.