Hiral Patel (OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-bug-1096206-hip into lp:openobject-addons.
Requested reviews: OpenERP Core Team (openerp) Related bugs: Bug #1096206 in OpenERP Addons: "[Trunk/7.0] survey pages must be ordered by survey, sequence not by sequence" https://bugs.launchpad.net/openobject-addons/+bug/1096206 For more details, see: https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1096206-hip/+merge/142084 -- https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1096206-hip/+merge/142084 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-1096206-hip.
=== modified file 'survey/survey.py' --- survey/survey.py 2012-12-06 14:56:32 +0000 +++ survey/survey.py 2013-01-07 10:33:25 +0000 @@ -216,7 +216,7 @@ _name = 'survey.page' _description = 'Survey Pages' _rec_name = 'title' - _order = 'sequence' + _order = 'survey_id DESC, sequence' _columns = { 'title': fields.char('Page Title', size=128, required=1), 'survey_id': fields.many2one('survey', 'Survey', ondelete='cascade'),
_______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : openerp-dev-gtk@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp