#5 Migrate to 12.0

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?)
This commit is contained in:
Jared Kipe
2018-12-28 18:54:20 -08:00
committed by Salomon Chambi
parent a8eba7c95d
commit de9dfb0398
8 changed files with 27 additions and 25 deletions

View File

@@ -7,10 +7,10 @@
<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" readonly="1"/>
<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-default" />
<button string="Generate Login URL" type="object" name="admin_auth_generate_login" class="btn-primary" />
</xpath>
</field>
</record>