<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>