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
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!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
1
Jul 15
|
6074 | |||
|
11
Sep 16
|
27943 | |||
|
3
Oct 25
|
30643 | |||
|
4
Jun 21
|
42892 | |||
|
1
Dec 20
|
4775 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.