[IMP] Reordering rules of consumables should not be possible

bzr revid: jco@openerp.com-20140327141015-m33u5r718dpczsiz
This commit is contained in:
Josse Colpaert 2014-03-27 15:10:15 +01:00
parent 6e7fb705ee
commit c48d2f08f3
2 changed files with 3 additions and 5 deletions

View File

@ -36,12 +36,10 @@ OpenERP has the capacity to manage lots and serial numbers ensuring compliance w
Key Features
------------
* Moves history and planning,
* Stock valuation (standard or average price, ...)
* Robustness faced with Inventory differences
* Automatic reordering rules
* Minimum stock rules
* Support for barcodes
* Rapid detection of mistakes through double entry system
* Traceability (Upstream / Downstream, Serial numbers, ...)
* Traceability (Serial Numbers, Packages, ...)
Dashboard / Reports for Warehouse Management will include:
----------------------------------------------------------

View File

@ -3784,7 +3784,7 @@ class stock_warehouse_orderpoint(osv.osv):
'logic': fields.selection([('max', 'Order to Max'), ('price', 'Best price (not yet active!)')], 'Reordering Mode', required=True),
'warehouse_id': fields.many2one('stock.warehouse', 'Warehouse', required=True, ondelete="cascade"),
'location_id': fields.many2one('stock.location', 'Location', required=True, ondelete="cascade"),
'product_id': fields.many2one('product.product', 'Product', required=True, ondelete='cascade', domain=[('type', '!=', 'service')]),
'product_id': fields.many2one('product.product', 'Product', required=True, ondelete='cascade', domain=[('type', '!=', 'service'), ('type', '!=', 'consu')]),
'product_uom': fields.many2one('product.uom', 'Product Unit of Measure', required=True),
'product_min_qty': fields.float('Minimum Quantity', required=True,
help="When the virtual stock goes below the Min Quantity specified for this field, OpenERP generates "\