← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 752923] Re: _order ca not be overwritten in inherited class

 

yes, previously when I changed manually in stock.picking model inherited
in sale it worked ! then I again tried with your provided module and it
didn't so there is some magic going on :)

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

Title:
  _order ca not be overwritten in inherited class

Status in OpenERP Server:
  Confirmed

Bug description:
  We try to modify the sort order as 
  _order = 'name desc'
  is not appropriate 

  Examples
  * restart numbering every year
  * change padding to accomodate for more recources 
  * using different prefixes.

  the module loads but the new sort order is not used


References