Comment 0 for bug 894409

Revision history for this message
Aline (OpenERP) (apr-tinyerp) wrote :

Hello,

in v6.0 and in trunk (web), it seems that automatic procurement from minimum stock rules does not work.
the procurement is always in exception state "Not enough stock" while all the config seems good

I tested in both clients, it seems working fine in GTK (that is why i am reporting in web project)

steps to reproduce :

In a db with sales, purhcase, warehouse and mrp_jist installed :

1/ create a product with this config

    * stockable
    * make to stock
    * buy
    * set a supplier (only a name, no other rules)
    * specify a minimum stock rule (min 1, max 20)

2/ sell this product
3/ the log say that the procurement ... is in exception : Not Enough Stock

The procurement should create the request for quotation to purchase and having stock

It is weird ! i tested other cases :

- setting make to order on the product -> work fines (it is why i think the bug come from min stock rules and not mrp_jit)
- Changing delay or other dates -> does not change anything
- i tried also to launch scheduler manually but it stays in exception