Setting views for an action window

A howto about setting views for an action window with OpenERP 6 Working with OpenERP, is very often designing a wizard (either a wizard.interface or a osv.osv_memory) that returns a new window, perhaps being the most common case of creating a series of objects and listing them in a new tab. In most

Nacho Nacho
18 abr. 2011 1 min read

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
Nacho

Nacho