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 created a workflow and I deleted him. This workflow has to create a meeting object when a project.task.work object is create. But now (workflow is delete) when I create a project.task.work object I have an error message on the log file(in French, I'm sorry):
IntegrityError: ERREUR: une instruction insert ou update sur la table Â« wkf_instance Â» viole la contrainte de clÃ© Ã©trangÃ¨re Â« wkf_instance_wkf_id_fkey Â» DÃTAIL : La clÃ© (wkf_id)=(10) n'est pas prÃ©sente dans la table Â« wkf Â».
It's normal I deleted this workflow, but why the program still search him?
thanks for help (and sorry for my English).
If I remember correctly, wkf_instance is a table which contain a row per object associated to a workflow. It seems that it tries to create an entry which references the workflow you removed.
So the question is why ? Could you give us the full query which generates this error, and could you cgeck in the database that your workflow has correctly been removed ?
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: 2/6/13, 10:14 AM|
|Seen: 2871 times|
|Last updated: 3/16/15, 8:10 AM|