[IMP]Improved code for groupby when domain is there.
[IMP]Improved code for groupby when domain is there.

--HG--
extra : convert_revision : kch%40tinyerp.com-20110525113949-r0kosu8r1bx1r6nv


havt/openerp-web,akretion/openerp-web,akretion/openerp-web,havt/openerp-web,havt/openerp-web,akretion/openerp-web,havt/openerp-web,havt/openerp-web