Odoo Help


This community 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.


Group by on listview

lam a bao
on 1/9/14, 12:20 AM 634 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


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