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.
We are on Odoo 8.
In the chart of accounts view, we can collapse or expand the view.
In the product categories view, even if we modify the action view type for "tree", lines are not collapsible and not expandable. All the categories appears.
How to get the same view than "chart of accounts" in the "product categories" view?
Thanks to help.
Where is the code who makes that little triangles appear in the "chart of accounts" view? May be I could imitate this code for my "product categories".
Here is our answer to this problem. It works now!
In the view product.product_category_list_view
Here, modify this field :
Child Field (field_parent) = child_id
In the product.product_category_action_form
Here modify these fields :
View Type (view_type) = Tree
Domain Value (domain) = [('parent_id','=',False)]
Now we have the little expand/collapse triangles at the left of our categories
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: 9/2/16, 5:41 PM|
|Seen: 1435 times|
|Last updated: 11/30/16, 5:24 AM|