[IMP] mail.gorup: added deprecated attribute on field that will trigger a warning.

bzr revid: tde@openerp.com-20120814104233-91qvv2bqc0d3mtc1
This commit is contained in:
Thibault Delavallée 2012-08-14 12:42:33 +02:00
parent c057c5ec34
commit 65f589dda5
1 changed files with 2 additions and 1 deletions

View File

@ -125,7 +125,8 @@ class mail_group(osv.osv):
type='many2many', relation='res.users', string='Group members', multi='get_member_ids',
deprecated='This field will be deleted in a few hours or days, so please do not use it.'),
'member_count': fields.function(get_member_ids, type='integer',
string='Member count', multi='get_member_ids'),
string='Member count', multi='get_member_ids',
deprecated='This field will be deleted in a few hours or days, so please do not use it.'),
'is_subscriber': fields.function(get_member_ids, type='boolean',
string='Joined', multi='get_member_ids'),
'last_month_msg_nbr': fields.function(get_last_month_msg_nbr, type='integer',