Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I was unable to change / modify the code so that the Product Varaiants be sorted in particular order so that all the produts are dispalyed with same order of Attributes. Presently the attribute values are randomly ordered.
The Sequence number associated with Attributes helps only to sort the List view of Attirbute Values but when used within the codes, it is unable to sort. Please help to modify the code.
Product Variants - model product.product
The standard sort order in this model:
_order = 'default_code,name_template'
default_code = Internal Reference
name_template = Template Name
1) You set simmilar default_code for simmilar attibutes
2) Or, you create own module and change value _order = 'default code,name template' as you need.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/10/16, 11:04 PM|
|Seen: 854 times|
|Last updated: 5/11/16, 11:33 AM|