diff --git a/base_sms_client/README.rst b/base_sms_client/README.rst new file mode 100644 index 0000000..e510712 --- /dev/null +++ b/base_sms_client/README.rst @@ -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 `_. +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 + +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. + diff --git a/base_sms_client/__init__.py b/base_sms_client/__init__.py new file mode 100644 index 0000000..e4e7434 --- /dev/null +++ b/base_sms_client/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# Author: Sébastien BEAU +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + + +from . import wizard +from . import models diff --git a/base_sms_client/__manifest__.py b/base_sms_client/__manifest__.py new file mode 100644 index 0000000..8e56727 --- /dev/null +++ b/base_sms_client/__manifest__.py @@ -0,0 +1,39 @@ +# coding: utf-8 +# Copyright (C) 2015 Sébastien BEAU +# © 2011 SYLEAM () +# © 2013 Julius Network Solutions SARL +# 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, +} diff --git a/base_sms_client/data/sms_gateway_data.xml b/base_sms_client/data/sms_gateway_data.xml new file mode 100644 index 0000000..4a20fd7 --- /dev/null +++ b/base_sms_client/data/sms_gateway_data.xml @@ -0,0 +1,15 @@ + + + + Send SMS + 1 + minutes + -1 + False + sms.gateway + _run_send_sms + () + False + + + diff --git a/base_sms_client/i18n/ar.po b/base_sms_client/i18n/ar.po new file mode 100644 index 0000000..ba03c2c --- /dev/null +++ b/base_sms_client/i18n/ar.po @@ -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 , 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-gateway\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2011-09-10 10:24+0000\n" +"PO-Revision-Date: 2011-11-21 12:03+0000\n" +"Last-Translator: kifcaliph \n" +"Language-Team: Arabic \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 "" diff --git a/base_sms_client/i18n/ca.po b/base_sms_client/i18n/ca.po new file mode 100644 index 0000000..abc6996 --- /dev/null +++ b/base_sms_client/i18n/ca.po @@ -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 , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-gateway\n" +"Report-Msgid-Bugs-To: FULL NAME \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) " +"\n" +"Language-Team: Catalan \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" diff --git a/base_sms_client/i18n/de.po b/base_sms_client/i18n/de.po new file mode 100644 index 0000000..20843b4 --- /dev/null +++ b/base_sms_client/i18n/de.po @@ -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 , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-gateway\n" +"Report-Msgid-Bugs-To: FULL NAME \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 \n" +"Language-Team: German \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 "" diff --git a/base_sms_client/i18n/es.po b/base_sms_client/i18n/es.po new file mode 100644 index 0000000..edb2d4a --- /dev/null +++ b/base_sms_client/i18n/es.po @@ -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 , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-gateway\n" +"Report-Msgid-Bugs-To: FULL NAME \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) " +"\n" +"Language-Team: Spanish \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" diff --git a/base_sms_client/i18n/fr.po b/base_sms_client/i18n/fr.po new file mode 100644 index 0000000..b4aa009 --- /dev/null +++ b/base_sms_client/i18n/fr.po @@ -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 , 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-gateway\n" +"Report-Msgid-Bugs-To: FULL NAME \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/ \n" +"Language-Team: French \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" diff --git a/base_sms_client/i18n/pt_BR.po b/base_sms_client/i18n/pt_BR.po new file mode 100644 index 0000000..3e8eaf1 --- /dev/null +++ b/base_sms_client/i18n/pt_BR.po @@ -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 , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openerp-gateway\n" +"Report-Msgid-Bugs-To: FULL NAME \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 \n" +"Language-Team: Brazilian Portuguese \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 "" diff --git a/base_sms_client/images/client.jpeg b/base_sms_client/images/client.jpeg new file mode 100644 index 0000000..90e71b5 Binary files /dev/null and b/base_sms_client/images/client.jpeg differ diff --git a/base_sms_client/images/gateway.jpeg b/base_sms_client/images/gateway.jpeg new file mode 100644 index 0000000..40859f3 Binary files /dev/null and b/base_sms_client/images/gateway.jpeg differ diff --git a/base_sms_client/images/gateway_access.jpeg b/base_sms_client/images/gateway_access.jpeg new file mode 100644 index 0000000..3a1d455 Binary files /dev/null and b/base_sms_client/images/gateway_access.jpeg differ diff --git a/base_sms_client/images/send_sms.jpeg b/base_sms_client/images/send_sms.jpeg new file mode 100644 index 0000000..db4527a Binary files /dev/null and b/base_sms_client/images/send_sms.jpeg differ diff --git a/base_sms_client/images/sms.jpeg b/base_sms_client/images/sms.jpeg new file mode 100644 index 0000000..90e71b5 Binary files /dev/null and b/base_sms_client/images/sms.jpeg differ diff --git a/base_sms_client/models/__init__.py b/base_sms_client/models/__init__.py new file mode 100644 index 0000000..7e613da --- /dev/null +++ b/base_sms_client/models/__init__.py @@ -0,0 +1,9 @@ +# -*- coding: utf-8 -*- +# Copyright (C) 2013 Julius Network Solutions SARL +# Author: Sébastien BEAU +# 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 diff --git a/base_sms_client/models/server_action.py b/base_sms_client/models/server_action.py new file mode 100644 index 0000000..a8eac37 --- /dev/null +++ b/base_sms_client/models/server_action.py @@ -0,0 +1,27 @@ +# coding: utf-8 +# Copyright (C) 2004-2009 Tiny SPRL (). +# Copyright (C) 2013 Julius Network Solutions SARL +# Copyright (C) 2015 Valentin Chemiere +# 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.') diff --git a/base_sms_client/models/sms_gateway.py b/base_sms_client/models/sms_gateway.py new file mode 100644 index 0000000..00ad761 --- /dev/null +++ b/base_sms_client/models/sms_gateway.py @@ -0,0 +1,100 @@ +# coding: utf-8 +# Copyright (C) 2004-2009 Tiny SPRL (). +# Copyright (C) 2011 SYLEAM () +# Copyright (C) 2013 Julius Network Solutions SARL +# Copyright (C) 2015 Valentin Chemiere +# Copyright (C) 2015 Sébastien BEAU +# 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() diff --git a/base_sms_client/models/sms_sms.py b/base_sms_client/models/sms_sms.py new file mode 100644 index 0000000..c781f2e --- /dev/null +++ b/base_sms_client/models/sms_sms.py @@ -0,0 +1,129 @@ +# coding: utf-8 +# Copyright (C) 2004-2009 Tiny SPRL (). +# Copyright (C) 2011 SYLEAM () +# Copyright (C) 2013 Julius Network Solutions SARL +# Copyright (C) 2015 Valentin Chemiere +# Copyright (C) 2015 Sébastien BEAU +# 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'}) diff --git a/base_sms_client/models/sms_template.py b/base_sms_client/models/sms_template.py new file mode 100644 index 0000000..d21b95a --- /dev/null +++ b/base_sms_client/models/sms_template.py @@ -0,0 +1,16 @@ +# coding: utf-8 +# Copyright (C) 2004-2009 Tiny SPRL (). +# Copyright (C) 2013 Julius Network Solutions SARL +# Copyright (C) 2015 Valentin Chemiere +# 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') diff --git a/base_sms_client/security/groups.xml b/base_sms_client/security/groups.xml new file mode 100644 index 0000000..589c7be --- /dev/null +++ b/base_sms_client/security/groups.xml @@ -0,0 +1,6 @@ + + + + SMS / User + + diff --git a/base_sms_client/security/ir.model.access.csv b/base_sms_client/security/ir.model.access.csv new file mode 100644 index 0000000..d39af05 --- /dev/null +++ b/base_sms_client/security/ir.model.access.csv @@ -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 diff --git a/base_sms_client/security/ir.rule.csv b/base_sms_client/security/ir.rule.csv new file mode 100644 index 0000000..5ab4794 --- /dev/null +++ b/base_sms_client/security/ir.rule.csv @@ -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)]" diff --git a/base_sms_client/static/src/img/icon.png b/base_sms_client/static/src/img/icon.png new file mode 100644 index 0000000..1301ed8 Binary files /dev/null and b/base_sms_client/static/src/img/icon.png differ diff --git a/base_sms_client/views/server_action_view.xml b/base_sms_client/views/server_action_view.xml new file mode 100644 index 0000000..17451d5 --- /dev/null +++ b/base_sms_client/views/server_action_view.xml @@ -0,0 +1,19 @@ + + + + ir.actions.server + + + + + + + + + + + + + + + diff --git a/base_sms_client/views/sms_gateway_view.xml b/base_sms_client/views/sms_gateway_view.xml new file mode 100644 index 0000000..7b33b23 --- /dev/null +++ b/base_sms_client/views/sms_gateway_view.xml @@ -0,0 +1,140 @@ + + + + sms.gateway + + +
+ + +

+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + + sms.gateway + + + + + + + + + + + SMS Gateway + sms.gateway + form + form,tree + + + + + + + sms.sms + + + + + + + +