← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 889807] Re: group by full: group by in list, many2one in search

 

** Attachment added: "server_group_full.diff"
   https://bugs.launchpad.net/bugs/889807/+attachment/2595366/+files/server_group_full.diff

** Changed in: openerp-web
     Assignee: (unassigned) => OpenERP R&D Web Team (openerp-dev-web)

-- 
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:
  group by full: group by in list, many2one in search

Status in OpenERP Web:
  Confirmed

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