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)
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
|
1
يوليو 15
|
5015 | ||
|
|
11
سبتمبر 16
|
26301 | ||
|
Syntax of domains - operators
تم الحل
|
|
3
أكتوبر 25
|
27891 | |
|
|
4
يونيو 21
|
40528 | ||
|
|
1
ديسمبر 20
|
3280 |