[IMP] mail_group: changed public field name; removed custom label in form view, replaced by the standard label.

bzr revid: tde@openerp.com-20120606102725-04yqm9l4h6bk1oid
This commit is contained in:
Thibault Delavallée
2012-06-06 12:27:25 +02:00
parent 34db850d80
commit 4a2e5d81b0
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ class mail_group(osv.osv):
'responsible_id': fields.many2one('res.users', string='Responsible',
ondelete='set null', required=True, select=1,
help="Responsible of the group that has all rights on the record."),
'public': fields.boolean('Public', help='This group is visible by non members. \
'public': fields.boolean('Visible by non members', help='This group is visible by non members. \
Invisible groups can add members through the invite button.'),
'models': fields.many2many('ir.model', rel='mail_group_ir_model_rel',
id1='mail_group_id', id2='model_id',
+1 -2
View File
@@ -61,8 +61,7 @@
<newline/>
<group colspan="2" col="2">
<field name="responsible_id" colspan="2"/>
<label string="Visible by non members" colspan="1"/>
<field name="public" nolabel="1"/>
<field name="public" colspan="2"/>
<field name="push_to_groups" colspan="2" attrs="{'invisible':[('groups','=',False)]}"/>
</group>
<group colspan="4" col="4">