From a04d2d9c387959dc19cc8b906c6a4b6c1aeb1199 Mon Sep 17 00:00:00 2001 From: Ildar Nasyrov Date: Mon, 23 May 2016 21:47:25 +0500 Subject: [PATCH] [FIX] mailgun: look for xml_id in this module --- mailgun/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailgun/models.py b/mailgun/models.py index 6fec1ff..c2de402 100644 --- a/mailgun/models.py +++ b/mailgun/models.py @@ -29,7 +29,7 @@ class IrConfigParameter(models.Model): def mailgun_verify(self): api_key = self.get_param('mailgun.apikey') mail_domain = self.get_param('mail.catchall.domain') - cron_record = self.env.ref('base.mailgun_domain_verification') + cron_record = self.env.ref('mailgun_domain_verification') if api_key and mail_domain: url = "https://api.mailgun.net/v3/domains/%s/verify" % mail_domain res = requests.put(url, auth=("api", api_key))