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.


Error group by : TypeError: read_group() got multiple values for keyword argument 'offset'

on 6/17/14, 9:35 AM 1,244 views


I would like make a "group by" on a many2one field but when i make this on the note view i have this error : TypeError: read_group() got multiple values for keyword argument 'offset' . 

I don't understand because it's not my first "group by" on the same field.

More, the display of the task_id field in the tree view work's.

It's possible that it's a bug ?

Watch my code :


class Note(osv.Model):
    _columns = {
        'task_id':fields.many2one('project.task','Tâche associée', select=True)



project.xml :

<record id="at_note_task_checklist_tree" model="ir.ui.view">
        <field name="name">at.note_task.checklist.tree</field>
        <field name="model">note.note</field>
        <field eval="15" name="priority"/>
        <field name="arch" type="xml">
            <tree string="Stages">
                <field name="name"/>
                <field name="open"/>
                <field name="stage_id"/>
                <field name="tag_ids" widget="many2many_tags"/>
                <field name="task_id"/>



<record id="view_note_filter" model="ir.ui.view">
            <field name="name">at.note.filter</field>
            <field name="model">note.note</field>
            <field name="arch" type="xml">
                <search string="Notes">                    
                    <filter name="open_true" string="Active" domain="[('open', '=', True)]"/>
                    <filter name="open_false" string="Archive" domain="[('open', '=', False)]"/>

                    <group expand="0" string="Grouper par...">
                        <filter string="task" context="{'group_by': 'task_id'}"/>



Fabien Pinckaers (fp)

--Fabien Pinckaers (fp)--
| 6 8 8
fsdsdfsdf, Belgium
--Fabien Pinckaers (fp)--

Odoo Founder & CEO

Fabien Pinckaers (fp)
On 6/17/14, 6:30 PM

You can not group on a many 2 many field

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

1 follower(s)


Asked: 6/17/14, 9:35 AM
Seen: 1244 times
Last updated: 3/16/15, 8:10 AM