<data>
<!-- wizard action on res.partner -->
<act_window id="partner_wizard_action"
- name="Add Portal Access"
+ name="Portal Access Management"
src_model="res.partner"
res_model="res.portal.wizard"
view_type="form" view_mode="form"
<!-- wizard view -->
<record id="wizard_view" model="ir.ui.view">
- <field name="name">Add Portal Access</field>
+ <field name="name">Portal Access Management</field>
<field name="model">res.portal.wizard</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Add Portal Access" version="7.0">
- <header>
- <button string="Apply"
- name="action_manage_portal_access" type="object" class="oe_highlight" />
- or
- <button string="Cancel" class="oe_link" special="cancel" />
- </header>
- <group col="4">
+ <group>
+ <field name="partner_id" invisible="1"/>
- <field name="portal_id" on_change="onchange_portal_id(partner_id, portal_id)"/>
+ <field name="portal_id" widget="selection"/>
</group>
- <separator string="Users"/>
++ <label for="user_ids"/>
<field name="user_ids"/>
- <separator string="Message"/>
- <label string="The following text will be included in the welcome email sent to users."/>
- <field name="message"/>
+ <field name="message" placeholder="This text will be included in the welcome email sent to users."/>
-
+ <footer>
- <button string="Send Invitations"
- name="action_create" type="object" class="oe_highlight" />
++ <button string="Apply"
++ name="action_manage_portal_access" type="object" class="oe_highlight" />
+ or
+ <button string="Cancel" class="oe_link" special="cancel" />
+ </footer>
</form>
</field>
</record>
<field name="name"/>
<field name="user_email"/>
<field name="partner_id"/>
+ <field name="has_portal_user"/>
</tree>
</field>
</record>