2011-04-22 15:22:49 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2011-04-27 07:53:06 +00:00
|
|
|
<!-- wizard action on res.partner -->
|
|
|
|
<act_window id="partner_user_wizard_action"
|
|
|
|
name="Create Portal User"
|
|
|
|
src_model="res.partner"
|
|
|
|
res_model="res.portal.user_wizard"
|
|
|
|
view_type="form" view_mode="form"
|
|
|
|
key2="client_action_multi" target="new"/>
|
|
|
|
|
|
|
|
<!-- wizard action on res.partner.address -->
|
|
|
|
<act_window id="address_user_wizard_action"
|
2011-04-22 15:22:49 +00:00
|
|
|
name="Create Portal User"
|
|
|
|
src_model="res.partner.address"
|
|
|
|
res_model="res.portal.user_wizard"
|
|
|
|
view_type="form" view_mode="form"
|
|
|
|
key2="client_action_multi" target="new"/>
|
|
|
|
|
|
|
|
<!-- user_wizard view -->
|
2011-04-27 07:53:06 +00:00
|
|
|
<record id="user_wizard_view" model="ir.ui.view">
|
2011-04-22 15:22:49 +00:00
|
|
|
<field name="name">Create Portal User</field>
|
|
|
|
<field name="model">res.portal.user_wizard</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Create Portal User">
|
|
|
|
<group colspan="2" col="2">
|
|
|
|
<field name="name"/>
|
2011-04-26 08:41:30 +00:00
|
|
|
<field name="email"/>
|
2011-04-22 15:22:49 +00:00
|
|
|
<field name="lang"/>
|
|
|
|
<field name="address_id"/>
|
|
|
|
</group>
|
|
|
|
<group colspan="2" col="2">
|
|
|
|
<field name="portal_id"/>
|
|
|
|
</group>
|
|
|
|
<label colspan="2"/>
|
|
|
|
<button string="Cancel" special="cancel" icon="gtk-cancel"/>
|
2011-04-26 14:59:57 +00:00
|
|
|
<button string="Create User" name="do_create" type="object" icon="gtk-ok"/>
|
2011-04-22 15:22:49 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</data>
|
|
|
|
</openerp>
|