logo

Setting views for an action window

Setting views: To solve this problem (or rather as a good programming practice), we can do the following, both from a Python file and from an XML file:

  • Launching specific views from a Python file:

Let’s imagine that the action of our wizard creates a series of objects and we want to show the freshly created ids. To do this and after having developed the logic of our function, we can return a dictionary containing an action window as follows:

Read more: http://pexego.es/blog/2011/04/18/setting-views-action-window/

For more information about OpenERP, visit our website by clicking here.

setting views