Merge branch '10.0' of https://github.com/OCA/connector-telephony into 10.0-mig-sms_send_picking
merge from OCA with base_sms_clientpull/130/head
-
4README.md
-
64base_sms_client/README.rst
-
7base_sms_client/__init__.py
-
39base_sms_client/__manifest__.py
-
15base_sms_client/data/sms_gateway_data.xml
-
403base_sms_client/i18n/ar.po
-
410base_sms_client/i18n/ca.po
-
403base_sms_client/i18n/de.po
-
412base_sms_client/i18n/es.po
-
410base_sms_client/i18n/fr.po
-
403base_sms_client/i18n/pt_BR.po
-
BINbase_sms_client/images/client.jpeg
-
BINbase_sms_client/images/gateway.jpeg
-
BINbase_sms_client/images/gateway_access.jpeg
-
BINbase_sms_client/images/send_sms.jpeg
-
BINbase_sms_client/images/sms.jpeg
-
9base_sms_client/models/__init__.py
-
27base_sms_client/models/server_action.py
-
100base_sms_client/models/sms_gateway.py
-
129base_sms_client/models/sms_sms.py
-
16base_sms_client/models/sms_template.py
-
6base_sms_client/security/groups.xml
-
4base_sms_client/security/ir.model.access.csv
-
4base_sms_client/security/ir.rule.csv
-
BINbase_sms_client/static/src/img/icon.png
-
19base_sms_client/views/server_action_view.xml
-
140base_sms_client/views/sms_gateway_view.xml
-
17base_sms_client/views/smstemplate_view.xml
-
6base_sms_client/wizard/__init__.py
-
82base_sms_client/wizard/mass_sms.py
-
55base_sms_client/wizard/mass_sms_view.xml
-
1oca_dependencies.txt
-
54ovh_sms_client/README.rst
-
6ovh_sms_client/__init__.py
-
27ovh_sms_client/__manifest__.py
-
9ovh_sms_client/data/keychain.xml
-
7ovh_sms_client/models/__init__.py
-
21ovh_sms_client/models/keychain.py
-
81ovh_sms_client/models/sms_gateway.py
-
1setup/base_sms_client/odoo/__init__.py
-
1setup/base_sms_client/odoo/addons/__init__.py
-
1setup/base_sms_client/odoo/addons/base_sms_client
-
6setup/base_sms_client/setup.py
-
1setup/ovh_sms_client/odoo/__init__.py
-
1setup/ovh_sms_client/odoo/addons/__init__.py
-
1setup/ovh_sms_client/odoo/addons/ovh_sms_client
-
6setup/ovh_sms_client/setup.py
@ -0,0 +1,64 @@ |
|||||
|
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg |
||||
|
:alt: License: AGPL-3 |
||||
|
|
||||
|
SMS client core |
||||
|
=============== |
||||
|
|
||||
|
This module provides base function to send sms. It is not meant to work alone and needs a least one provider module. |
||||
|
|
||||
|
Installation |
||||
|
============ |
||||
|
|
||||
|
To install this module, you need to: |
||||
|
|
||||
|
* Install a provider module after |
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
|
||||
|
To configure this module, you need to: |
||||
|
|
||||
|
* Configure Keychain key |
||||
|
* Configure your provider account |
||||
|
|
||||
|
Usage |
||||
|
===== |
||||
|
|
||||
|
To use this module, you need to: |
||||
|
|
||||
|
* go to partner menu |
||||
|
* select one or multiple partner |
||||
|
* go to more and will found some wizards to send sms |
||||
|
|
||||
|
|
||||
|
Bug Tracker |
||||
|
=========== |
||||
|
|
||||
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/base_sms_client/issues>`_. |
||||
|
In case of trouble, please check there if your issue has already been reported. |
||||
|
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback |
||||
|
|
||||
|
Credits |
||||
|
======= |
||||
|
|
||||
|
Contributors |
||||
|
------------ |
||||
|
|
||||
|
* Valentin Chemiere <valentin.chemiere@akretion.com> |
||||
|
* Yvan Party <yvan@julius.fr> |
||||
|
|
||||
|
Maintainer |
||||
|
---------- |
||||
|
|
||||
|
.. image:: https://odoo-community.org/logo.png |
||||
|
:alt: Odoo Community Association |
||||
|
:target: https://odoo-community.org |
||||
|
|
||||
|
This module is maintained by the OCA. |
||||
|
|
||||
|
OCA, or the Odoo Community Association, is a nonprofit organization whose |
||||
|
mission is to support the collaborative development of Odoo features and |
||||
|
promote its widespread use. |
||||
|
|
||||
|
To contribute to this module, please visit http://odoo-community.org. |
||||
|
|
@ -0,0 +1,7 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# Author: Sébastien BEAU <sebastien.beau@akretion.com> |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
|
||||
|
from . import wizard |
||||
|
from . import models |
@ -0,0 +1,39 @@ |
|||||
|
# coding: utf-8 |
||||
|
# Copyright (C) 2015 Sébastien BEAU <sebastien.beau@akretion.com> |
||||
|
# © 2011 SYLEAM (<http://syleam.fr/>) |
||||
|
# © 2013 Julius Network Solutions SARL <contact@julius.fr> |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
|
||||
|
{ |
||||
|
"name": "Base Sms Client", |
||||
|
"version": "10.0.1.0.0", |
||||
|
'license': 'AGPL-3', |
||||
|
"depends": ['mail', |
||||
|
'base_phone', |
||||
|
'keychain', |
||||
|
], |
||||
|
'author': 'Julius Network Solutions,SYLEAM,' |
||||
|
'Odoo Community Association (OCA),Akretion', |
||||
|
'images': [ |
||||
|
'images/sms.jpeg', |
||||
|
'images/gateway.jpeg', |
||||
|
'images/gateway_access.jpeg', |
||||
|
'images/client.jpeg', |
||||
|
'images/send_sms.jpeg' |
||||
|
], |
||||
|
"summary": "Sending SMSs very easily, individually or collectively.", |
||||
|
"website": "http://julius.fr", |
||||
|
"category": "Phone", |
||||
|
"data": [ |
||||
|
"security/groups.xml", |
||||
|
"security/ir.model.access.csv", |
||||
|
"security/ir.rule.csv", |
||||
|
"views/sms_gateway_view.xml", |
||||
|
"views/server_action_view.xml", |
||||
|
"data/sms_gateway_data.xml", |
||||
|
"wizard/mass_sms_view.xml", |
||||
|
"views/smstemplate_view.xml" |
||||
|
], |
||||
|
"installable": True, |
||||
|
} |
@ -0,0 +1,15 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<odoo noupdate="1"> |
||||
|
<record id="ir_cron_crm_action" model="ir.cron"> |
||||
|
<field name="name">Send SMS</field> |
||||
|
<field name="interval_number">1</field> |
||||
|
<field name="interval_type">minutes</field> |
||||
|
<field name="numbercall">-1</field> |
||||
|
<field name="doall">False</field> |
||||
|
<field name="model">sms.gateway</field> |
||||
|
<field name="function">_run_send_sms</field> |
||||
|
<field name="args">()</field> |
||||
|
<field name="active">False</field> |
||||
|
</record> |
||||
|
|
||||
|
</odoo> |
@ -0,0 +1,403 @@ |
|||||
|
# Arabic translation for openerp-gateway |
||||
|
# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 |
||||
|
# This file is distributed under the same license as the openerp-gateway package. |
||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. |
||||
|
# |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: openerp-gateway\n" |
||||
|
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
||||
|
"POT-Creation-Date: 2011-09-10 10:24+0000\n" |
||||
|
"PO-Revision-Date: 2011-11-21 12:03+0000\n" |
||||
|
"Last-Translator: kifcaliph <kifcaliph@hotmail.com>\n" |
||||
|
"Language-Team: Arabic <ar@li.org>\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: 8bit\n" |
||||
|
"X-Launchpad-Export-Date: 2011-11-22 05:44+0000\n" |
||||
|
"X-Generator: Launchpad (build 14299)\n" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,method:0 |
||||
|
msgid "SMPP Method" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,property_ids:0 |
||||
|
msgid "Parameters" |
||||
|
msgstr "المحددات" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,url:0 |
||||
|
msgid "Gateway URL" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,sms:0 |
||||
|
msgid "SMS" |
||||
|
msgstr "رسالة قصيرة (SMS)" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:ir.actions.server,sms_server:0 |
||||
|
msgid "SMS Server" |
||||
|
msgstr "خادم الـSMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,msg:0 |
||||
|
msgid "SMS Text" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/verifycode.py:43 |
||||
|
#, python-format |
||||
|
msgid "Gateway already verified!" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,name:0 |
||||
|
msgid "SMS Request" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_view:sms.gateway.code.send,init:0 |
||||
|
#: wizard_button:sms.gateway.code.send,init,send:0 |
||||
|
msgid "Send Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.parms,value:0 |
||||
|
msgid "Property value" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "SMS Message" |
||||
|
msgstr "رسالة قصيرة (SMS)" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Not Verified" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,type:0 |
||||
|
msgid "If parameter concern a value to substitute, indicate it" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Sent" |
||||
|
msgstr "تم الإرسال" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.code.verify,init,code:0 |
||||
|
msgid "Enter the verification code that you get in your verification sms" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway |
||||
|
msgid "SMS Client" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.wizard,name:gateway.sms_gateway_send_code |
||||
|
msgid "Send Verification Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,name:0 |
||||
|
msgid "Description" |
||||
|
msgstr "الوصف" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Permission" |
||||
|
msgstr "الصلاحية" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,value:0 |
||||
|
msgid "Value associate on the property for the URL" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,code:0 |
||||
|
#: wizard_field:sms.gateway.code.verify,init,code:0 |
||||
|
msgid "Verification Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/sendcode.py:54 |
||||
|
#, python-format |
||||
|
msgid "Verification Failed. Please check the Server Configuration!" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:72 |
||||
|
#, python-format |
||||
|
msgid "This method is not implemented (%s)" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.code.send,init,smsto:0 |
||||
|
msgid "" |
||||
|
"Enter the Mobile No on which you want to receive the Verification Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:114 |
||||
|
#, python-format |
||||
|
msgid "SMS Sent" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Recipient No" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,date_create:0 |
||||
|
#: field:sms.sms,date_create:0 |
||||
|
msgid "Date" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Waiting for Verification" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway_parms |
||||
|
msgid "SMS Client Properties" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Password" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,users_id:0 |
||||
|
msgid "Users Allowed" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,name:0 |
||||
|
msgid "Name of the property whom appear on the URL" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "User" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,user_id:0 |
||||
|
msgid "Username" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.act_sms_gateway_2_sms_queue |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms.sms_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server_queue |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "Message Queue" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway.history:0 |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "Gateway History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_ir_actions_server |
||||
|
msgid "ir.actions.server" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:ir.actions.server,sms_server:0 |
||||
|
msgid "Select the SMS Gateway configuration to use with this action" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway,body:0 |
||||
|
msgid "" |
||||
|
"The message text that will be send along with the email which is send " |
||||
|
"through this server" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_button:sms.gateway.code.send,init,end:0 |
||||
|
#: wizard_button:sms.gateway.code.verify,init,end:0 |
||||
|
msgid "Cancel" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Access Permission" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway,url:0 |
||||
|
msgid "Base url for message" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_field:sms.gateway.code.send,init,smsto:0 |
||||
|
#: field:sms.gateway.history,to:0 |
||||
|
#: field:sms.sms,mobile:0 |
||||
|
msgid "Mobile No" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:72 |
||||
|
#: code:addons/gateway/wizard/sendcode.py:54 |
||||
|
#: code:addons/gateway/wizard/verifycode.py:43 |
||||
|
#: code:addons/gateway/wizard/verifycode.py:48 |
||||
|
#: selection:sms.sms,state:0 |
||||
|
#, python-format |
||||
|
msgid "Error" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.act_sms_gateway_2_sms_history |
||||
|
msgid "SMS History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/verifycode.py:48 |
||||
|
#, python-format |
||||
|
msgid "Verification failed. Invalid Verification Code!" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Queued" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server |
||||
|
msgid "Gateway List" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,history_line:0 |
||||
|
msgid "History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,method:0 |
||||
|
#: field:sms.gateway.parms,type:0 |
||||
|
msgid "API Method" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,state:0 |
||||
|
msgid "Gateway Status" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:69 |
||||
|
#, python-format |
||||
|
msgid "Permission Error!" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_view:sms.gateway.code.verify,init:0 |
||||
|
#: wizard_button:sms.gateway.code.verify,init,check:0 |
||||
|
msgid "Verify Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Sender Name" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Gateway Parameters" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Waiting" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "General" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,method:0 |
||||
|
msgid "HTTP Method" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.wizard,name:gateway.sms_gateway_verify_code |
||||
|
msgid "Verify SMS Gateway" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway_history |
||||
|
msgid "SMS Client History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms.sms |
||||
|
msgid "SMS Queue" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:69 |
||||
|
#, python-format |
||||
|
msgid "You have no permission to access %s " |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms_gateway_history_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server_history |
||||
|
msgid "SMS Gateway History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Verified" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,name:0 |
||||
|
msgid "Gateway Name" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.sms:0 |
||||
|
#: field:sms.sms,error:0 |
||||
|
msgid "Last Error" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,body:0 |
||||
|
msgid "Message" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,state:0 |
||||
|
msgid "Message Status" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.parms,name:0 |
||||
|
msgid "Property name" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms_gateway_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_server |
||||
|
#: view:sms.gateway:0 |
||||
|
#: field:sms.gateway.history,gateway_id:0 |
||||
|
#: field:sms.gateway.parms,gateway_id:0 |
||||
|
#: field:sms.sms,gateway_id:0 |
||||
|
msgid "SMS Gateway" |
||||
|
msgstr "" |
@ -0,0 +1,410 @@ |
|||||
|
# Catalan translation for openerp-gateway |
||||
|
# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 |
||||
|
# This file is distributed under the same license as the openerp-gateway package. |
||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. |
||||
|
# |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: openerp-gateway\n" |
||||
|
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
||||
|
"POT-Creation-Date: 2011-09-10 10:24+0000\n" |
||||
|
"PO-Revision-Date: 2012-02-25 17:41+0000\n" |
||||
|
"Last-Translator: Jordi Esteve (www.zikzakmedia.com) " |
||||
|
"<jesteve@zikzakmedia.com>\n" |
||||
|
"Language-Team: Catalan <ca@li.org>\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: 8bit\n" |
||||
|
"X-Launchpad-Export-Date: 2012-02-26 05:17+0000\n" |
||||
|
"X-Generator: Launchpad (build 14860)\n" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,method:0 |
||||
|
msgid "SMPP Method" |
||||
|
msgstr "Mètode SMPP" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,property_ids:0 |
||||
|
msgid "Parameters" |
||||
|
msgstr "Paràmetres" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,url:0 |
||||
|
msgid "Gateway URL" |
||||
|
msgstr "URL de la passarel·la" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,sms:0 |
||||
|
msgid "SMS" |
||||
|
msgstr "SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:ir.actions.server,sms_server:0 |
||||
|
msgid "SMS Server" |
||||
|
msgstr "Servidor SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,msg:0 |
||||
|
msgid "SMS Text" |
||||
|
msgstr "Text del SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/verifycode.py:43 |
||||
|
#, python-format |
||||
|
msgid "Gateway already verified!" |
||||
|
msgstr "La passarel·la ja està verificada!" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,name:0 |
||||
|
msgid "SMS Request" |
||||
|
msgstr "Petició SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_view:sms.gateway.code.send,init:0 |
||||
|
#: wizard_button:sms.gateway.code.send,init,send:0 |
||||
|
msgid "Send Code" |
||||
|
msgstr "Envia codi" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.parms,value:0 |
||||
|
msgid "Property value" |
||||
|
msgstr "Valor propietat" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "SMS Message" |
||||
|
msgstr "Missatge SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Not Verified" |
||||
|
msgstr "No verificat" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,type:0 |
||||
|
msgid "If parameter concern a value to substitute, indicate it" |
||||
|
msgstr "Si el paràmetre es refereix a un valor a substituir, indiqueu-lo." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Sent" |
||||
|
msgstr "Enviat" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.code.verify,init,code:0 |
||||
|
msgid "Enter the verification code that you get in your verification sms" |
||||
|
msgstr "" |
||||
|
"Introduïu el codi de verificació que heu rebut en el vostre SMS de " |
||||
|
"verificació." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway |
||||
|
msgid "SMS Client" |
||||
|
msgstr "Client SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.wizard,name:gateway.sms_gateway_send_code |
||||
|
msgid "Send Verification Code" |
||||
|
msgstr "Envia codi de verificació" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,name:0 |
||||
|
msgid "Description" |
||||
|
msgstr "Descripció" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Permission" |
||||
|
msgstr "Permís" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,value:0 |
||||
|
msgid "Value associate on the property for the URL" |
||||
|
msgstr "Valor associat a la propietat per la URL." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,code:0 |
||||
|
#: wizard_field:sms.gateway.code.verify,init,code:0 |
||||
|
msgid "Verification Code" |
||||
|
msgstr "Codi de verificació" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/sendcode.py:54 |
||||
|
#, python-format |
||||
|
msgid "Verification Failed. Please check the Server Configuration!" |
||||
|
msgstr "Ha fallat la verificació. Comproveu la configuració del servidor!" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:72 |
||||
|
#, python-format |
||||
|
msgid "This method is not implemented (%s)" |
||||
|
msgstr "Aquest mètode no està implementat (%s)" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.code.send,init,smsto:0 |
||||
|
msgid "" |
||||
|
"Enter the Mobile No on which you want to receive the Verification Code" |
||||
|
msgstr "Introduïu el Nº de móbil a on voleu rebre el codi de verificació." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:114 |
||||
|
#, python-format |
||||
|
msgid "SMS Sent" |
||||
|
msgstr "SMS enviat" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Recipient No" |
||||
|
msgstr "Nº recepció" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,date_create:0 |
||||
|
#: field:sms.sms,date_create:0 |
||||
|
msgid "Date" |
||||
|
msgstr "Data" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Waiting for Verification" |
||||
|
msgstr "Esperant verificació" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway_parms |
||||
|
msgid "SMS Client Properties" |
||||
|
msgstr "Propietats client SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Password" |
||||
|
msgstr "Contrasenya" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,users_id:0 |
||||
|
msgid "Users Allowed" |
||||
|
msgstr "Usuaris permesos" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,name:0 |
||||
|
msgid "Name of the property whom appear on the URL" |
||||
|
msgstr "Nom de la propietat que apareix a la URL." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "User" |
||||
|
msgstr "Usuari" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,user_id:0 |
||||
|
msgid "Username" |
||||
|
msgstr "Nom d'usuari" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.act_sms_gateway_2_sms_queue |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms.sms_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server_queue |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "Message Queue" |
||||
|
msgstr "Cua de missatges" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway.history:0 |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "Gateway History" |
||||
|
msgstr "Historial de la passarel·la" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_ir_actions_server |
||||
|
msgid "ir.actions.server" |
||||
|
msgstr "ir.accions.servidor" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:ir.actions.server,sms_server:0 |
||||
|
msgid "Select the SMS Gateway configuration to use with this action" |
||||
|
msgstr "" |
||||
|
"Seleccioneu la configuració de la passarel·la SMS que s'utilitzarà amb " |
||||
|
"aquesta acció." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway,body:0 |
||||
|
msgid "" |
||||
|
"The message text that will be send along with the email which is send " |
||||
|
"through this server" |
||||
|
msgstr "" |
||||
|
"El text del missatge que serà enviat junt amb l'Email que és enviat " |
||||
|
"mitjançant aquest servidor." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_button:sms.gateway.code.send,init,end:0 |
||||
|
#: wizard_button:sms.gateway.code.verify,init,end:0 |
||||
|
msgid "Cancel" |
||||
|
msgstr "Cancel·la" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Access Permission" |
||||
|
msgstr "Permís d'accés" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway,url:0 |
||||
|
msgid "Base url for message" |
||||
|
msgstr "URL base pel missatge" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_field:sms.gateway.code.send,init,smsto:0 |
||||
|
#: field:sms.gateway.history,to:0 |
||||
|
#: field:sms.sms,mobile:0 |
||||
|
msgid "Mobile No" |
||||
|
msgstr "Núm. mòbil" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:72 |
||||
|
#: code:addons/gateway/wizard/sendcode.py:54 |
||||
|
#: code:addons/gateway/wizard/verifycode.py:43 |
||||
|
#: code:addons/gateway/wizard/verifycode.py:48 |
||||
|
#: selection:sms.sms,state:0 |
||||
|
#, python-format |
||||
|
msgid "Error" |
||||
|
msgstr "Error" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.act_sms_gateway_2_sms_history |
||||
|
msgid "SMS History" |
||||
|
msgstr "Historial SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/verifycode.py:48 |
||||
|
#, python-format |
||||
|
msgid "Verification failed. Invalid Verification Code!" |
||||
|
msgstr "Ha fallat la verificació. Codi de verificació invàlid!" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Queued" |
||||
|
msgstr "En cua" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server |
||||
|
msgid "Gateway List" |
||||
|
msgstr "Llista passarel·la" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,history_line:0 |
||||
|
msgid "History" |
||||
|
msgstr "Historial" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,method:0 |
||||
|
#: field:sms.gateway.parms,type:0 |
||||
|
msgid "API Method" |
||||
|
msgstr "Mètode API" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,state:0 |
||||
|
msgid "Gateway Status" |
||||
|
msgstr "Estat passarel·la" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:69 |
||||
|
#, python-format |
||||
|
msgid "Permission Error!" |
||||
|
msgstr "Error dels permisos!" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_view:sms.gateway.code.verify,init:0 |
||||
|
#: wizard_button:sms.gateway.code.verify,init,check:0 |
||||
|
msgid "Verify Code" |
||||
|
msgstr "Verifica codi" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Sender Name" |
||||
|
msgstr "Nom del remitent" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Gateway Parameters" |
||||
|
msgstr "Paràmetres passarel·la" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Waiting" |
||||
|
msgstr "En espera" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "General" |
||||
|
msgstr "General" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,method:0 |
||||
|
msgid "HTTP Method" |
||||
|
msgstr "Mètode HTTP" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.wizard,name:gateway.sms_gateway_verify_code |
||||
|
msgid "Verify SMS Gateway" |
||||
|
msgstr "Verifica passarel·la SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway_history |
||||
|
msgid "SMS Client History" |
||||
|
msgstr "Historial client SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms.sms |
||||
|
msgid "SMS Queue" |
||||
|
msgstr "Cua SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:69 |
||||
|
#, python-format |
||||
|
msgid "You have no permission to access %s " |
||||
|
msgstr "No teniu permisos per accedir %s " |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms_gateway_history_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server_history |
||||
|
msgid "SMS Gateway History" |
||||
|
msgstr "Historial passarel·la SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Verified" |
||||
|
msgstr "Verificat" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,name:0 |
||||
|
msgid "Gateway Name" |
||||
|
msgstr "Nom passarel·la" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.sms:0 |
||||
|
#: field:sms.sms,error:0 |
||||
|
msgid "Last Error" |
||||
|
msgstr "Últim error" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,body:0 |
||||
|
msgid "Message" |
||||
|
msgstr "Missatge" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,state:0 |
||||
|
msgid "Message Status" |
||||
|
msgstr "Estat del missatge" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.parms,name:0 |
||||
|
msgid "Property name" |
||||
|
msgstr "Nom de la propietat" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms_gateway_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_server |
||||
|
#: view:sms.gateway:0 |
||||
|
#: field:sms.gateway.history,gateway_id:0 |
||||
|
#: field:sms.gateway.parms,gateway_id:0 |
||||
|
#: field:sms.sms,gateway_id:0 |
||||
|
msgid "SMS Gateway" |
||||
|
msgstr "Passarel·la SMS" |
@ -0,0 +1,403 @@ |
|||||
|
# German translation for openerp-gateway |
||||
|
# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 |
||||
|
# This file is distributed under the same license as the openerp-gateway package. |
||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. |
||||
|
# |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: openerp-gateway\n" |
||||
|
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
||||
|
"POT-Creation-Date: 2011-09-10 10:24+0000\n" |
||||
|
"PO-Revision-Date: 2012-01-01 14:14+0000\n" |
||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
||||
|
"Language-Team: German <de@li.org>\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: 8bit\n" |
||||
|
"X-Launchpad-Export-Date: 2012-01-02 05:19+0000\n" |
||||
|
"X-Generator: Launchpad (build 14560)\n" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,method:0 |
||||
|
msgid "SMPP Method" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,property_ids:0 |
||||
|
msgid "Parameters" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,url:0 |
||||
|
msgid "Gateway URL" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,sms:0 |
||||
|
msgid "SMS" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:ir.actions.server,sms_server:0 |
||||
|
msgid "SMS Server" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,msg:0 |
||||
|
msgid "SMS Text" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/verifycode.py:43 |
||||
|
#, python-format |
||||
|
msgid "Gateway already verified!" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,name:0 |
||||
|
msgid "SMS Request" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_view:sms.gateway.code.send,init:0 |
||||
|
#: wizard_button:sms.gateway.code.send,init,send:0 |
||||
|
msgid "Send Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.parms,value:0 |
||||
|
msgid "Property value" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "SMS Message" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Not Verified" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,type:0 |
||||
|
msgid "If parameter concern a value to substitute, indicate it" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Sent" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.code.verify,init,code:0 |
||||
|
msgid "Enter the verification code that you get in your verification sms" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway |
||||
|
msgid "SMS Client" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.wizard,name:gateway.sms_gateway_send_code |
||||
|
msgid "Send Verification Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,name:0 |
||||
|
msgid "Description" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Permission" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,value:0 |
||||
|
msgid "Value associate on the property for the URL" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,code:0 |
||||
|
#: wizard_field:sms.gateway.code.verify,init,code:0 |
||||
|
msgid "Verification Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/sendcode.py:54 |
||||
|
#, python-format |
||||
|
msgid "Verification Failed. Please check the Server Configuration!" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:72 |
||||
|
#, python-format |
||||
|
msgid "This method is not implemented (%s)" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.code.send,init,smsto:0 |
||||
|
msgid "" |
||||
|
"Enter the Mobile No on which you want to receive the Verification Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:114 |
||||
|
#, python-format |
||||
|
msgid "SMS Sent" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Recipient No" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,date_create:0 |
||||
|
#: field:sms.sms,date_create:0 |
||||
|
msgid "Date" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Waiting for Verification" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway_parms |
||||
|
msgid "SMS Client Properties" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Password" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,users_id:0 |
||||
|
msgid "Users Allowed" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,name:0 |
||||
|
msgid "Name of the property whom appear on the URL" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "User" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,user_id:0 |
||||
|
msgid "Username" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.act_sms_gateway_2_sms_queue |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms.sms_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server_queue |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "Message Queue" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway.history:0 |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "Gateway History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_ir_actions_server |
||||
|
msgid "ir.actions.server" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:ir.actions.server,sms_server:0 |
||||
|
msgid "Select the SMS Gateway configuration to use with this action" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway,body:0 |
||||
|
msgid "" |
||||
|
"The message text that will be send along with the email which is send " |
||||
|
"through this server" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_button:sms.gateway.code.send,init,end:0 |
||||
|
#: wizard_button:sms.gateway.code.verify,init,end:0 |
||||
|
msgid "Cancel" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Access Permission" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway,url:0 |
||||
|
msgid "Base url for message" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_field:sms.gateway.code.send,init,smsto:0 |
||||
|
#: field:sms.gateway.history,to:0 |
||||
|
#: field:sms.sms,mobile:0 |
||||
|
msgid "Mobile No" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:72 |
||||
|
#: code:addons/gateway/wizard/sendcode.py:54 |
||||
|
#: code:addons/gateway/wizard/verifycode.py:43 |
||||
|
#: code:addons/gateway/wizard/verifycode.py:48 |
||||
|
#: selection:sms.sms,state:0 |
||||
|
#, python-format |
||||
|
msgid "Error" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.act_sms_gateway_2_sms_history |
||||
|
msgid "SMS History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/verifycode.py:48 |
||||
|
#, python-format |
||||
|
msgid "Verification failed. Invalid Verification Code!" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Queued" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server |
||||
|
msgid "Gateway List" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,history_line:0 |
||||
|
msgid "History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,method:0 |
||||
|
#: field:sms.gateway.parms,type:0 |
||||
|
msgid "API Method" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,state:0 |
||||
|
msgid "Gateway Status" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:69 |
||||
|
#, python-format |
||||
|
msgid "Permission Error!" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_view:sms.gateway.code.verify,init:0 |
||||
|
#: wizard_button:sms.gateway.code.verify,init,check:0 |
||||
|
msgid "Verify Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Sender Name" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Gateway Parameters" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Waiting" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "General" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,method:0 |
||||
|
msgid "HTTP Method" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.wizard,name:gateway.sms_gateway_verify_code |
||||
|
msgid "Verify SMS Gateway" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway_history |
||||
|
msgid "SMS Client History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms.sms |
||||
|
msgid "SMS Queue" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:69 |
||||
|
#, python-format |
||||
|
msgid "You have no permission to access %s " |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms_gateway_history_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server_history |
||||
|
msgid "SMS Gateway History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Verified" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,name:0 |
||||
|
msgid "Gateway Name" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.sms:0 |
||||
|
#: field:sms.sms,error:0 |
||||
|
msgid "Last Error" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,body:0 |
||||
|
msgid "Message" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,state:0 |
||||
|
msgid "Message Status" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.parms,name:0 |
||||
|
msgid "Property name" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms_gateway_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_server |
||||
|
#: view:sms.gateway:0 |
||||
|
#: field:sms.gateway.history,gateway_id:0 |
||||
|
#: field:sms.gateway.parms,gateway_id:0 |
||||
|
#: field:sms.sms,gateway_id:0 |
||||
|
msgid "SMS Gateway" |
||||
|
msgstr "" |
@ -0,0 +1,412 @@ |
|||||
|
# Spanish translation for openerp-gateway |
||||
|
# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 |
||||
|
# This file is distributed under the same license as the openerp-gateway package. |
||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. |
||||
|
# |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: openerp-gateway\n" |
||||
|
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
||||
|
"POT-Creation-Date: 2011-09-10 10:24+0000\n" |
||||
|
"PO-Revision-Date: 2012-02-25 17:40+0000\n" |
||||
|
"Last-Translator: Jordi Esteve (www.zikzakmedia.com) " |
||||
|
"<jesteve@zikzakmedia.com>\n" |
||||
|
"Language-Team: Spanish <es@li.org>\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: 8bit\n" |
||||
|
"X-Launchpad-Export-Date: 2012-02-26 05:17+0000\n" |
||||
|
"X-Generator: Launchpad (build 14860)\n" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,method:0 |
||||
|
msgid "SMPP Method" |
||||
|
msgstr "Método SMPP" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,property_ids:0 |
||||
|
msgid "Parameters" |
||||
|
msgstr "Parámetros" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,url:0 |
||||
|
msgid "Gateway URL" |
||||
|
msgstr "URL de la pasarela" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,sms:0 |
||||
|
msgid "SMS" |
||||
|
msgstr "SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:ir.actions.server,sms_server:0 |
||||
|
msgid "SMS Server" |
||||
|
msgstr "Servidor SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,msg:0 |
||||
|
msgid "SMS Text" |
||||
|
msgstr "Texto SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/verifycode.py:43 |
||||
|
#, python-format |
||||
|
msgid "Gateway already verified!" |
||||
|
msgstr "¡La pasarela ya está verificada!" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,name:0 |
||||
|
msgid "SMS Request" |
||||
|
msgstr "Petición SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_view:sms.gateway.code.send,init:0 |
||||
|
#: wizard_button:sms.gateway.code.send,init,send:0 |
||||
|
msgid "Send Code" |
||||
|
msgstr "Enviar código" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.parms,value:0 |
||||
|
msgid "Property value" |
||||
|
msgstr "Valor propiedad" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "SMS Message" |
||||
|
msgstr "Mensaje SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Not Verified" |
||||
|
msgstr "No verificado" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,type:0 |
||||
|
msgid "If parameter concern a value to substitute, indicate it" |
||||
|
msgstr "Si el parámetro se refiere a un valor a sustituir, indíquelo." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Sent" |
||||
|
msgstr "Enviado" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.code.verify,init,code:0 |
||||
|
msgid "Enter the verification code that you get in your verification sms" |
||||
|
msgstr "" |
||||
|
"Introduzca el código de verificación que ha recibido en su SMS de " |
||||
|
"verificación." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway |
||||
|
msgid "SMS Client" |
||||
|
msgstr "Cliente SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.wizard,name:gateway.sms_gateway_send_code |
||||
|
msgid "Send Verification Code" |
||||
|
msgstr "Enviar código de verificación" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,name:0 |
||||
|
msgid "Description" |
||||
|
msgstr "Descripción" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Permission" |
||||
|
msgstr "Permiso" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,value:0 |
||||
|
msgid "Value associate on the property for the URL" |
||||
|
msgstr "Valor asociado a la propieda para la URL." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,code:0 |
||||
|
#: wizard_field:sms.gateway.code.verify,init,code:0 |
||||
|
msgid "Verification Code" |
||||
|
msgstr "Código de verificación" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/sendcode.py:54 |
||||
|
#, python-format |
||||
|
msgid "Verification Failed. Please check the Server Configuration!" |
||||
|
msgstr "" |
||||
|
"Ha fallado la verificación. ¡Compruebe la configuración del servidor!" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:72 |
||||
|
#, python-format |
||||
|
msgid "This method is not implemented (%s)" |
||||
|
msgstr "Este método no está implementado (%s)" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.code.send,init,smsto:0 |
||||
|
msgid "" |
||||
|
"Enter the Mobile No on which you want to receive the Verification Code" |
||||
|
msgstr "" |
||||
|
"Introduzca el Nº de móvil en el que desea recibir el código de verificación." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:114 |
||||
|
#, python-format |
||||
|
msgid "SMS Sent" |
||||
|
msgstr "SMS enviado" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Recipient No" |
||||
|
msgstr "Nº recepción" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,date_create:0 |
||||
|
#: field:sms.sms,date_create:0 |
||||
|
msgid "Date" |
||||
|
msgstr "Fecha" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Waiting for Verification" |
||||
|
msgstr "Esperando verificación" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway_parms |
||||
|
msgid "SMS Client Properties" |
||||
|
msgstr "Propiedades cliente SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Password" |
||||
|
msgstr "Contraseña" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,users_id:0 |
||||
|
msgid "Users Allowed" |
||||
|
msgstr "Usuarios permitidos" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,name:0 |
||||
|
msgid "Name of the property whom appear on the URL" |
||||
|
msgstr "Nombre de la propiedad que aparece en la URL." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "User" |
||||
|
msgstr "Usuario" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,user_id:0 |
||||
|
msgid "Username" |
||||
|
msgstr "Nombre de usuario" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.act_sms_gateway_2_sms_queue |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms.sms_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server_queue |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "Message Queue" |
||||
|
msgstr "Cola de mensajes" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway.history:0 |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "Gateway History" |
||||
|
msgstr "Historial de la pasarela" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_ir_actions_server |
||||
|
msgid "ir.actions.server" |
||||
|
msgstr "ir.acciones.servidor" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:ir.actions.server,sms_server:0 |
||||
|
msgid "Select the SMS Gateway configuration to use with this action" |
||||
|
msgstr "" |
||||
|
"Seleccione la configuración de la pasarela SMS que se utilizará con esta " |
||||
|
"acción." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway,body:0 |
||||
|
msgid "" |
||||
|
"The message text that will be send along with the email which is send " |
||||
|
"through this server" |
||||
|
msgstr "" |
||||
|
"El texto del mensaje que será enviado junto con el Email que es enviado " |
||||
|
"mediante este servidor." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_button:sms.gateway.code.send,init,end:0 |
||||
|
#: wizard_button:sms.gateway.code.verify,init,end:0 |
||||
|
msgid "Cancel" |
||||
|
msgstr "Cancelar" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Access Permission" |
||||
|
msgstr "Permiso de acceso" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway,url:0 |
||||
|
msgid "Base url for message" |
||||
|
msgstr "URL base para el mensaje." |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_field:sms.gateway.code.send,init,smsto:0 |
||||
|
#: field:sms.gateway.history,to:0 |
||||
|
#: field:sms.sms,mobile:0 |
||||
|
msgid "Mobile No" |
||||
|
msgstr "Núm. móvil" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:72 |
||||
|
#: code:addons/gateway/wizard/sendcode.py:54 |
||||
|
#: code:addons/gateway/wizard/verifycode.py:43 |
||||
|
#: code:addons/gateway/wizard/verifycode.py:48 |
||||
|
#: selection:sms.sms,state:0 |
||||
|
#, python-format |
||||
|
msgid "Error" |
||||
|
msgstr "Error" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.act_sms_gateway_2_sms_history |
||||
|
msgid "SMS History" |
||||
|
msgstr "Historial SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/verifycode.py:48 |
||||
|
#, python-format |
||||
|
msgid "Verification failed. Invalid Verification Code!" |
||||
|
msgstr "Ha fallado la verificación. ¡Código de verificación inválido!" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Queued" |
||||
|
msgstr "En cola" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server |
||||
|
msgid "Gateway List" |
||||
|
msgstr "Lista pasarela" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,history_line:0 |
||||
|
msgid "History" |
||||
|
msgstr "Historial" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,method:0 |
||||
|
#: field:sms.gateway.parms,type:0 |
||||
|
msgid "API Method" |
||||
|
msgstr "Método API" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,state:0 |
||||
|
msgid "Gateway Status" |
||||
|
msgstr "Estado pasarela" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:69 |
||||
|
#, python-format |
||||
|
msgid "Permission Error!" |
||||
|
msgstr "¡Error de los permisos!" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_view:sms.gateway.code.verify,init:0 |
||||
|
#: wizard_button:sms.gateway.code.verify,init,check:0 |
||||
|
msgid "Verify Code" |
||||
|
msgstr "Verificar código" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Sender Name" |
||||
|
msgstr "Nombre del remitente" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Gateway Parameters" |
||||
|
msgstr "Parámetros pasarela" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Waiting" |
||||
|
msgstr "En espera" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "General" |
||||
|
msgstr "General" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,method:0 |
||||
|
msgid "HTTP Method" |
||||
|
msgstr "Método HTTP" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.wizard,name:gateway.sms_gateway_verify_code |
||||
|
msgid "Verify SMS Gateway" |
||||
|
msgstr "Verificar pasarela SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway_history |
||||
|
msgid "SMS Client History" |
||||
|
msgstr "Historial cliente SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms.sms |
||||
|
msgid "SMS Queue" |
||||
|
msgstr "Cola SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:69 |
||||
|
#, python-format |
||||
|
msgid "You have no permission to access %s " |
||||
|
msgstr "No tiene permisos para acceder %s " |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms_gateway_history_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server_history |
||||
|
msgid "SMS Gateway History" |
||||
|
msgstr "Historial pasarela SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Verified" |
||||
|
msgstr "Verificado" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,name:0 |
||||
|
msgid "Gateway Name" |
||||
|
msgstr "Nombre pasarela" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.sms:0 |
||||
|
#: field:sms.sms,error:0 |
||||
|
msgid "Last Error" |
||||
|
msgstr "Último error" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,body:0 |
||||
|
msgid "Message" |
||||
|
msgstr "Mensaje" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,state:0 |
||||
|
msgid "Message Status" |
||||
|
msgstr "Estado del mensaje" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.parms,name:0 |
||||
|
msgid "Property name" |
||||
|
msgstr "Nombre de la propiedad" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms_gateway_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_server |
||||
|
#: view:sms.gateway:0 |
||||
|
#: field:sms.gateway.history,gateway_id:0 |
||||
|
#: field:sms.gateway.parms,gateway_id:0 |
||||
|
#: field:sms.sms,gateway_id:0 |
||||
|
msgid "SMS Gateway" |
||||
|
msgstr "Pasarela SMS" |
@ -0,0 +1,410 @@ |
|||||
|
# French translation for openerp-gateway |
||||
|
# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 |
||||
|
# This file is distributed under the same license as the openerp-gateway package. |
||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. |
||||
|
# |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: openerp-gateway\n" |
||||
|
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
||||
|
"POT-Creation-Date: 2011-09-10 10:24+0000\n" |
||||
|
"PO-Revision-Date: 2011-09-10 12:22+0000\n" |
||||
|
"Last-Translator: Christophe Chauvet - http://www.syleam.fr/ <Unknown>\n" |
||||
|
"Language-Team: French <fr@li.org>\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: 8bit\n" |
||||
|
"X-Launchpad-Export-Date: 2011-09-11 05:02+0000\n" |
||||
|
"X-Generator: Launchpad (build 13900)\n" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,method:0 |
||||
|
msgid "SMPP Method" |
||||
|
msgstr "Methode SMPP" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,property_ids:0 |
||||
|
msgid "Parameters" |
||||
|
msgstr "Paramètres" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,url:0 |
||||
|
msgid "Gateway URL" |
||||
|
msgstr "URL de la passerelle" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,sms:0 |
||||
|
msgid "SMS" |
||||
|
msgstr "SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:ir.actions.server,sms_server:0 |
||||
|
msgid "SMS Server" |
||||
|
msgstr "Serveur de SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,msg:0 |
||||
|
msgid "SMS Text" |
||||
|
msgstr "Texte du SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/verifycode.py:43 |
||||
|
#, python-format |
||||
|
msgid "Gateway already verified!" |
||||
|
msgstr "Cette passerelle a déjà été vérifié" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,name:0 |
||||
|
msgid "SMS Request" |
||||
|
msgstr "Requête par SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_view:sms.gateway.code.send,init:0 |
||||
|
#: wizard_button:sms.gateway.code.send,init,send:0 |
||||
|
msgid "Send Code" |
||||
|
msgstr "Envoyer le code" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.parms,value:0 |
||||
|
msgid "Property value" |
||||
|
msgstr "Valeur de la propriété" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "SMS Message" |
||||
|
msgstr "Message SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Not Verified" |
||||
|
msgstr "Non vérifié" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,type:0 |
||||
|
msgid "If parameter concern a value to substitute, indicate it" |
||||
|
msgstr "Si le paramètre concerne une valeur à substituer, indiquer le" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Sent" |
||||
|
msgstr "Envoyer" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.code.verify,init,code:0 |
||||
|
msgid "Enter the verification code that you get in your verification sms" |
||||
|
msgstr "" |
||||
|
"Saisissez le code de vérification du SMS que vous avez reçu dans votre SMS " |
||||
|
"de vérification" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway |
||||
|
msgid "SMS Client" |
||||
|
msgstr "Client SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.wizard,name:gateway.sms_gateway_send_code |
||||
|
msgid "Send Verification Code" |
||||
|
msgstr "Envoyer le code de vérification" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,name:0 |
||||
|
msgid "Description" |
||||
|
msgstr "Description" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Permission" |
||||
|
msgstr "Permission" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,value:0 |
||||
|
msgid "Value associate on the property for the URL" |
||||
|
msgstr "Valeur associé à la propriété pour l'adresse" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,code:0 |
||||
|
#: wizard_field:sms.gateway.code.verify,init,code:0 |
||||
|
msgid "Verification Code" |
||||
|
msgstr "Code de vérifcation" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/sendcode.py:54 |
||||
|
#, python-format |
||||
|
msgid "Verification Failed. Please check the Server Configuration!" |
||||
|
msgstr "" |
||||
|
"Échec de vérification. Merci de vérifier le serveur de configuration!" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:72 |
||||
|
#, python-format |
||||
|
msgid "This method is not implemented (%s)" |
||||
|
msgstr "Cette méthode n'est pas implémentée (%s)" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.code.send,init,smsto:0 |
||||
|
msgid "" |
||||
|
"Enter the Mobile No on which you want to receive the Verification Code" |
||||
|
msgstr "" |
||||
|
"Saisissez le numéro de mobile sur lequel vous souhaitez recevoir votre code " |
||||
|
"de vérification" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:114 |
||||
|
#, python-format |
||||
|
msgid "SMS Sent" |
||||
|
msgstr "SMS envoyé" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Recipient No" |
||||
|
msgstr "N° du destinataire" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,date_create:0 |
||||
|
#: field:sms.sms,date_create:0 |
||||
|
msgid "Date" |
||||
|
msgstr "Date" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Waiting for Verification" |
||||
|
msgstr "En attente de vérification" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway_parms |
||||
|
msgid "SMS Client Properties" |
||||
|
msgstr "Propriétés du client SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Password" |
||||
|
msgstr "Mot de Passe" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,users_id:0 |
||||
|
msgid "Users Allowed" |
||||
|
msgstr "Utilisateurs autorisés" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,name:0 |
||||
|
msgid "Name of the property whom appear on the URL" |
||||
|
msgstr "Nom de la propriété qui apparaîtra dans l'adresse" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "User" |
||||
|
msgstr "Utilisateur" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,user_id:0 |
||||
|
msgid "Username" |
||||
|
msgstr "Nom d’utilisateur" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.act_sms_gateway_2_sms_queue |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms.sms_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server_queue |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "Message Queue" |
||||
|
msgstr "File d'attente des messages" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway.history:0 |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "Gateway History" |
||||
|
msgstr "Historique de la passerelle" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_ir_actions_server |
||||
|
msgid "ir.actions.server" |
||||
|
msgstr "ir.actions.server" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:ir.actions.server,sms_server:0 |
||||
|
msgid "Select the SMS Gateway configuration to use with this action" |
||||
|
msgstr "" |
||||
|
"Sélectionner la configuration de la passerelle SMS à utiliser pour cette " |
||||
|
"action" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway,body:0 |
||||
|
msgid "" |
||||
|
"The message text that will be send along with the email which is send " |
||||
|
"through this server" |
||||
|
msgstr "Le message texte qui sera envoyé avec l'email envoyé par ce serveur" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_button:sms.gateway.code.send,init,end:0 |
||||
|
#: wizard_button:sms.gateway.code.verify,init,end:0 |
||||
|
msgid "Cancel" |
||||
|
msgstr "Annuler" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Access Permission" |
||||
|
msgstr "Droit d'accès" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway,url:0 |
||||
|
msgid "Base url for message" |
||||
|
msgstr "Adresse de base pour le message" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_field:sms.gateway.code.send,init,smsto:0 |
||||
|
#: field:sms.gateway.history,to:0 |
||||
|
#: field:sms.sms,mobile:0 |
||||
|
msgid "Mobile No" |
||||
|
msgstr "N° de portable" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:72 |
||||
|
#: code:addons/gateway/wizard/sendcode.py:54 |
||||
|
#: code:addons/gateway/wizard/verifycode.py:43 |
||||
|
#: code:addons/gateway/wizard/verifycode.py:48 |
||||
|
#: selection:sms.sms,state:0 |
||||
|
#, python-format |
||||
|
msgid "Error" |
||||
|
msgstr "Erreur" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.act_sms_gateway_2_sms_history |
||||
|
msgid "SMS History" |
||||
|
msgstr "Historique des SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/verifycode.py:48 |
||||
|
#, python-format |
||||
|
msgid "Verification failed. Invalid Verification Code!" |
||||
|
msgstr "Échec de vérification. Code de vérification non valide!" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Queued" |
||||
|
msgstr "En file d'attente" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server |
||||
|
msgid "Gateway List" |
||||
|
msgstr "Liste des passerelles" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,history_line:0 |
||||
|
msgid "History" |
||||
|
msgstr "Historique" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,method:0 |
||||
|
#: field:sms.gateway.parms,type:0 |
||||
|
msgid "API Method" |
||||
|
msgstr "Méthode de l'API" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,state:0 |
||||
|
msgid "Gateway Status" |
||||
|
msgstr "État de la passerelle" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:69 |
||||
|
#, python-format |
||||
|
msgid "Permission Error!" |
||||
|
msgstr "Erreur de permission !" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_view:sms.gateway.code.verify,init:0 |
||||
|
#: wizard_button:sms.gateway.code.verify,init,check:0 |
||||
|
msgid "Verify Code" |
||||
|
msgstr "Code de vérification" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Sender Name" |
||||
|
msgstr "Nom de l'expéditeur" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Gateway Parameters" |
||||
|
msgstr "Paramètres de la passerelle" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Waiting" |
||||
|
msgstr "En attente" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "General" |
||||
|
msgstr "Générale" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,method:0 |
||||
|
msgid "HTTP Method" |
||||
|
msgstr "Méthode HTTP" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.wizard,name:gateway.sms_gateway_verify_code |
||||
|
msgid "Verify SMS Gateway" |
||||
|
msgstr "Vérification de la passerelle SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway_history |
||||
|
msgid "SMS Client History" |
||||
|
msgstr "Historique du client SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms.sms |
||||
|
msgid "SMS Queue" |
||||
|
msgstr "File d'attente des SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:69 |
||||
|
#, python-format |
||||
|
msgid "You have no permission to access %s " |
||||
|
msgstr "Vous n'avez pas le droit d'accès à %s " |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms_gateway_history_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server_history |
||||
|
msgid "SMS Gateway History" |
||||
|
msgstr "Historique de la passerelle SMS" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Verified" |
||||
|
msgstr "Vérifié" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,name:0 |
||||
|
msgid "Gateway Name" |
||||
|
msgstr "Nom de la passerelle" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.sms:0 |
||||
|
#: field:sms.sms,error:0 |
||||
|
msgid "Last Error" |
||||
|
msgstr "Dernière erreur" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,body:0 |
||||
|
msgid "Message" |
||||
|
msgstr "Message" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,state:0 |
||||
|
msgid "Message Status" |
||||
|
msgstr "État du message" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.parms,name:0 |
||||
|
msgid "Property name" |
||||
|
msgstr "Nom de la propriété" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms_gateway_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_server |
||||
|
#: view:sms.gateway:0 |
||||
|
#: field:sms.gateway.history,gateway_id:0 |
||||
|
#: field:sms.gateway.parms,gateway_id:0 |
||||
|
#: field:sms.sms,gateway_id:0 |
||||
|
msgid "SMS Gateway" |
||||
|
msgstr "Passerelle SMS" |
@ -0,0 +1,403 @@ |
|||||
|
# Brazilian Portuguese translation for openerp-gateway |
||||
|
# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 |
||||
|
# This file is distributed under the same license as the openerp-gateway package. |
||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. |
||||
|
# |
||||
|
msgid "" |
||||
|
msgstr "" |
||||
|
"Project-Id-Version: openerp-gateway\n" |
||||
|
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
||||
|
"POT-Creation-Date: 2011-09-10 10:24+0000\n" |
||||
|
"PO-Revision-Date: 2012-04-10 12:48+0000\n" |
||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
||||
|
"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n" |
||||
|
"MIME-Version: 1.0\n" |
||||
|
"Content-Type: text/plain; charset=UTF-8\n" |
||||
|
"Content-Transfer-Encoding: 8bit\n" |
||||
|
"X-Launchpad-Export-Date: 2012-04-11 04:57+0000\n" |
||||
|
"X-Generator: Launchpad (build 15070)\n" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,method:0 |
||||
|
msgid "SMPP Method" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,property_ids:0 |
||||
|
msgid "Parameters" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,url:0 |
||||
|
msgid "Gateway URL" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,sms:0 |
||||
|
msgid "SMS" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:ir.actions.server,sms_server:0 |
||||
|
msgid "SMS Server" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,msg:0 |
||||
|
msgid "SMS Text" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/verifycode.py:43 |
||||
|
#, python-format |
||||
|
msgid "Gateway already verified!" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,name:0 |
||||
|
msgid "SMS Request" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_view:sms.gateway.code.send,init:0 |
||||
|
#: wizard_button:sms.gateway.code.send,init,send:0 |
||||
|
msgid "Send Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.parms,value:0 |
||||
|
msgid "Property value" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "SMS Message" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Not Verified" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,type:0 |
||||
|
msgid "If parameter concern a value to substitute, indicate it" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Sent" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.code.verify,init,code:0 |
||||
|
msgid "Enter the verification code that you get in your verification sms" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway |
||||
|
msgid "SMS Client" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.wizard,name:gateway.sms_gateway_send_code |
||||
|
msgid "Send Verification Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,name:0 |
||||
|
msgid "Description" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Permission" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,value:0 |
||||
|
msgid "Value associate on the property for the URL" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,code:0 |
||||
|
#: wizard_field:sms.gateway.code.verify,init,code:0 |
||||
|
msgid "Verification Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/sendcode.py:54 |
||||
|
#, python-format |
||||
|
msgid "Verification Failed. Please check the Server Configuration!" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:72 |
||||
|
#, python-format |
||||
|
msgid "This method is not implemented (%s)" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.code.send,init,smsto:0 |
||||
|
msgid "" |
||||
|
"Enter the Mobile No on which you want to receive the Verification Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:114 |
||||
|
#, python-format |
||||
|
msgid "SMS Sent" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Recipient No" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,date_create:0 |
||||
|
#: field:sms.sms,date_create:0 |
||||
|
msgid "Date" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Waiting for Verification" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway_parms |
||||
|
msgid "SMS Client Properties" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Password" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,users_id:0 |
||||
|
msgid "Users Allowed" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway.parms,name:0 |
||||
|
msgid "Name of the property whom appear on the URL" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "User" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.history,user_id:0 |
||||
|
msgid "Username" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.act_sms_gateway_2_sms_queue |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms.sms_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server_queue |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "Message Queue" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway.history:0 |
||||
|
#: view:sms.sms:0 |
||||
|
msgid "Gateway History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_ir_actions_server |
||||
|
msgid "ir.actions.server" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:ir.actions.server,sms_server:0 |
||||
|
msgid "Select the SMS Gateway configuration to use with this action" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway,body:0 |
||||
|
msgid "" |
||||
|
"The message text that will be send along with the email which is send " |
||||
|
"through this server" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_button:sms.gateway.code.send,init,end:0 |
||||
|
#: wizard_button:sms.gateway.code.verify,init,end:0 |
||||
|
msgid "Cancel" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Access Permission" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: help:sms.gateway,url:0 |
||||
|
msgid "Base url for message" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_field:sms.gateway.code.send,init,smsto:0 |
||||
|
#: field:sms.gateway.history,to:0 |
||||
|
#: field:sms.sms,mobile:0 |
||||
|
msgid "Mobile No" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:72 |
||||
|
#: code:addons/gateway/wizard/sendcode.py:54 |
||||
|
#: code:addons/gateway/wizard/verifycode.py:43 |
||||
|
#: code:addons/gateway/wizard/verifycode.py:48 |
||||
|
#: selection:sms.sms,state:0 |
||||
|
#, python-format |
||||
|
msgid "Error" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.act_sms_gateway_2_sms_history |
||||
|
msgid "SMS History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/wizard/verifycode.py:48 |
||||
|
#, python-format |
||||
|
msgid "Verification failed. Invalid Verification Code!" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Queued" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server |
||||
|
msgid "Gateway List" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,history_line:0 |
||||
|
msgid "History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,method:0 |
||||
|
#: field:sms.gateway.parms,type:0 |
||||
|
msgid "API Method" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,state:0 |
||||
|
msgid "Gateway Status" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:69 |
||||
|
#, python-format |
||||
|
msgid "Permission Error!" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: wizard_view:sms.gateway.code.verify,init:0 |
||||
|
#: wizard_button:sms.gateway.code.verify,init,check:0 |
||||
|
msgid "Verify Code" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway.parms,type:0 |
||||
|
msgid "Sender Name" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "Gateway Parameters" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.sms,state:0 |
||||
|
msgid "Waiting" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.gateway:0 |
||||
|
msgid "General" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,method:0 |
||||
|
msgid "HTTP Method" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.wizard,name:gateway.sms_gateway_verify_code |
||||
|
msgid "Verify SMS Gateway" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms_gateway_history |
||||
|
msgid "SMS Client History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.model,name:gateway.model_sms.sms |
||||
|
msgid "SMS Queue" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: code:addons/gateway/gateway.py:69 |
||||
|
#, python-format |
||||
|
msgid "You have no permission to access %s " |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms_gateway_history_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_sms_server_history |
||||
|
msgid "SMS Gateway History" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: selection:sms.gateway,state:0 |
||||
|
msgid "Verified" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,name:0 |
||||
|
msgid "Gateway Name" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: view:sms.sms:0 |
||||
|
#: field:sms.sms,error:0 |
||||
|
msgid "Last Error" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway,body:0 |
||||
|
msgid "Message" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.sms,state:0 |
||||
|
msgid "Message Status" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: field:sms.gateway.parms,name:0 |
||||
|
msgid "Property name" |
||||
|
msgstr "" |
||||
|
|
||||
|
#. module: gateway |
||||
|
#: model:ir.actions.act_window,name:gateway.action_sms_gateway_tree |
||||
|
#: model:ir.ui.menu,name:gateway.menu_gateway_administration_server |
||||
|
#: view:sms.gateway:0 |
||||
|
#: field:sms.gateway.history,gateway_id:0 |
||||
|
#: field:sms.gateway.parms,gateway_id:0 |
||||
|
#: field:sms.sms,gateway_id:0 |
||||
|
msgid "SMS Gateway" |
||||
|
msgstr "" |
After Width: 1301 | Height: 359 | Size: 43 KiB |
After Width: 1301 | Height: 418 | Size: 59 KiB |
After Width: 1301 | Height: 413 | Size: 56 KiB |
After Width: 897 | Height: 480 | Size: 23 KiB |
After Width: 1301 | Height: 359 | Size: 43 KiB |
@ -0,0 +1,9 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# Copyright (C) 2013 Julius Network Solutions SARL <contact@julius.fr> |
||||
|
# Author: Sébastien BEAU <sebastien.beau@akretion.com> |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
from . import sms_gateway |
||||
|
from . import server_action |
||||
|
from . import sms_template |
||||
|
from . import sms_sms |
@ -0,0 +1,27 @@ |
|||||
|
# coding: utf-8 |
||||
|
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). |
||||
|
# Copyright (C) 2013 Julius Network Solutions SARL <contact@julius.fr> |
||||
|
# Copyright (C) 2015 Valentin Chemiere <valentin.chemiere@akretion.com> |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
from odoo import models, fields |
||||
|
|
||||
|
|
||||
|
class ServerAction(models.Model): |
||||
|
""" |
||||
|
Possibility to specify the SMS Gateway when configure this server action |
||||
|
""" |
||||
|
_inherit = 'ir.actions.server' |
||||
|
|
||||
|
mobile = fields.Char( |
||||
|
string='Mobile No', |
||||
|
help="Field to be used to fetch the mobile number, e.g. you select" |
||||
|
" the invoice model and `object.invoice_address_id.mobile` " |
||||
|
"will be the field providing the correct mobile number.") |
||||
|
sms = fields.Char(string='SMS', size=160, translate=True) |
||||
|
sms_server_id = fields.Many2one( |
||||
|
comodel_name='sms.gateway', string='SMS Server', |
||||
|
help='Select the SMS Gateway configuration to use with this action.') |
||||
|
sms_template_id = fields.Many2one( |
||||
|
comodel_name='mail.template', string='SMS Template', |
||||
|
help='Select the SMS Template configuration to use with this action.') |
@ -0,0 +1,100 @@ |
|||||
|
# coding: utf-8 |
||||
|
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). |
||||
|
# Copyright (C) 2011 SYLEAM (<http://syleam.fr/>) |
||||
|
# Copyright (C) 2013 Julius Network Solutions SARL <contact@julius.fr> |
||||
|
# Copyright (C) 2015 Valentin Chemiere <valentin.chemiere@akretion.com> |
||||
|
# Copyright (C) 2015 Sébastien BEAU <sebastien.beau@akretion.com> |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
from odoo import models, fields, api |
||||
|
|
||||
|
PRIORITY_LIST = [ |
||||
|
('0', '0'), |
||||
|
('1', '1'), |
||||
|
('2', '2'), |
||||
|
('3', '3') |
||||
|
] |
||||
|
|
||||
|
CLASSES_LIST = [ |
||||
|
('0', 'Flash'), |
||||
|
('1', 'Phone display'), |
||||
|
('2', 'SIM'), |
||||
|
('3', 'Toolkit') |
||||
|
] |
||||
|
|
||||
|
|
||||
|
class SmsAbstract(models.AbstractModel): |
||||
|
_name = 'sms.abstract' |
||||
|
_description = 'SMS Abstract Model' |
||||
|
|
||||
|
code = fields.Char('Verification Code') |
||||
|
body = fields.Text( |
||||
|
string='Message', |
||||
|
help="The message text that will be send along with the" |
||||
|
" email which is send through this server.") |
||||
|
classes = fields.Selection( |
||||
|
selection=CLASSES_LIST, string='Class', |
||||
|
default='1', |
||||
|
help='The SMS class') |
||||
|
deferred = fields.Integer( |
||||
|
help='The time -in minute(s)- to wait before sending the message.') |
||||
|
priority = fields.Selection( |
||||
|
selection=PRIORITY_LIST, string='Priority', default='3', |
||||
|
help='The priority of the message') |
||||
|
coding = fields.Selection(selection=[ |
||||
|
('1', '7 bit'), |
||||
|
('2', 'Unicode') |
||||
|
], string='Coding', |
||||
|
help='The SMS coding: 1 for 7 bit (160 chracters max' |
||||
|
'length) or 2 for unicode (70 characters max' |
||||
|
'length)', |
||||
|
default='1' |
||||
|
) |
||||
|
tag = fields.Char('Tag', help='an optional tag') |
||||
|
nostop = fields.Boolean( |
||||
|
default=True, |
||||
|
help='Do not display STOP clause in the message, this requires that ' |
||||
|
'this is not an advertising message.') |
||||
|
validity = fields.Integer( |
||||
|
default=10, |
||||
|
help="The maximum time - in minute(s) - before the message " |
||||
|
"is dropped.") |
||||
|
|
||||
|
char_limit = fields.Integer(string='Character Limit', default=160) |
||||
|
default_gateway = fields.Boolean() |
||||
|
company_id = fields.Many2one(comodel_name='res.company') |
||||
|
|
||||
|
|
||||
|
class SmsGateway(models.Model): |
||||
|
_name = 'sms.gateway' |
||||
|
_description = 'SMS Client' |
||||
|
_inherit = 'sms.abstract' |
||||
|
|
||||
|
name = fields.Char(string='Gateway Name', required=True) |
||||
|
from_provider = fields.Char(string="From") |
||||
|
method = fields.Selection(string='API Method', selection=[]) |
||||
|
url = fields.Char( |
||||
|
string='Gateway URL', help='Base url for message') |
||||
|
state = fields.Selection(selection=[ |
||||
|
('new', 'Not Verified'), |
||||
|
('waiting', 'Waiting for Verification'), |
||||
|
('confirm', 'Verified'), |
||||
|
], string='Gateway Status', index=True, readonly=True, default='new') |
||||
|
user_ids = fields.Many2many( |
||||
|
comodel_name='res.users', |
||||
|
string='Users Allowed to use the gateway') |
||||
|
|
||||
|
@api.multi |
||||
|
def _check_permissions(self): |
||||
|
self.ensure_one() |
||||
|
if self.env.uid not in self.sudo().user_ids.ids: |
||||
|
return False |
||||
|
return True |
||||
|
|
||||
|
@api.model |
||||
|
def _run_send_sms(self, domain=None): |
||||
|
if domain is None: |
||||
|
domain = [] |
||||
|
domain.append(('state', '=', 'draft')) |
||||
|
sms = self.env['sms.sms'].search(domain) |
||||
|
return sms.send() |
@ -0,0 +1,129 @@ |
|||||
|
# coding: utf-8 |
||||
|
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). |
||||
|
# Copyright (C) 2011 SYLEAM (<http://syleam.fr/>) |
||||
|
# Copyright (C) 2013 Julius Network Solutions SARL <contact@julius.fr> |
||||
|
# Copyright (C) 2015 Valentin Chemiere <valentin.chemiere@akretion.com> |
||||
|
# Copyright (C) 2015 Sébastien BEAU <sebastien.beau@akretion.com> |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
from odoo import models, fields, api, _ |
||||
|
import logging |
||||
|
_logger = logging.getLogger(__name__) |
||||
|
|
||||
|
|
||||
|
class SmsSms(models.Model): |
||||
|
_name = 'sms.sms' |
||||
|
_description = 'SMS' |
||||
|
_rec_name = 'mobile' |
||||
|
_inherit = 'sms.abstract' |
||||
|
|
||||
|
message = fields.Text( |
||||
|
size=256, |
||||
|
required=True, |
||||
|
readonly=True, |
||||
|
states={'draft': [('readonly', False)]}) |
||||
|
mobile = fields.Char( |
||||
|
required=True, |
||||
|
readonly=True, |
||||
|
states={'draft': [('readonly', False)]}) |
||||
|
gateway_id = fields.Many2one( |
||||
|
comodel_name='sms.gateway', |
||||
|
string='SMS Gateway', |
||||
|
readonly=True, |
||||
|
states={'draft': [('readonly', False)]}) |
||||
|
partner_id = fields.Many2one( |
||||
|
'res.partner', |
||||
|
readonly=True, |
||||
|
states={'draft': [('readonly', False)]}, |
||||
|
string='Partner') |
||||
|
state = fields.Selection(selection=[ |
||||
|
('draft', 'Queued'), |
||||
|
('sent', 'Sent'), |
||||
|
('cancel', 'Cancel'), |
||||
|
('error', 'Error'), |
||||
|
], string='Message Status', |
||||
|
readonly=True, |
||||
|
default='draft') |
||||
|
error = fields.Text( |
||||
|
string='Last Error', |
||||
|
size=256, |
||||
|
readonly=True, |
||||
|
states={'draft': [('readonly', False)]}) |
||||
|
|
||||
|
@api.onchange('partner_id') |
||||
|
def onchange_partner_id(self): |
||||
|
self.mobile = self.partner_id.mobile |
||||
|
|
||||
|
# commit is use to not loose each sms state with orm rollback |
||||
|
@api.multi |
||||
|
def _check_gateway_method(self): |
||||
|
self.ensure_one() |
||||
|
if self.gateway_id.method: |
||||
|
return True |
||||
|
else: |
||||
|
self.write({ |
||||
|
'state': 'error', |
||||
|
'error': _("No method gateway selected ")}) |
||||
|
self._cr.commit() |
||||
|
return False |
||||
|
|
||||
|
@api.multi |
||||
|
def _check_gateway_permission(self): |
||||
|
self.ensure_one() |
||||
|
if self.gateway_id._check_permissions(): |
||||
|
return True |
||||
|
else: |
||||
|
self.write( |
||||
|
{'error': 'no permission on gateway', 'state': 'error'}) |
||||
|
self._cr.commit() |
||||
|
return False |
||||
|
|
||||
|
@api.multi |
||||
|
def _check_sms_length(self): |
||||
|
self.ensure_one() |
||||
|
if len(self.message) <= self.gateway_id.char_limit: |
||||
|
return True |
||||
|
else: |
||||
|
self.write({ |
||||
|
'state': 'error', |
||||
|
'error': _("Size of SMS should not be more than %s " |
||||
|
"characters ") % self.sms.gateway_id.char_limit |
||||
|
}) |
||||
|
self._cr.commit() |
||||
|
return False |
||||
|
|
||||
|
@api.multi |
||||
|
def send(self): |
||||
|
allsend_ok = True |
||||
|
for sms in self: |
||||
|
sms_check = True |
||||
|
if not sms._check_gateway_method(): |
||||
|
allsend_ok = False |
||||
|
sms_check = False |
||||
|
continue |
||||
|
if not sms.gateway_id._check_permissions(): |
||||
|
allsend_ok = False |
||||
|
sms_check = False |
||||
|
continue |
||||
|
if not sms._check_sms_length(): |
||||
|
allsend_ok = False |
||||
|
sms_check = False |
||||
|
continue |
||||
|
if sms_check: |
||||
|
try: |
||||
|
with sms._cr.savepoint(): |
||||
|
getattr(sms, "_send_%s" % sms.gateway_id.method)() |
||||
|
sms.write({'state': 'sent', 'error': ''}) |
||||
|
except Exception as e: |
||||
|
_logger.error('Failed to send sms %s', e) |
||||
|
sms.write({'error': e, 'state': 'error'}) |
||||
|
sms._cr.commit() |
||||
|
return allsend_ok |
||||
|
|
||||
|
@api.multi |
||||
|
def cancel(self): |
||||
|
self.write({'state': 'cancel'}) |
||||
|
|
||||
|
@api.multi |
||||
|
def retry(self): |
||||
|
self.write({'state': 'draft'}) |
@ -0,0 +1,16 @@ |
|||||
|
# coding: utf-8 |
||||
|
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). |
||||
|
# Copyright (C) 2013 Julius Network Solutions SARL <contact@julius.fr> |
||||
|
# Copyright (C) 2015 Valentin Chemiere <valentin.chemiere@akretion.com> |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
|
||||
|
from odoo import models, fields |
||||
|
|
||||
|
|
||||
|
class MailTemplate(models.Model): |
||||
|
_inherit = "mail.template" |
||||
|
|
||||
|
sms_template = fields.Boolean('SMS Template') |
||||
|
mobile_to = fields.Char('To (Mobile)') |
||||
|
gateway_id = fields.Many2one('sms.gateway', 'SMS Gateway') |
@ -0,0 +1,6 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<odoo> |
||||
|
<record id="group_sms_user" model="res.groups"> |
||||
|
<field name="name">SMS / User</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,4 @@ |
|||||
|
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" |
||||
|
"access_sms_gateway_global","sms.gateway Global","model_sms_gateway",,1,0,0,0 |
||||
|
"access_sms_sms_global","sms.sms Global","model_sms_sms",,1,0,0,0 |
||||
|
"access_sms_sms_user","sms.sms User","model_sms_sms","group_sms_user",1,1,1,1 |
@ -0,0 +1,4 @@ |
|||||
|
id,name,model_id:id,groups:id,perm_read,perm_write,perm_create,perm_unlink,domain_force |
||||
|
edit_access_sms_gateway,Edit Access Sms Gateway,model_sms_gateway,,False,True,True,True,"[('company_id','=', user.company_id.id)]" |
||||
|
read_access_sms_gateway,Read Access Sms Gateway,model_sms_gateway,,True,False,False,False,"['|', '|', ('company_id','=', user.company_id.id),('company_id','child_of',[user.company_id.id]),('company_id','=',user.company_id.parent_id.id)]" |
||||
|
edit_access_sms,Edit Access Sms,model_sms_sms,,True,True,True,True,"[('company_id','=', user.company_id.id)]" |
After Width: 224 | Height: 225 | Size: 34 KiB |
@ -0,0 +1,19 @@ |
|||||
|
<?xml version="1.0"?> |
||||
|
<odoo> |
||||
|
<record model="ir.ui.view" id="view_server_statistics_graph"> |
||||
|
<field name="model">ir.actions.server</field> |
||||
|
<field name="inherit_id" ref="base.view_server_action_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<page name="code" position="after" autofocus="autofocus"> |
||||
|
<page string="SMS" name="sms" attrs="{'invisible': [('state', '!=', 'sms')]}"> |
||||
|
<group> |
||||
|
<field name="sms"/> |
||||
|
<field name="mobile"/> |
||||
|
<field name="sms_server_id" invisible="1"/> |
||||
|
<field name="sms_template_id" domain="[('sms_template','=',True)]" attrs="{'required':[('state','=','sms')]}"/> |
||||
|
</group> |
||||
|
</page> |
||||
|
</page> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,140 @@ |
|||||
|
<?xml version="1.0"?> |
||||
|
<odoo> |
||||
|
<record model="ir.ui.view" id="sms_gateway_form"> |
||||
|
<field name="model">sms.gateway</field> |
||||
|
<field name="priority" eval="8"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="SMS Gateway"> |
||||
|
<sheet> |
||||
|
<group col="2"> |
||||
|
<h1><field name="name" nolabel="1" placeholder="Name" colspan="2"/></h1> |
||||
|
<field name="method" nolabel="1" placeholder="Method" colspan="2"/> |
||||
|
<field name="default_gateway"/> |
||||
|
<field name="company_id" groups="base.group_multi_company"/> |
||||
|
</group> |
||||
|
<notebook colspan="4"> |
||||
|
<page string="General"> |
||||
|
<group col="4"> |
||||
|
<field name="state"/> |
||||
|
<field name="from_provider"/> |
||||
|
<field name="url"/> |
||||
|
</group> |
||||
|
</page> |
||||
|
<page string="Permission"> |
||||
|
<separator string="Access Permission" |
||||
|
colspan="4" /> |
||||
|
<field name="user_ids" colspan="4" nolabel="1"/> |
||||
|
</page> |
||||
|
<page string="Additional option"> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="validity" /> |
||||
|
<field name="classes"/> |
||||
|
<field name="deferred" /> |
||||
|
<field name="nostop" /> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="priority" /> |
||||
|
<field name="coding"/> |
||||
|
<field name="tag"/> |
||||
|
<field name="char_limit"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
</sheet> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record model="ir.ui.view" id="sms_gateway_tree"> |
||||
|
<field name="model">sms.gateway</field> |
||||
|
<field name="priority" eval="8"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="SMS Gateways"> |
||||
|
<field name="name"/> |
||||
|
<field name="method"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record model="ir.actions.act_window" id="action_sms_gateway_tree"> |
||||
|
<field name="name">SMS Gateway</field> |
||||
|
<field name="res_model">sms.gateway</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_mode">form,tree</field> |
||||
|
<field name="view_id" ref="sms_gateway_tree" /> |
||||
|
</record> |
||||
|
|
||||
|
<menuitem name="SMS Gateway" |
||||
|
id="menu_gateway_administration_sms_server" |
||||
|
sequence="100" |
||||
|
parent="base_phone.menu_config_phone" |
||||
|
action="action_sms_gateway_tree"/> |
||||
|
|
||||
|
<record model="ir.ui.view" id="sms_sms_tree"> |
||||
|
<field name="model">sms.sms</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="Sms"> |
||||
|
<field name="create_date"/> |
||||
|
<field name="mobile"/> |
||||
|
<field name="message"/> |
||||
|
<field name="state"/> |
||||
|
<field name="gateway_id"/> |
||||
|
<button string="Send" states="draft" type="object" name="send"/> |
||||
|
<button string="Retry" states="error" type="object" name="retry"/> |
||||
|
<button string="Cancel" states="draft,error" type="object" name="cancel"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record model="ir.ui.view" id="sms_sms_form"> |
||||
|
<field name="model">sms.sms</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Sms"> |
||||
|
<header> |
||||
|
<button string="Send" states="draft" type="object" name="send"/> |
||||
|
<button string="Retry" states="error" type="object" name="retry"/> |
||||
|
<button string="Cancel" states="draft,error" type="object" name="cancel"/> |
||||
|
<field name="state" widget="statusbar" statusbar_visible="draft,send"/> |
||||
|
</header> |
||||
|
<sheet> |
||||
|
<label for="partner_id" class="oe_edit_only"/> |
||||
|
<h1><field name="partner_id"/></h1> |
||||
|
<label for="mobile" class="oe_edit_only"/> |
||||
|
<h1><field name="mobile"/></h1> |
||||
|
<group col="4"> |
||||
|
<field name="create_date" readonly="True"/> |
||||
|
<field name="gateway_id" colspan="2"/> |
||||
|
<field name="company_id" groups="base.group_multi_company"/> |
||||
|
<separator string="SMS Message" colspan="4"/> |
||||
|
<field name="message" colspan="4" nolabel="1"/> |
||||
|
<separator string="Last Error" colspan="4"/> |
||||
|
<field name="error" colspan="4" nolabel="1"/> |
||||
|
</group> |
||||
|
</sheet> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record model="ir.actions.act_window" id="action_sms_sms_tree"> |
||||
|
<field name="name">Sms</field> |
||||
|
<field name="res_model">sms.sms</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_mode">form,tree</field> |
||||
|
<field name="view_id" ref="sms_sms_tree" /> |
||||
|
</record> |
||||
|
|
||||
|
<menuitem name="SMS Message" |
||||
|
id="menu_gateway_administration_sms" |
||||
|
sequence="110" |
||||
|
parent="base_phone.menu_config_phone" |
||||
|
action="action_sms_sms_tree"/> |
||||
|
|
||||
|
<act_window context="{'gateway_id': active_id}" |
||||
|
domain="[('gateway_id', '=', active_id)]" |
||||
|
id="act_sms_gateway_2_sms" |
||||
|
name="Sms Message" |
||||
|
res_model="sms.sms" |
||||
|
src_model="sms.gateway"/> |
||||
|
</odoo> |
@ -0,0 +1,17 @@ |
|||||
|
<?xml version="1.0"?> |
||||
|
<odoo> |
||||
|
<record model="ir.ui.view" id="email_template_form"> |
||||
|
<field name="name">mail.template.form</field> |
||||
|
<field name="model">mail.template</field> |
||||
|
<field name="inherit_id" ref="mail.email_template_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<field name="email_to" position="after"> |
||||
|
<field name="mobile_to"/> |
||||
|
</field> |
||||
|
<field name="lang" position="before"> |
||||
|
<field name="sms_template"/> |
||||
|
<field name="gateway_id"/> |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,6 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# Copyright (C) 2013 Julius Network Solutions SARL <contact@julius.fr> |
||||
|
# Author: Sébastien BEAU <sebastien.beau@akretion.com> |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
from . import mass_sms |
@ -0,0 +1,82 @@ |
|||||
|
# coding: utf-8 |
||||
|
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). |
||||
|
# Copyright (C) 2013 Julius Network Solutions SARL <contact@julius.fr> |
||||
|
# Copyright (C) 2015 Valentin Chemiere <valentin.chemiere@akretion.com> |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
from odoo import models, fields, api |
||||
|
|
||||
|
|
||||
|
class WizardMassSms(models.TransientModel): |
||||
|
_name = 'wizard.mass.sms' |
||||
|
|
||||
|
@api.model |
||||
|
def _default_get_gateway(self): |
||||
|
return self.env['sms.gateway'].search([], limit=1).id |
||||
|
|
||||
|
@api.model |
||||
|
def _default_get_partner(self): |
||||
|
if self._context.get('active_model') == 'res.partner': |
||||
|
return self._context.get('active_ids') |
||||
|
|
||||
|
gateway_id = fields.Many2one( |
||||
|
'sms.gateway', |
||||
|
required=True, |
||||
|
default=_default_get_gateway) |
||||
|
message = fields.Text(required=True) |
||||
|
validity = fields.Integer( |
||||
|
help='The maximum time -in minute(s)- before the message is dropped') |
||||
|
classes = fields.Selection([ |
||||
|
('0', 'Flash'), |
||||
|
('1', 'Phone display'), |
||||
|
('2', 'SIM'), |
||||
|
('3', 'Toolkit'), |
||||
|
], help='The sms class: flash(0),phone display(1),SIM(2),toolkit(3)') |
||||
|
deferred = fields.Integer( |
||||
|
help='The time -in minute(s)- to wait before sending the message') |
||||
|
priority = fields.Selection([ |
||||
|
('0', '0'), |
||||
|
('1', '1'), |
||||
|
('2', '2'), |
||||
|
('3', '3') |
||||
|
], help='The priority of the message') |
||||
|
coding = fields.Selection([ |
||||
|
('1', '7 bit'), |
||||
|
('2', 'Unicode') |
||||
|
], help='The sms coding: 1 for 7 bit or 2 for unicode') |
||||
|
tag = fields.Char(size=256, help='An optional tag') |
||||
|
nostop = fields.Boolean( |
||||
|
help='Do not display STOP clause in the message, this requires that ' |
||||
|
'this is not an advertising message') |
||||
|
partner_ids = fields.Many2many('res.partner', default=_default_get_partner) |
||||
|
|
||||
|
@api.onchange('gateway_id') |
||||
|
def onchange_gateway_mass(self): |
||||
|
for key in ['validity', 'classes', 'deferred', 'priority', |
||||
|
'coding', 'tag', 'nostop']: |
||||
|
self[key] = self.gateway_id[key] |
||||
|
|
||||
|
@api.model |
||||
|
def _prepare_sms_vals(self, partner): |
||||
|
return { |
||||
|
'gateway_id': self.gateway_id.id, |
||||
|
'state': 'draft', |
||||
|
'message': self.message, |
||||
|
'validity': self.validity, |
||||
|
'classes': self.classes, |
||||
|
'deferred': self.deferred, |
||||
|
'priority': self.priority, |
||||
|
'coding': self.coding, |
||||
|
'tag': self.tag, |
||||
|
'nostop': self.nostop, |
||||
|
'partner_id': partner.id, |
||||
|
'mobile': partner.mobile, |
||||
|
} |
||||
|
|
||||
|
@api.multi |
||||
|
def send(self): |
||||
|
sms_obj = self.env['sms.sms'] |
||||
|
partner_obj = self.env['res.partner'] |
||||
|
for partner in partner_obj.browse(self._context.get('active_ids')): |
||||
|
vals = self._prepare_sms_vals(partner) |
||||
|
sms_obj.create(vals) |
@ -0,0 +1,55 @@ |
|||||
|
<?xml version="1.0"?> |
||||
|
<odoo> |
||||
|
<record model="ir.ui.view" id="view_wizard_mass_sms"> |
||||
|
<field name="model">wizard.mass.sms</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="SMS Gateway - Sens SMS" version="7.0"> |
||||
|
<group string="Gateway" colspan="4"> |
||||
|
<field name="gateway_id"/> |
||||
|
</group> |
||||
|
<notebook> |
||||
|
<page string="Message"> |
||||
|
<field name="message" colspan="4" nolabel="1"/> |
||||
|
<!-- TODO limit to 10 the number of partner to show --> |
||||
|
<field name="partner_ids" colspan="4" nolabel="1"> |
||||
|
<tree options="{'limit': 10}"> |
||||
|
<field name="name"/> |
||||
|
<field name="mobile"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</page> |
||||
|
<page string="Additional option"> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="validity"/> |
||||
|
<field name="classes"/> |
||||
|
<field name="deferred"/> |
||||
|
<field name="nostop"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="priority"/> |
||||
|
<field name="coding"/> |
||||
|
<field name="tag"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
<footer> |
||||
|
<button string="Send SMS" name="send" type="object" |
||||
|
class="oe_highlight"/> |
||||
|
or |
||||
|
<button string="Cancel" class="oe_link" |
||||
|
special="cancel"/> |
||||
|
</footer> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<act_window name="Send an SMS" |
||||
|
res_model="wizard.mass.sms" |
||||
|
src_model="res.partner" |
||||
|
view_mode="form" |
||||
|
target="new" |
||||
|
key2="client_action_multi" |
||||
|
id="action_wizard_mass_sms"/> |
||||
|
</odoo> |
@ -0,0 +1 @@ |
|||||
|
server-tools |
@ -0,0 +1,54 @@ |
|||||
|
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg |
||||
|
:alt: License: AGPL-3 |
||||
|
|
||||
|
=============== |
||||
|
SMS client OVH |
||||
|
=============== |
||||
|
|
||||
|
This module provide OVH fields to create OVH gateway. |
||||
|
|
||||
|
Usage |
||||
|
===== |
||||
|
|
||||
|
To use this module, you need to: |
||||
|
|
||||
|
* go to settings > technical > telephony >gateway configuration and select OVH http in method |
||||
|
* go to settings > technical > keychain and set your credentials |
||||
|
|
||||
|
For further information, please visit: |
||||
|
|
||||
|
* https://www.odoo.com/forum/help-1 |
||||
|
|
||||
|
|
||||
|
Bug Tracker |
||||
|
=========== |
||||
|
|
||||
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/ovh_sms_client/issues>`_. |
||||
|
In case of trouble, please check there if your issue has already been reported. |
||||
|
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback |
||||
|
|
||||
|
Credits |
||||
|
======= |
||||
|
|
||||
|
Contributors |
||||
|
------------ |
||||
|
|
||||
|
* Valentin Chemiere |
||||
|
* Yvan Party <yvan@julius.fr> |
||||
|
* MonsieurB <monsieurb@saaslys.com> |
||||
|
|
||||
|
Maintainer |
||||
|
---------- |
||||
|
|
||||
|
.. image:: https://odoo-community.org/logo.png |
||||
|
:alt: Odoo Community Association |
||||
|
:target: https://odoo-community.org |
||||
|
|
||||
|
This module is maintained by the OCA. |
||||
|
|
||||
|
OCA, or the Odoo Community Association, is a nonprofit organization whose |
||||
|
mission is to support the collaborative development of Odoo features and |
||||
|
promote its widespread use. |
||||
|
|
||||
|
To contribute to this module, please visit http://odoo-community.org. |
||||
|
|
@ -0,0 +1,6 @@ |
|||||
|
# coding: utf-8 |
||||
|
# Copyright (C) 2015 Sébastien BEAU <sebastien.beau@akretion.com> |
||||
|
# Valentin CHEMIERE <valentin.chemiere@akretion.com> |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
from . import models |
@ -0,0 +1,27 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
# Copyright (C) 2013 Julius Network Solutions SARL <contact@julius.fr> |
||||
|
# Copyright (C) 2015 Sébastien BEAU <sebastien.beau@akretion.com> |
||||
|
|
||||
|
{ |
||||
|
'name': 'OVH SMS Client', |
||||
|
'version': '10.0.1.0.0', |
||||
|
'license': 'AGPL-3', |
||||
|
'depends': ['mail', |
||||
|
'base_sms_client', |
||||
|
'base_suspend_security', |
||||
|
'keychain', |
||||
|
], |
||||
|
'author': 'Julius Network Solutions,SYLEAM,' |
||||
|
'Odoo Community Association (OCA),Akretion', |
||||
|
'images': [ |
||||
|
'images/sms.jpeg', |
||||
|
'images/gateway.jpeg', |
||||
|
'images/gateway_access.jpeg', |
||||
|
'images/client.jpeg', |
||||
|
'images/send_sms.jpeg' |
||||
|
], |
||||
|
'website': 'http://julius.fr', |
||||
|
'category': 'Tools', |
||||
|
'data': ['data/keychain.xml'], |
||||
|
'installable': True, |
||||
|
} |
@ -0,0 +1,9 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo noupdate="1"> |
||||
|
<record id="keychain_ovh" model="keychain.account"> |
||||
|
<field name="name">Ovh sms default</field> |
||||
|
<field name="namespace">ovh_provider</field> |
||||
|
<field name="technical_name">ovh_default_account</field> |
||||
|
</record> |
||||
|
|
||||
|
</odoo> |
@ -0,0 +1,7 @@ |
|||||
|
# coding: utf-8 |
||||
|
# Copyright (C) 2015 Sébastien BEAU <sebastien.beau@akretion.com> |
||||
|
# Valentin CHEMIERE <valentin.chemiere@akretion.com> |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
from . import sms_gateway |
||||
|
from . import keychain |
@ -0,0 +1,21 @@ |
|||||
|
# coding: utf-8 |
||||
|
# Copyright (C) 2015 Sébastien BEAU <sebastien.beau@akretion.com> |
||||
|
# Valentin CHEMIERE <valentin.chemiere@akretion.com> |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
from odoo import models, fields |
||||
|
|
||||
|
OVH_KEYCHAIN_NAMESPACE = 'ovh_provider' |
||||
|
|
||||
|
|
||||
|
class Keychain(models.Model): |
||||
|
_inherit = 'keychain.account' |
||||
|
|
||||
|
namespace = fields.Selection( |
||||
|
selection_add=[(OVH_KEYCHAIN_NAMESPACE, 'Ovh_sms')]) |
||||
|
|
||||
|
def _ovh_provider_init_data(self): |
||||
|
return {'sms_account': ""} |
||||
|
|
||||
|
def _ovh_provider_validate_data(self, data): |
||||
|
return True |
@ -0,0 +1,81 @@ |
|||||
|
# coding: utf-8 |
||||
|
# Copyright (C) 2015 Sébastien BEAU <sebastien.beau@akretion.com> |
||||
|
# Valentin CHEMIERE <valentin.chemiere@akretion.com> |
||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
||||
|
|
||||
|
from odoo import api, models, fields |
||||
|
from ..models.keychain import OVH_KEYCHAIN_NAMESPACE |
||||
|
import requests |
||||
|
import logging |
||||
|
|
||||
|
_logger = logging.getLogger(__name__) |
||||
|
|
||||
|
|
||||
|
class SmsClient(models.Model): |
||||
|
_inherit = "sms.gateway" |
||||
|
|
||||
|
method = fields.Selection(selection_add=[('http_ovh', 'OVH HTTP')]) |
||||
|
|
||||
|
@api.multi |
||||
|
def _provider_get_provider_conf(self): |
||||
|
for rec in self: |
||||
|
keychain = rec.env['keychain.account'] |
||||
|
if rec._check_permissions(): |
||||
|
retrieve = keychain.suspend_security().retrieve |
||||
|
else: |
||||
|
retrieve = keychain.retrieve |
||||
|
accounts = retrieve( |
||||
|
[['namespace', '=', OVH_KEYCHAIN_NAMESPACE]]) |
||||
|
return accounts[0] |
||||
|
|
||||
|
|
||||
|
class SmsSms(models.Model): |
||||
|
_inherit = "sms.sms" |
||||
|
|
||||
|
@api.model |
||||
|
def _prepare_http_ovh(self): |
||||
|
|
||||
|
keychain_account = self.gateway_id._provider_get_provider_conf() |
||||
|
keychain_data = keychain_account.get_data() |
||||
|
params = { |
||||
|
'smsAccount': keychain_data['sms_account'], |
||||
|
'login': keychain_account['login'], |
||||
|
'password': keychain_account.get_password(), |
||||
|
'from': self.gateway_id.from_provider, |
||||
|
'url': self.gateway_id.url, |
||||
|
'to': self._convert_to_e164(self.mobile), |
||||
|
'message': self.message, |
||||
|
} |
||||
|
if self.nostop: |
||||
|
params['noStop'] = 1 |
||||
|
if self.deferred: |
||||
|
params['deferred'] = self.deferred |
||||
|
if self.classes: |
||||
|
params['class'] = self.classes |
||||
|
if self.tag: |
||||
|
params['tag'] = self.tag |
||||
|
if self.coding: |
||||
|
params['smsCoding'] = self.coding |
||||
|
return params |
||||
|
|
||||
|
@api.model |
||||
|
def _convert_to_e164(self, erp_number): |
||||
|
to_dial_number = erp_number.replace(u'\xa0', u'') |
||||
|
return to_dial_number |
||||
|
|
||||
|
@api.multi |
||||
|
def _send_http_ovh(self): |
||||
|
self.ensure_one() |
||||
|
params = self._prepare_http_ovh() |
||||
|
r = requests.get(params['url'], params=params.items()) |
||||
|
params.update({ |
||||
|
'password': '*****', |
||||
|
'to': '*****', |
||||
|
'smsAccount': '*****', |
||||
|
'login': '*****', |
||||
|
}) |
||||
|
_logger.debug("Call OVH API : %s params %s", |
||||
|
params['url'], params) |
||||
|
response = r.text |
||||
|
if response[0:2] != 'OK': |
||||
|
raise ValueError(response) |
@ -0,0 +1 @@ |
|||||
|
__import__('pkg_resources').declare_namespace(__name__) |
@ -0,0 +1 @@ |
|||||
|
__import__('pkg_resources').declare_namespace(__name__) |
@ -0,0 +1 @@ |
|||||
|
../../../../base_sms_client |
@ -0,0 +1,6 @@ |
|||||
|
import setuptools |
||||
|
|
||||
|
setuptools.setup( |
||||
|
setup_requires=['setuptools-odoo'], |
||||
|
odoo_addon=True, |
||||
|
) |
@ -0,0 +1 @@ |
|||||
|
__import__('pkg_resources').declare_namespace(__name__) |
@ -0,0 +1 @@ |
|||||
|
__import__('pkg_resources').declare_namespace(__name__) |
@ -0,0 +1 @@ |
|||||
|
../../../../ovh_sms_client |
@ -0,0 +1,6 @@ |
|||||
|
import setuptools |
||||
|
|
||||
|
setuptools.setup( |
||||
|
setup_requires=['setuptools-odoo'], |
||||
|
odoo_addon=True, |
||||
|
) |