i want to ask how can i change state on my odoo from 'confirmed' to 'In progress' using python i want code like this:
models.execute_kw(db, uid, password, 'mrp.production', 'write', [[ids], {'state': "In Progress"}])
i want to ask how can i change state on my odoo from 'confirmed' to 'In progress' using python i want code like this:
models.execute_kw(db, uid, password, 'mrp.production', 'write', [[ids], {'state': "In Progress"}])
We need to provide value of state field which has stored in database.
Try with following code:
models.execute_kw(db, uid, password, 'mrp.production', 'write', [ids], {'state': 'progress'})