> ## Content Index
> Fetch the complete content index at: https://openerpspain.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Setting views for an action window
- URL: https://openerpspain.com/setting-views-for-an-action-window/
- Published: 2011-04-18T15:10:00.000Z
- Updated: 2026-08-12T19:42:17.000Z
- Description: 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
- Author: Nacho
- Tags: Planet Blog, #Migrated-1786563704011, #wp, #wp-post, #Import 2026-08-12 19:41, #Import 2026-08-14 07:32

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/](http://pexego.es/blog/2011/04/18/setting-views-action-window/?ref=openerpspain.com)

For more information about OpenERP, visit our website by [clicking here](https://openerpspain.com/modulos-openerp-para-seguir-costes-e-ingresos-comprometidos-en-proyectos/).

![setting views](https://openerpspain.com/content/images/2026/08/logo-42.png)