[FIX] make the wizard work in the web client

bzr revid: rco@openerp.com-20110428093307-p1ihuh1s8td2pljt
This commit is contained in:
Raphael Collet 2011-04-28 11:33:07 +02:00
parent 1d2749a3d7
commit 93f6b18737
2 changed files with 5 additions and 2 deletions

View File

@ -144,7 +144,7 @@ class wizard(osv.osv_memory):
logging.getLogger('res.portal.wizard').warning(
'Failed to send email from %s to %s', email_from, email_to)
return {}
return {'type': 'ir.actions.act_window_close'}
wizard()

View File

@ -40,9 +40,12 @@
<field name="model">res.portal.wizard.user</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Portal Users">
<!-- the attribute 'editable' is set below to make the elements
editable in the web client 6.0 -->
<tree string="Portal Users" editable="bottom">
<field name="name"/>
<field name="email"/>
<field name="lang"/>
<field name="partner_id"/>
</tree>
</field>