← Back to team overview

openerp-expert-framework team mailing list archive

Re: [Bug 634634] Re: Searching on float fields does not work properly

 

On Friday 10 September 2010 P. Christeas wrote:
> On Friday 10 September 2010, you wrote:
> > ** Patch added: "expression.py.diff"
> >   
> > https://bugs.launchpad.net/bugs/634634/+attachment/1563966/+files/expressi
> > on.py.diff
> 
> Your patch is not wrong, but it makes me wonder:
> 
> why do we have the _symbol_c and _symbol_f like that now?
> Why do we default to a 0.0 float, when we could even have NULL values?
> 
> I guess, blindly changing them might break *a lot* of assumptions in 
modules, 
> but shouldn't we think of null values and also perform less conversions?
> 
> _______________________________________________
> 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
> 

I strongly vote for soring and showing Null values

the current way it is not possible to distinguish for Example between 
0.0 °C Temperature and not data recorded
-- 
regards
Ferdinand Gassauer
ChriCar Beteiligungs- und Beratungs- GmbH
Official OpenERP Partner



References