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)
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
lip 15
|
4457 | ||
How to convert number to word in oddo?
Rozwiązane
|
|
11
wrz 16
|
25474 | |
Syntax of domains - operators
Rozwiązane
|
|
2
sty 23
|
26475 | |
|
4
cze 21
|
39539 | ||
|
1
gru 20
|
2731 |