← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

BTW - as already mentioned very often
to get a clean design it should be possible to specify the sort multiple criteria  (also) in the xml file, because the same resource should be sorted according to the specific needs of the form.
Exmample :
account_move_line or stock_move
sort by
* partner_id
* period
* date
* account
* date_due 
* stock_location
* product_id
* company_id
.... and a lot of combinations

this would solve all problems and would allow to specify "default"
filters  per user

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