Mayur Maheshwari(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-928233-mma into 
lp:openobject-addons.

Requested reviews:
  Rucha (Open ERP) (rpa-openerp)
Related bugs:
  Bug #928233 in OpenERP Addons: "Upstream Traceability button on production 
lot opens Downstream Traceability window"
  https://bugs.launchpad.net/openobject-addons/+bug/928233

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-928233-mma/+merge/92914

Hello,

        Stock: I Have set type1 variable for Upstream Traceability and 
Downstream Traceability

Thanks.
mma
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-928233-mma/+merge/92914
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-928233-mma.
=== modified file 'stock/wizard/stock_traceability.py'
--- stock/wizard/stock_traceability.py	2012-01-31 13:36:57 +0000
+++ stock/wizard/stock_traceability.py	2012-02-14 06:07:20 +0000
@@ -42,7 +42,8 @@
         lot_id = ids
         if context is None:
             context = {}
-        type1 = context.get('type', 'move_history_ids2')
+        type1 = context.get('type')
+        type1 = type1 or 'move_history_ids2'
         field = context.get('field', 'tracking_id')
         obj = self.pool.get('stock.move')
         ids = obj.search(cr, uid, [(field, 'in',lot_id)])

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to