Disable temporary uninstall button on module
Remove unused button
This commit is contained in:
1 parent
704b7be028
commit
3e7aef01e2
2 files changed
+2
-6
No files matched your search
@@ -36,17 +36,13 @@
|
||||
<button string="Cancel Install" name="button_install_cancel"
|
||||
type="object" states="{'invisible': '''state != 'to install' '''}"/>
|
||||
<button string="Uninstall (beta)" name="button_uninstall"
|
||||
type="object" states="{'invisible': '''state != 'installed' '''}"/>
|
||||
type="object" states="{'invisible': '''state != 'installed' ''', 'readonly': '''True'''}"/>
|
||||
<button string="Cancel Uninstall" name="button_uninstall_cancel"
|
||||
type="object" states="{'invisible': '''state != 'to remove' '''}"/>
|
||||
<button string="Upgrade" name="button_upgrade"
|
||||
type="object" states="{'invisible': '''state != 'installed' '''}"/>
|
||||
<button string="Cancel Upgrade" name="button_upgrade_cancel"
|
||||
type="object" states="{'invisible': '''state != 'to upgrade' '''}"/>
|
||||
<!--
|
||||
<button string="Update translations" name="button_update_translations"
|
||||
type="object" states="{'invisible': '''state != 'installed' '''}"/>
|
||||
-->
|
||||
</group>
|
||||
</page>
|
||||
<page string="Dependencies" col="1">
|
||||
|
||||
+1
-1
@@ -434,7 +434,7 @@
|
||||
expr="/form/notebook/page/group/button[@name="button_uninstall"]"
|
||||
position="replace">
|
||||
<button string="Uninstall (beta)" name="button_uninstall"
|
||||
type="object" states="{'invisible': '''state != 'installed' ''', 'readonly': ''' %(res.group_admin)d not in groups '''}"/>
|
||||
type="object" states="{'invisible': '''state != 'installed' ''', 'readonly': ''' %(res.group_admin)d not in groups or True'''}"/>
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="/form/notebook/page/group/button[@name="button_uninstall_cancel"]"
|
||||
|
||||
Reference in new issue
Block a user