[FIX]: base_action_rule: Minor fix
bzr revid: rpa@openerp.co.in-20100217134045-64u8i1hh4nazxlev
This commit is contained in:
committed by
rpa (Open ERP)
parent
72d713c8cf
commit
cd17ce51cd
@@ -61,7 +61,7 @@ class base_action_rule(osv.osv):
|
||||
'partner': hasattr(obj, 'partner_id') and (obj.partner_id and obj.partner_id.name) or '/',
|
||||
'partner_email': hasattr(obj, 'partner_address_id') and (obj.partner_address_id and obj.partner_address_id.email) or '/',
|
||||
}
|
||||
return format_body(body % data)
|
||||
return self.format_body(body % data)
|
||||
|
||||
def email_send(self, cr, uid, obj, emails, body, emailfrom=tools.config.get('email_from',False), context={}):
|
||||
body = self.format_mail(obj, body)
|
||||
|
||||
Reference in New Issue
Block a user