[IMP]Improved docstring on alias name_get

bzr revid: pza@tinyerp.com-20131106101707-bca1jcoqgsxg95b9
This commit is contained in:
Pooja Zankhariya (OpenERP) 2013-11-06 15:17:07 +05:00
parent c84de24914
commit 544cde75e0
1 changed files with 3 additions and 3 deletions

View File

@ -129,9 +129,9 @@ class mail_alias(osv.Model):
]
def name_get(self, cr, uid, ids, context=None):
"""Return the mail alias display alias_name, inclusing the implicit
mail catchall domain from config.
e.g. `jobs@openerp.my.openerp.com` or `sales@openerp.my.openerp.com`
"""Return the mail alias display alias_name, including the implicit
mail catchall domain if exists from config otherwise "New Alias".
e.g. `jobs@openerp.my.openerp.com` or `jobs` or 'New Alias'
"""
res = []
for record in self.browse(cr, uid, ids, context=context):