openerp-wms-expert team mailing list archive
-
openerp-wms-expert team
-
Mailing list archive
-
Message #00014
lp:~numerigraphe/openobject-addons/trunk-stock-warehouse-internal-stock into lp:openobject-addons
Numérigraphe has proposed merging lp:~numerigraphe/openobject-addons/trunk-stock-warehouse-internal-stock into lp:openobject-addons.
Requested reviews:
OpenERP WMS Expert (openerp-wms-expert)
OpenERP Core Team (openerp)
Related bugs:
Bug #882481 in OpenERP Addons: "Warehouse stock locations should be internal location"
https://bugs.launchpad.net/openobject-addons/+bug/882481
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 = {
Follow ups