Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hello, I have a problem changing a record status using the workflow. When I created it, I had a problem with user permissions and creator could not read the model "mail.notification". This seems to have caused an unwanted record that I want to change state side effect.
The affected object is a "hr.expense.expense" and when I want to change state does not give me error but I do not it changes state. It seems as if the associated workflow instance was not properly created.
I solved the problem. Debugged on my development machine I have observed that for events activity workflow run is necessary to find records on 'wkf.workitem' with state = 'active' and the instance related with the registry on 'hr.expense.expense'.
These records were created with errors and were in a state workitem 'running'. I have changed and now runs the workflow.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/10/16, 11:49 AM|
|Seen: 779 times|
|Last updated: 5/11/16, 6:38 AM|