← Back to team overview

openerp-expert-framework team mailing list archive

Re: lp:~numerigraphe/openobject-server/trunk-read_group-having into lp:openobject-server

 

Hi Everyone,
I had a test on this great idea. (About one month ago, our customer
submitted the question.)
It works but I want to know how to define the views (maybe search view?)
to pass the having parameter to the function read_group(..... , having)  .

Thanks

 Andy Lu

2012/5/7 Numérigraphe <informatique@xxxxxxxxxxxxxxxx>

> It could indeed simplify the problem. I've pushed a quick hack in that
> direction at
> lp:~numerigraphe/openobject-server/trunk-read_group-having-alternate
> But when I try it, Postgres complains that I didn't group by date, state
> and every field I have a filter condition on.
> So I don't think it will work for our use case because we need to filter
> both before ( moves done, move dates...) and after grouping (total
> quantity).
> It's quite possible that I missed something, please just tell me.
> Lionel.
> --
>
> https://code.launchpad.net/~numerigraphe/openobject-server/trunk-read_group-having/+merge/104579
> Your team OpenERP Framework Experts is requested to review the proposed
> merge of lp:~numerigraphe/openobject-server/trunk-read_group-having into
> lp:openobject-server.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-expert-framework
> Post to     : openerp-expert-framework@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-expert-framework
> More help   : https://help.launchpad.net/ListHelp
>

-- 
https://code.launchpad.net/~numerigraphe/openobject-server/trunk-read_group-having/+merge/104579
Your team OpenERP Framework Experts is requested to review the proposed merge of lp:~numerigraphe/openobject-server/trunk-read_group-having into lp:openobject-server.


References