Odoo Help


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

on 6/17/14, 9:35 AM 2,026 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

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

1 follower(s)


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