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

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #939790 in OpenERP Addons: "Automatic order point 
(create_automatic_op)only applied to products you purchase"
  https://bugs.launchpad.net/openobject-addons/+bug/939790

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

Hello,


       procurement: I have removed a domain of purchase

Thanks,
mma
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-939790-mma/+merge/97162
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-939790-mma.
=== modified file 'procurement/schedulers.py'
--- procurement/schedulers.py	2012-01-31 13:36:57 +0000
+++ procurement/schedulers.py	2012-03-13 09:24:21 +0000
@@ -176,7 +176,7 @@
         wf_service = netsvc.LocalService("workflow")
 
         warehouse_ids = warehouse_obj.search(cr, uid, [], context=context)
-        products_ids = product_obj.search(cr, uid, [('purchase_ok', '=', True)], order='id', context=context)
+        products_ids = product_obj.search(cr, uid, [], order='id', context=context)
 
         for warehouse in warehouse_obj.browse(cr, uid, warehouse_ids, context=context):
             context['warehouse'] = warehouse

_______________________________________________
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