I have some products which made in batches means their manufacturing order run manually. and some products a run automatic manufacturing order for those i have set reordering for them and i have automated action this with domain state = confirm
- Automated Actions
record.write({ - 'qty_producing': record.product_qty,
- })
- move_lines = record.move_raw_ids
- for move in move_lines:
- move.write({
- 'quantity_done': move.product_uom_qty,
- })
- record.button_mark_done()
this is on To order > 0
2.Automated Actions
record.action_replenish()
now the problem is the products i made in batches run the replenishment report by the system and make automatic MO which i dont want.
anything i am missing or doing wrong.