Group_By: Can make a group by with a related field

Bug #531233 reported by Stephane Wirtel (OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Medium
Unassigned

Bug Description

We can't make a 'group_by' with a related field, Example, order_partner_id on the sale.order.line

Changed in openobject-server:
milestone: none → 5.2
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Richard (John) Nopkins@Servosoft (richard-nopkins) wrote :

is it going to be done on 6.0?
i wonder where has 5.2 gone :((

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hi john,

Currently group_by only supports Many2one and date & datetime type.

Thanks.

Revision history for this message
Richard (John) Nopkins@Servosoft (richard-nopkins) wrote :

up

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hi John,

Yess, you can definately group related fields of type many2one, date, datetime.
for more information you can refer Human Resourse module. we have group by on manager, department which in
turn are related fields of type many2one.

Thanks,

Changed in openobject-server:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.