← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 766283] Re: product not sorted by default_code, name_template

 

IMHO the problem is generic - the server (or client) must support
sorting ( and filtering ) of functional and translated fields.

... objects which contain code and name:
-> only relevant if code can be null and not unique.

we encounter the same problem for all analytic lists
Example -
Accounting Entries Analysis - group by Account in
account//report/account_entries_report_view.xml
gives a completely erratic list - very important but not usable in day to day business
(propably not if accounts are loaded in code sequence hance code and id have the same sort order - but we can not assume or guarantee that this is alwas the case in a living system where accounts are added later.) 

click on "Group by Account" MUST return a sorted list to be usable immediately.
currently not even click on column header to sort produces something usable. 

it's really a show stopper

-- 
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/766283

Title:
  product not sorted by default_code,name_template

Status in OpenERP Modules (addons):
  Opinion

Bug description:
  product/product.py
  _order = 'default_code,name_template'
  only sorts by default_code
  if default_code is empty (which is an option as default_code is not required) data are displayed "random"
  (but at least can be sorted by product name with click on header - but this is not userfriendly)
  as described also in
  https://bugs.launchpad.net/bugs/765559


References