← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 821484] Re: sales order - tree view - custom filter "is bigger" or "is less" by date not working

 

Hi Mihai,

Yes..its a bug in 6.0.2. If you want to trace you can see in file
client/bin/widget_search/custom_filter.py in def _value_get actually the
problem is you have lang ro_RO installed so the term "greater then" is
translated to something "mai mare decat" and what the code does is
searching based on this value from the dict of fields that are stored in
english so they fall in an  exception returning {} for the domain. so is
the case for "less then".

To fix this the search should be made on index rather then value.


@ community team: The bug is reproducible on stable 6.0.2. can you please convert the question to bug.

Thanks,

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/821484

Title:
  sales order - tree view - custom filter "is bigger" or "is less" by
  date not working

Status in OpenERP Modules (addons):
  Invalid

Bug description:
  If I go to sales orders - tree view, I want to filter by date if is bigger or lower than a certain date, is not working
  returns all records.

  It works or "equal"

  But still not for creation date.

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/821484/+subscriptions


References