← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~yann-papouin/ocb-addons/6.1-bug-1012470-fix-procurement-prioritization into lp:ocb-addons/6.1

 

Yann Papouin has proposed merging lp:~yann-papouin/ocb-addons/6.1-bug-1012470-fix-procurement-prioritization into lp:ocb-addons/6.1.

Requested reviews:
  OpenERP Community Backports Team (ocb)
Related bugs:
  Bug #1012470 in OpenERP Community Backports (Addons): "Wrong Prioritization of OpenERP v6.1 Procurement"
  https://bugs.launchpad.net/ocb-addons/+bug/1012470

For more details, see:
https://code.launchpad.net/~yann-papouin/ocb-addons/6.1-bug-1012470-fix-procurement-prioritization/+merge/204496

Backport from 7.0 and an existing OPW
-- 
https://code.launchpad.net/~yann-papouin/ocb-addons/6.1-bug-1012470-fix-procurement-prioritization/+merge/204496
Your team OpenERP Community Backports Team is requested to review the proposed merge of lp:~yann-papouin/ocb-addons/6.1-bug-1012470-fix-procurement-prioritization into lp:ocb-addons/6.1.
=== modified file 'procurement/procurement.py'
--- procurement/procurement.py	2013-02-27 11:25:39 +0000
+++ procurement/procurement.py	2014-02-03 14:07:57 +0000
@@ -81,7 +81,7 @@
     """
     _name = "procurement.order"
     _description = "Procurement"
-    _order = 'priority,date_planned desc'
+    _order = 'priority desc,date_planned'
     _log_create = False
     _columns = {
         'name': fields.char('Reason', size=64, required=True, help='Procurement name.'),


Follow ups