[FIX] wording in comments

bzr revid: abo@openerp.com-20120918115717-p57dpbdpbht1m4wr
This commit is contained in:
Antonin Bourguignon 2012-09-18 13:57:17 +02:00
parent fa9a3e6630
commit c7ee41cfbb
1 changed files with 7 additions and 7 deletions

View File

@ -261,9 +261,9 @@ class res_users(osv.osv):
return self.pool.get('res.partner').fields_view_get(cr, uid, view_id, view_type, context, toolbar, submenu)
return super(res_users, self).fields_view_get(cr, uid, view_id, view_type, context, toolbar, submenu)
# User can write to a few of its own fields (but not her groups for example)
# User can write on a few of his own fields (but not his groups for example)
SELF_WRITEABLE_FIELDS = ['password', 'signature', 'action_id', 'company_id', 'email', 'name', 'image', 'image_medium', 'image_small', 'lang', 'tz']
# user can read a few of its own fields
# User can read a few of his own fields
SELF_READABLE_FIELDS = ['signature', 'company_id', 'email', 'name', 'image', 'image_medium', 'image_small', 'lang', 'tz', 'groups_id', 'partner_id']
def read(self, cr, uid, ids, fields=None, context=None, load='_classic_read'):