From 3a0745002884940f766180a49c1e3b98ff68f59d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20BEAU?= Date: Mon, 21 Sep 2015 19:28:39 +0200 Subject: [PATCH] rename sms.client.queue into sms.sms --- smsclient_ovh/smsclient.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/smsclient_ovh/smsclient.py b/smsclient_ovh/smsclient.py index 3633639..90bab3c 100644 --- a/smsclient_ovh/smsclient.py +++ b/smsclient_ovh/smsclient.py @@ -87,7 +87,7 @@ class smsclient(models.Model): prms['smsCoding'] = gateway.coding params = urllib.urlencode(prms) name = url + "?" + params - queue_obj = self.env['sms.smsclient.queue'] - vals = self._prepare_smsclient_queue(data, name) - queue_obj.create(vals) + sms_obj = self.env['sms.sms'] + vals = self._prepare_sms(data, name) + sms_obj.create(vals) return True