Odoo Help
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.
is it possible to display a one2many field in a grouped by tree view within a form?
Title says it all: I have 2 models, foo.bar and foo.bar.line with a one2many relation. foo.bar.line has a text field on which it is useful to perform a "group by" : how can I show the foo.bar.lines within the foo.bar form view as a tree view with a group_by?
I've tried:
<field name="line_ids"
colspan='4' context="{'group_by': 'group_field }">
<tree....> </tree>
</field>
with little success.
Although this was possible at 6.1, I have not seen a way to do it at 7.0. http://www.zbeanztech.com/blog/filtering-one2many-fields-openerp
I converted your comment to answer and accepted it.
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.
RegisterOdoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.
Test it nowQuestion tools
Stats
Asked: 8/25/13, 2:19 PM |
Seen: 5270 times |
Last updated: 3/16/15, 8:10 AM |