mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[MIG] auth_admin: to 17.0
This commit is contained in:
committed by
Mayank Patel
parent
46f888e9f0
commit
1429f38df6
@@ -1,8 +1,8 @@
|
||||
{
|
||||
'name': 'Auth Admin',
|
||||
'author': 'Hibou Corp. <hello@hibou.io>',
|
||||
'author': 'Hibou Corp.',
|
||||
'category': 'Hidden',
|
||||
'version': '16.0.1.0.0',
|
||||
'version': '17.0.1.0.0',
|
||||
'description':
|
||||
"""
|
||||
Login as other user
|
||||
@@ -14,6 +14,9 @@ Can also create a URL that logs in as that user.
|
||||
Out of the box, only allows you to generate a login for an 'External User', e.g. portal users.
|
||||
|
||||
*2017-11-15* New button to generate the login on the Portal User Wizard (Action on Contact)
|
||||
|
||||
Added the option to copy the Force Login URL by simply clicking the Copy widget in the Portal User Wizard.
|
||||
|
||||
""",
|
||||
'depends': [
|
||||
'base',
|
||||
|
||||
@@ -7,7 +7,9 @@
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//tree" position="inside">
|
||||
<field name="share" invisible="1"/>
|
||||
<button string="Generate Login" type="object" name="admin_auth_generate_login" attrs="{'invisible': [('share', '=', False)]}"/>
|
||||
<button string="Generate Login" type="object"
|
||||
name="admin_auth_generate_login"
|
||||
invisible="not share"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<field name="inherit_id" ref="portal.wizard_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='is_portal']" position="after">
|
||||
<field name="force_login_url"/>
|
||||
<field name="force_login_url" widget="CopyClipboardChar"/>
|
||||
</xpath>
|
||||
<xpath expr="//tree/button[last()]" position="after">
|
||||
<button string="Generate Login URL" type="object" name="admin_auth_generate_login" class="btn-primary" />
|
||||
|
||||
Reference in New Issue
Block a user