[FIX] make the wizard work in the web client
bzr revid: rco@openerp.com-20110428093307-p1ihuh1s8td2pljt
This commit is contained in:
parent
1d2749a3d7
commit
93f6b18737
|
@ -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()
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue