← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 765559] Re: locations cannot be sorted

 

hi,

we have done as Olivier said:
"As a summary, I see only 2 valid "wishlist" points here, for which we can confirm this bug:
- "complete name" of locations should be a stored field, to make it possible to sort with it (it will not be very different from the default sort though, as the complete name obviously matches the tree structure too!)
- "parent location" could be added by default in the search view (for usability, even though it is simple to search on that using custom search)"

thanks

** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

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

Title:
  locations cannot be sorted

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  1. Currently the locations list has limited sorting features, because the "complete name" field is a function field that is not stored.
  Making it stored would improve this, but it must not be "stored=True", otherwise it will not be correctly recomputed when ancestor locations are modified!
  The store trigger must recompute all descendant locations too (child_of operator)!

  2. Adding the parent_location to the search view could be useful too.


  ===== original description =======
  the tree view of stock locations (not location structure - this one is OK) results in a list order by
   _order = 'parent_left'
  which is not human readable / undertandable

  together with the fact that function fields (Location Name = complete_name)  can't be sorted this list is not user friendly at all
  (sorting worked in V5)

  BTW
  IMHO the search view should have buttons for all "usages"
  as well as a search field for parent location

  please consider the missing sorting and filtering of function fields
  as a major issue for migration of complex installations to v6

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


References