← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~camptocamp/stock-logistic-flows/7.0-stock_picking_priority-ids-domain-1297220-gbr into lp:stock-logistic-flows

 

Guewen Baconnier @ Camptocamp has proposed merging lp:~camptocamp/stock-logistic-flows/7.0-stock_picking_priority-ids-domain-1297220-gbr into lp:stock-logistic-flows.

Requested reviews:
  Stock and Logistic Core Editors (stock-logistic-core-editors)
Related bugs:
  Bug #1297220 in Stock And Logistic Flows: "stock_picking_priority: wrong domain"
  https://bugs.launchpad.net/stock-logistic-flows/+bug/1297220

For more details, see:
https://code.launchpad.net/~camptocamp/stock-logistic-flows/7.0-stock_picking_priority-ids-domain-1297220-gbr/+merge/212582

Fix lp:1297220
-- 
https://code.launchpad.net/~camptocamp/stock-logistic-flows/7.0-stock_picking_priority-ids-domain-1297220-gbr/+merge/212582
Your team Stock and Logistic Core Editors is requested to review the proposed merge of lp:~camptocamp/stock-logistic-flows/7.0-stock_picking_priority-ids-domain-1297220-gbr into lp:stock-logistic-flows.
=== modified file 'stock_picking_priority/picking_priority.py'
--- stock_picking_priority/picking_priority.py	2014-03-12 13:44:30 +0000
+++ stock_picking_priority/picking_priority.py	2014-03-25 11:10:15 +0000
@@ -57,7 +57,7 @@
                   ('move_lines', '!=', []),
                   ('state', 'in', ('confirmed', 'assigned'))]
         if ids:
-            domain += [('ids', 'in', ids)]
+            domain += [('id', 'in', ids)]
         picking_ids = self.search(cr, uid, domain,
                                   order='priority desc, min_date',
                                   context=context)


Follow ups