When Group By Filter is applied with column with 0.0 value, it is not rendered properly

Bug #693343 reported by Ivan Wirawan
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Invalid
Undecided
OpenERP's Framework R&D
Odoo Web Client
Invalid
Undecided
Unassigned

Bug Description

I'm using trunk GTK client-web revision 4151.

When creating a search view with Group By filter on column that have 0 value, the record with 0.0 value is not rendered.

To reproduce:
1. Add the following line to the account.invoice.select view:
                         <filter string="Total" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'amount_total'}"/>
2. Access the view and execute the Total Group By, ensure that you have records with 0.0

Revision history for this message
Ivan Wirawan (niecw) wrote :

It also happened to negative values.

affects: openobject-client → openobject-server
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-client-web:
status: New → Invalid
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

we can not perform a group_by on a computed field, it's a limitation of the framework.

Changed in openobject-server:
status: Confirmed → Invalid
Revision history for this message
Cristian Salamea (ovnicraft) wrote :

@Fabien if this function field si set store=True can solve this? and another hand group_by feature was not created for this?

regards,

Revision history for this message
xrg (xrg) wrote : Re: [Bug 693343] Re: When Group By Filter is applied with column with 0.0 value, it is not rendered properly

On Tuesday 28 December 2010, you wrote:
> @Fabien if this function field si set store=True can solve this? and
> another hand group_by feature was not created for this?

I don't think so. Even in that case, my wild guess is that parent records'
sums wouldn't be updated correctly when children ones change.

It is a known issue, we appreciate it and certainly going to handle it after
v6.0. So, please bear with it for the moment.

Changed in openobject-server:
importance: Low → Undecided
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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