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)
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
1
juil. 15
|
5131 | |||
|
11
sept. 16
|
26485 | |||
|
3
oct. 25
|
28191 | |||
|
4
juin 21
|
40655 | |||
|
1
déc. 20
|
3397 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.