← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 889807] Re: listview groupby display fails for groups with count 0

 

** Changed in: openerp-web
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/889807

Title:
  listview groupby display fails for groups with count 0

Status in OpenERP Web:
  Fix Released

Bug description:
  I have implemented the _read_group_full method for:
    - project.task: stages
    - project.task: members (based on project_id in context)
    - crm.lead: stages

  There are two bugs in the web client that prevent the feature to work correctly:
    - list views, with group by having count==0 does not work, I had to
      put count==1 to avoid a crash. You can test on list view on
      opportunities, group by stage and apply the attached patch to
      emphasize the bug.
    - search view, when searching on a many2one, it does not put the ID
      of the record but the name_get in the context. Go to tasks, kanban
      view, group by users -> the context contains the name of the project
      and not the ID.

  The second part is an important bug as sometimes search will fail as
  name_search and name_get are not always symetric.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/889807/+subscriptions


References