← Back to team overview

openerp-wms-expert team mailing list archive

lp:~numerigraphe/openobject-addons/trunk-stock-warehouse-internal-stock into lp:openobject-addons

 

You have been requested to review the proposed merge of lp:~numerigraphe/openobject-addons/trunk-stock-warehouse-internal-stock into lp:openobject-addons.

For more details, see:
https://code.launchpad.net/~numerigraphe/openobject-addons/trunk-stock-warehouse-internal-stock/+merge/80547

This reduces the risk of misconfiguration of warehouses - see #882481.
Lionel Sausin

-- 
https://code.launchpad.net/~numerigraphe/openobject-addons/trunk-stock-warehouse-internal-stock/+merge/80547
Your team OpenERP WMS Expert is requested to review the proposed merge of lp:~numerigraphe/openobject-addons/trunk-stock-warehouse-internal-stock into lp:openobject-addons.
=== modified file 'stock/stock.py'
--- stock/stock.py	2011-10-11 14:03:35 +0000
+++ stock/stock.py	2011-10-27 10:09:24 +0000
@@ -2686,7 +2686,7 @@
         'company_id': fields.many2one('res.company', 'Company', required=True, select=True),
         'partner_address_id': fields.many2one('res.partner.address', 'Owner Address'),
         'lot_input_id': fields.many2one('stock.location', 'Location Input', required=True, domain=[('usage','<>','view')]),
-        'lot_stock_id': fields.many2one('stock.location', 'Location Stock', required=True, domain=[('usage','<>','view')]),
+        'lot_stock_id': fields.many2one('stock.location', 'Location Stock', required=True, domain=[('usage','=','internal')]),
         'lot_output_id': fields.many2one('stock.location', 'Location Output', required=True, domain=[('usage','<>','view')]),
     }
     _defaults = {


References