Premium Video: Become an OdooClass.com subscriber to view the video below.

Build a Wizard in Odoo and Trigger Workflow Events


An Odoo wizard collection information from a user that can then be used to start a process. Sometimes that can be to launch a report or begin launch a simple procedure. In this video we see how to create a video that can trigger workflow events.

Video Length: One Hour Subscription only

Subscription Options

Learn to create Wizards in Odoo

In this video you learn how to use Odoo's Wizard framework to create a wizard that will allow you to reject a purchase order, provide a reason for the rejection and update the workflow in Odoo. This is a complete video that starts building the module from scratch. We also incorporate the Eclipse debugger and show how it can be used to examine variables from the Wizard at runtime.

Updating a model based on the results from the Wizard

Once we have created the framework for the basic module installed the video goes over how to add a button to the purchase order form. We do a little review on how to position the button and find the right external view id's to get the button on the purchase order. Next we create our actions and establish the view. Along the way we learn how Odoo keeps Wizard models in memory as opposed to other models that maintain persistence of their objects in Postgres.

Learn to create more interactive Odoo applications

With each video we continue to build on what we have leanred in the videos that came before. To get the most out of this video you should be comfortable with the content in OpenERP/Odoo developer volume one & two. Now with the ability to integrate wizards into your application, call custom functions and update models in Odoo you are well on your way to creating powerful Odoo appliations.

In Odoo 8 are there still workflows and how do they apply compared to OpenERP 7?

Workflows are still a part of how documents move through various states in many applications inside Odoo. Sales Orders and Purchase Orders for example use workflows to determine if they are in draft state, in progress, or have completed. When we talk about Odoo we are in 95% of the time talking about OpenERP as they are one and the same. This is particularly true when it comes to workflows. When moving from OpenERP 7 to Odoo 8 (if that is the way you want to look at it), very little changed in workflows. 

Wizards in OpenERP 7 or Odoo 8... what has changed?

Like workflows, you still do wizards the same as you did in OpenERP 7... in Odoo/OpenERP 8 however you can take advantage of the new 8.0 API recordset features and other enhancements to populate data in your wizard or take actions that use the new 8.0 API.

See how you can trigger workflows and create powerful custom solutions using Odoo

Like workflows, you still do wizards the same as you did in OpenERP 7... in Odoo/OpenERP 8 however you can take advantage of the new 8.0 API recordset features and other enhancements to populate data in your wizard or take actions that use the new 8.0 API.

Triggering workflow events

All too often OpenERP / Odoo developer will spend a great deal of effort wrting code to duplicate transactional operations that are best performed through workflows in Odoo. For example, directly setting the state of the sale.order in one of your modules. Instead, learrn to trigger workflow events to create robust modular applications. 

Create custom workflows for your business

The purpose of this video is simple. One of Odoo's greatest strengths is to customize workflows to fit the fast moving requirements of today's mid-sized corporations. Understanding workflows and creating events to call and modify state behavior is an important step in developing powerful custom Odoo solutions.