From 03f8275cdcc9f1f4541d36bffd2518fca862c56a Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Wed, 31 Oct 2012 16:40:44 +0100 Subject: [PATCH] [IMP] mail: remove the onchange code in wizard/mail_compose_message.py bzr revid: chm@openerp.com-20121031154044-641rih2zw1jffiem --- addons/mail/wizard/mail_compose_message.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/addons/mail/wizard/mail_compose_message.py b/addons/mail/wizard/mail_compose_message.py index 1bcbb0c2efc..33712847534 100644 --- a/addons/mail/wizard/mail_compose_message.py +++ b/addons/mail/wizard/mail_compose_message.py @@ -186,17 +186,6 @@ class mail_compose_message(osv.TransientModel): """ return {'value': {'content_subtype': value}} - def onchange_partner_ids(self, cr, uid, ids, value, context=None): - """ The basic purpose of this method is to check that destination partners - effectively have email addresses. Otherwise a warning is thrown. - :param value: value format: [[6, 0, [3, 4]]] - """ - res = {'value': {}} - if not value or not value[0] or not value[0][0] == 6: - return - res.update(self.check_partners_email(cr, uid, value[0][2], context=context)) - return res - def dummy(self, cr, uid, ids, context=None): """ TDE: defined to have buttons that do basically nothing. It is currently impossible to have buttons that do nothing special