diff --git a/addons/stock_location/procurement_pull.py b/addons/stock_location/procurement_pull.py index 8b780d7a7a6..31316bf4eae 100644 --- a/addons/stock_location/procurement_pull.py +++ b/addons/stock_location/procurement_pull.py @@ -42,8 +42,6 @@ class procurement_order(osv.osv): for procurement in self.browse(cr, uid, ids): for line in procurement.product_id.flow_pull_ids: if line.location_id==procurement.location_id: - if not line.location_src_id: - self.write(cr, uid, procurement.id, {'message': _('No source location defined to generate the picking !')}) return (line.type_proc=='move') and (line.location_src_id) return False diff --git a/addons/stock_location/stock_location_view.xml b/addons/stock_location/stock_location_view.xml index eca4ade39fa..96d3fd84809 100644 --- a/addons/stock_location/stock_location_view.xml +++ b/addons/stock_location/stock_location_view.xml @@ -43,7 +43,7 @@ - + @@ -59,7 +59,7 @@ - +