Odoo Help


Group by on listview

lam a bao
on 1/9/14, 12:20 AM 975 views

Hi everyone

I have :

 <record id="view_cvs_quotations_getall_product_tree" model="ir.ui.view">
        <field name="name">cvs.quotations.getall.product.tree</field>
        <field name="model">cvs.quotations.getall.product</field>
        <field name="type">tree</field>
        <field name="arch" type="xml">
            <tree string="Danh Sách" version="7.0">
                 <field name="saleordercode" context="{'group_by':'saleordercode'}">


But group by not working

Can you help me ?


Refer this question http://stackoverflow.com/questions/21250499 . Hope it helps

on 1/22/14, 1:08 AM

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 1/9/14, 1:48 AM

If you need to create a Group by like this you need to put this into Search view like this.

<filter string="SalesOrder" name="Saleorder" icon="terp-personal" context="{'group_by':'saleordercode'}"/>

You need to create a Search view for this not a tree view.

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 1/9/14, 12:20 AM
Seen: 975 times
Last updated: 3/16/15, 8:10 AM