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)
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
1
7月 15
|
6199 | |||
|
11
9月 16
|
28018 | |||
|
3
10月 25
|
30851 | |||
|
4
6月 21
|
43070 | |||
|
1
12月 20
|
4924 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.