mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Additionally, allowing the field to be written to improves the UI by automatically highlighting it and doesn't really have any negative side effects. (how could you alter the hmac?)
18 lines
704 B
XML
Executable File
18 lines
704 B
XML
Executable File
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
|
|
<record id="portal_wizard" model="ir.ui.view">
|
|
<field name="name">Portal Access Management - Auth Admin</field>
|
|
<field name="model">portal.wizard</field>
|
|
<field name="inherit_id" ref="portal.wizard_view"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='in_portal']" position="after">
|
|
<field name="force_login_url"/>
|
|
</xpath>
|
|
<xpath expr="//button[last()]" position="after">
|
|
<button string="Generate Login URL" type="object" name="admin_auth_generate_login" class="btn-primary" />
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo> |