[Warehouse] Prevent negative stock.

Task: https://accounts.openerp.com/web#id=10130&view_type=form&model=project.task&menu_id=3942&action=327
Pad: https://pad.odoo.com/p/r.KCBJWsVnxINg746v
It is not good to remove the negative stock tests, because we need them.
You could make the module not to install itself on runbot?

On Tue, Dec 23, 2014 at 12:46 PM, Chirag Dodiya <notifications@github.com>
wrote:

> In addons/purchase/test/fifo_price.yml
> <https://github.com/odoo/odoo/pull/4318#discussion-diff-22212101>:
>
> > @@ -258,128 +258,3 @@
> >      product = self.browse(cr, uid, ref("product_fifo_icecream"))
> >      assert round(product.standard_price) == round(150.0 / 1.2834), "Product price not updated accordingly. %s found instead of %s" %(product.standard_price, round(150.0/1.2834))
> >      assert product.qty_available == 0.0, 'Wrong quantity in stock after first reception'
> > --
>
> @jco-odoo <https://github.com/jco-odoo>
> what we should do for this negative stock test case?
> this test case will fail in case of module stock_negative because we
> prevent negative stock.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/odoo/odoo/pull/4318/files#r22212101>.
>