Skip to content
Snippets Groups Projects
Commit c9d3653f authored by Arnold Moyaux's avatar Arnold Moyaux
Browse files

[FIX] mrp: state on workorder with 0 batch size


Usecase:
- Go on a BoM with a routing. Go on the first operation and set
the next operation(batch field) as 'Once a minimum number of products is
processed'.
- Set the batch size (minimum operation) to 0.
- Create a MO and plan it.
- The second work order has state 'pending' instead of 'ready'

It happens because the system automatically set the first wo as
'ready' and the following as 'pending' and don't check the batch
and batch_size.

closes odoo/odoo#32628

Signed-off-by: default avatarSimon Lejeune (sle) <sle@openerp.com>
parent 2a88e019
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment