[IMP] Useability sale order
authorFabien Pinckaers <fp@tinyerp.com>
Sun, 2 Oct 2011 13:57:59 +0000 (15:57 +0200)
committerFabien Pinckaers <fp@tinyerp.com>
Sun, 2 Oct 2011 13:57:59 +0000 (15:57 +0200)
bzr revid: fp@tinyerp.com-20111002135759-m6jinhcrog83aumi

addons/sale/sale.py

index 6f1b3ab..3d3bd8e 100644 (file)
@@ -1229,8 +1229,6 @@ class sale_config_picking_policy(osv.osv_memory):
             res.update({'order_policy': 'manual'})
         elif deli:
             res.update({'order_policy': 'picking'})
-        else:
-            return {}
         return {'value':res}
 
     def execute(self, cr, uid, ids, context=None):