[IMP] base: Don't display a button to change password

Purpose
=======

in an empty db, when creating manually a user, there is some noise on the form

Specification
=============

- Rename application into "Application Accesses"
- Remove the button to change password, just keep the action, normally, you don't have to do that.
This commit is contained in:
Prakash Prajapati
2017-06-13 15:49:33 +02:00
committed by Yannick Tivisse
parent 4fe90a4fb4
commit 75df823347
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -716,7 +716,7 @@ class GroupsView(models.Model):
if view and view.exists() and view._name == 'ir.ui.view':
group_no_one = view.env.ref('base.group_no_one')
xml1, xml2 = [], []
xml1.append(E.separator(string=_('Application'), colspan="2"))
xml1.append(E.separator(string=_('Application Accesses'), colspan="2"))
for app, kind, gs in self.get_groups_by_application():
# hide groups in categories 'Hidden' and 'Extra' (except for group_no_one)
attrs = {}
-1
View File
@@ -171,7 +171,6 @@
<field name="arch" type="xml">
<form string="Users">
<header>
<button string="Change Password" type="action" name="%(change_password_wizard_action)d" help="Change the user password."/>
</header>
<sheet>
<field name="id" invisible="1"/>