[MIG] auth_admin: to 17.0

This commit is contained in:
Salomon Chambi
2023-11-13 21:55:45 +00:00
parent 261ab50a6d
commit 5e780753db
3 changed files with 11 additions and 6 deletions

View File

@@ -7,8 +7,10 @@
<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>
</odoo>
</odoo>