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.
You can use either _order in your python file by inheriting the project.task model or by adding the default_order attribute by inheriting the tree view in your xml file.
in .py file:
_inherit = 'project.task'
_order = 'date_start desc'
in xml file:
<record id="view_task_tree2_inherited" model="ir.ui.view">
<field name="inherit_id" ref="project.view_task_tree2"/>
<field name="arch" type="xml">
<attribute name="default_order">date_start desc</attribute>
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: 4/8/15, 9:28 AM|
|Seen: 737 times|
|Last updated: 10/12/15, 9:01 AM|