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.
Is it possible connect newly created workflow with existing object or menu? (I created workflow from Setting->Technical->Workflow)
First i created a workflow from Setting->Technical->Workflow menu.
I want to know three this
1. Is it possible to connect this workflow with newly created Menu?
2. Is it possible to connect this workflow with newly created Object?
3. Is it possible to call exisiting workflow in a new menu?
Please help me anyone...
Providing some clarification to Dipesh's answer. In OpenERP Menu Item can only call actions. There are 6 types of actions that I'm aware of: Window, Report, URL, Window Close (special action to close the current window), Client, and Server. So, you cannot, using the tools available in the OpenERP framework, call workflow transitions (we execute the workflow by executing it's transition) directly from Menu Item.
Now, you CAN execute a workflow transition through an ORM method (it can also be triggered through a button, but only if the active model and active ID of the view being displayed is defined. Since this would not be a straightforward process, I'll left this option out for the time being.) And ORM method can be called from a Server action of from a Button in a view displayed by a Window action. You can choose one of those routes (Server action or Window action) if you need to call a workflow transition from Menu Item.
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: 11/11/14, 12:58 AM|
|Seen: 1404 times|
|Last updated: 2/13/17, 8:38 AM|