On 14/07/13 13:57 +0200, Guillem Barba Domingo wrote:
> 2013/7/8 Cédric Krier <[email protected]>
> > On 08/07/13 10:23 +0200, Guillem Barba Domingo wrote:
> > > - quantity_domain (or other name...): a 2-tuple with the operator in
> > first item
> > > and operand in second (if it is called from searcher of some quantity
> > field,
> > > it could be called using the searcher domain param as: domain[1:])
> > >   The implementation will add a HAVING clause over SUM(quantity).
> > > Previously, it ensure that supplied domain make sense to be applied to
> > > quantity (like it is done in _search_quantity_eval_domain() function).
> >
> > I don't like too much having a kind of half domain here.
> > I would prefer to use a SQL statement that will be changed into a
> > python-sql instance in the future.
> 
> 
> Absolutly agree.

Indeed I'm a little bit worry about the interest of this "having" clause
because the SQL query doesn't work with "with_childs".

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgp4mID9yCHLw.pgp
Description: PGP signature

Reply via email to