Alexis de Lattre
12 years ago
32 changed files with 3889 additions and 864 deletions
-
2asterisk_click2dial/__init__.py
-
40asterisk_click2dial/__terp__.py
-
458asterisk_click2dial/asterisk_click2dial.py
-
7asterisk_click2dial/asterisk_click2dial_demo.xml
-
15asterisk_click2dial/asterisk_server_view.xml
-
628asterisk_click2dial/i18n/asterisk_click2dial.pot
-
435asterisk_click2dial/i18n/bg.po
-
477asterisk_click2dial/i18n/es.po
-
608asterisk_click2dial/i18n/fr_FR.po
-
434asterisk_click2dial/i18n/hr.po
-
444asterisk_click2dial/i18n/pt_BR.po
-
36asterisk_click2dial/res_partner_view.xml
-
15asterisk_click2dial/res_users_view.xml
-
101asterisk_click2dial/scripts/get_cid_name.py
-
13asterisk_click2dial/scripts/get_cid_name_timeout.sh
-
2asterisk_click2dial/security/asterisk_server_security.xml
-
23asterisk_click2dial/wizard/__init__.py
-
209asterisk_click2dial/wizard/open_calling_partner.py
-
67asterisk_click2dial/wizard/open_calling_partner_view.xml
-
67asterisk_click2dial/wizard/reformat_all_phonenumbers.py
-
39asterisk_click2dial/wizard/reformat_all_phonenumbers_view.xml
-
11asterisk_click2dial_crm/__init__.py
-
64asterisk_click2dial_crm/__terp__.py
-
77asterisk_click2dial_crm/asterisk_click2dial_crm.py
-
78asterisk_click2dial_crm/i18n/asterisk_click2dial_crm.pot
-
78asterisk_click2dial_crm/i18n/fr.po
-
110asterisk_click2dial_crm/res_partner_address.py
-
41asterisk_click2dial_crm/res_users_view.xml
-
29asterisk_click2dial_crm/wizard/__init__.py
-
78asterisk_click2dial_crm/wizard/create_crm_phonecall.py
-
37asterisk_click2dial_crm/wizard/create_crm_phonecall_view.xml
-
30asterisk_click2dial_crm/wizard/open_calling_partner_view.xml
@ -0,0 +1,435 @@ |
|||
# Bulgarian translation for openobject-addons |
|||
# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 |
|||
# This file is distributed under the same license as the openobject-addons package. |
|||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. |
|||
# |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: openobject-addons\n" |
|||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
|||
"POT-Creation-Date: 2010-09-10 20:38+0000\n" |
|||
"PO-Revision-Date: 2011-03-30 07:31+0000\n" |
|||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
|||
"Language-Team: Bulgarian <bg@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-17 05:22+0000\n" |
|||
"X-Generator: Launchpad (build 15099)\n" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "The 'extension priority' must be a positive value" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,password:0 |
|||
msgid "AMI password" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "SIP" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,international_prefix:0 |
|||
msgid "International prefix" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,ip_address:0 |
|||
msgid "IPv4 address or DNS name of the Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "mISDN" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:ir.model:0 |
|||
msgid "" |
|||
"The Object name must start with x_ and not contain any special character !" |
|||
msgstr "" |
|||
"Името на обекта трябва да започва с x_ и не може да никакви специални знаци !" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.partner:0 |
|||
#: view:res.partner.address:0 |
|||
msgid "Dial" |
|||
msgstr "Набиране" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for the 'country prefix'" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,asterisk_server_id:0 |
|||
msgid "Asterisk server" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,asterisk_server_id:0 |
|||
msgid "Asterisk server on which the user's phone is connected." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: model:ir.actions.act_window,name:asterisk_click2dial.action_asterisk_server |
|||
#: model:ir.model,name:asterisk_click2dial.model_asterisk_server |
|||
msgid "Asterisk Servers" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:ir.actions.act_window:0 |
|||
msgid "Invalid model name in the action definition." |
|||
msgstr "Невалидно име на модел при задаване на действие" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "DAHDI" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,extension_priority:0 |
|||
msgid "" |
|||
"Priority of the extension in the Asterisk dialplan. Refer to " |
|||
"/etc/asterisk/extensions.conf on your Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,callerid:0 |
|||
msgid "Caller ID" |
|||
msgstr "Идентификатор на звъняващия" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: model:ir.module.module,description:asterisk_click2dial.module_meta_information |
|||
msgid "" |
|||
"The module adds dial button in partner address\n" |
|||
"so that you can directly dial a phone number through Asterisk.\n" |
|||
"Documentation is available on the Arkretion Web site http://[TODO]" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,name:0 |
|||
msgid "Asterisk server name." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.partner:0 |
|||
#: view:res.partner.address:0 |
|||
msgid "Mobile : " |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,login:0 |
|||
msgid "AMI login" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.company:0 |
|||
msgid "Asterisk servers for click2dial" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,wait_time:0 |
|||
msgid "Wait time (sec)" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,context:0 |
|||
msgid "Dialplan context" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,extension_priority:0 |
|||
msgid "Extension priority" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,company_id:0 |
|||
msgid "Company" |
|||
msgstr "Фирма" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,country_prefix:0 |
|||
msgid "" |
|||
"Phone prefix of the country where the Asterisk server is located. For e.g. " |
|||
"the phone prefix for France is '33'. If the phone number to dial starts with " |
|||
"the 'My country prefix', OpenERP will remove the country prefix from the " |
|||
"phone number and add the 'out prefix' followed by the 'national prefix'. If " |
|||
"the phone number to dial doesn't start with the 'My country prefix', OpenERP " |
|||
"will add the 'out prefix' followed by the 'international prefix'." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,out_prefix:0 |
|||
msgid "" |
|||
"Prefix to dial to place outgoing calls. If you don't use a prefix to place " |
|||
"outgoing calls, leave empty." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "Zap" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,context:0 |
|||
msgid "" |
|||
"Asterisk dialplan context from which the calls will be made. Refer to " |
|||
"/etc/asterisk/extensions.conf on your Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,callerid:0 |
|||
msgid "Caller ID used for the calls initiated by this user." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "IAX2" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.company:0 |
|||
msgid "IPBX" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: model:ir.module.module,shortdesc:asterisk_click2dial.module_meta_information |
|||
msgid "Asterisk Click2dial" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.company,asterisk_server_ids:0 |
|||
msgid "List of Asterisk servers." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "MGCP" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "Skinny" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:ir.ui.view:0 |
|||
msgid "Invalid XML for View Architecture!" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,internal_number:0 |
|||
msgid "User's internal phone number." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,national_prefix:0 |
|||
msgid "" |
|||
"Prefix for national phone calls (don't include the 'out prefix'). For e.g., " |
|||
"in France, the phone numbers look like '01 41 98 12 42' : the National " |
|||
"prefix is '0'." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,port:0 |
|||
msgid "" |
|||
"TCP port on which the Asterisk Manager Interface listens. Defined in " |
|||
"/etc/asterisk/manager.conf on Asterisk." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,international_prefix:0 |
|||
msgid "" |
|||
"Prefix to add to make international phone calls (don't include the 'out " |
|||
"prefix'). For e.g., in France, the International prefix is '00'." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,internal_number:0 |
|||
msgid "Internal number" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,asterisk_chan_type:0 |
|||
msgid "Asterisk channel type" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,out_prefix:0 |
|||
msgid "Out prefix" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "TCP ports range from 1 to 65535" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.partner:0 |
|||
#: view:res.partner.address:0 |
|||
msgid "Phone : " |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,company_id:0 |
|||
msgid "Company who uses the Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for the 'out prefix' or leave empty" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,ip_address:0 |
|||
msgid "Asterisk IP addr. or DNS" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,password:0 |
|||
msgid "" |
|||
"Password that Asterisk will use to communicate with the Asterisk Manager " |
|||
"Interface. Refer to /etc/asterisk/manager.conf on your Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for 'international prefix'" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "H323" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,national_prefix:0 |
|||
msgid "National prefix" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,country_prefix:0 |
|||
msgid "My country prefix" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:asterisk.server:0 |
|||
#: field:res.company,asterisk_server_ids:0 |
|||
msgid "Asterisk servers" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,login:0 |
|||
msgid "" |
|||
"Login that OpenERP will use to communicate with the Asterisk Manager " |
|||
"Interface. Refer to /etc/asterisk/manager.conf on your Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,name:0 |
|||
msgid "Asterisk server name" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,wait_time:0 |
|||
msgid "" |
|||
"Amount of time (in seconds) Asterisk will try to reach the user's phone " |
|||
"before hanging up." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,asterisk_chan_type:0 |
|||
msgid "" |
|||
"Asterisk channel type, as used in the Asterisk dialplan. If the user has a " |
|||
"regular IP phone, the channel type is 'SIP'." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for the 'national prefix' or leave empty" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,port:0 |
|||
msgid "Port" |
|||
msgstr "Порт" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "You should enter a 'Wait time' value between 1 and 120 seconds" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "Can't resolve the DNS of the Asterisk server : " |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "Invalid phone number" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "" |
|||
"The phone number is not written in valid international format. Example of " |
|||
"valid international format : +33 1 41 98 12 42" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "The phone number is not written in valid national format." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "The phone number is not written in valid format." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "Error :" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "There is no phone number !" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "No Asterisk server configured for the current user." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "No channel type configured for the current user." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "No internal phone number configured for the current user" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "" |
|||
"The connection from OpenERP to the Asterisk server failed. Please check the " |
|||
"configuration on OpenERP and on Asterisk." |
|||
msgstr "" |
@ -0,0 +1,477 @@ |
|||
# Spanish translation for openobject-addons |
|||
# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 |
|||
# This file is distributed under the same license as the openobject-addons package. |
|||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. |
|||
# |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: openobject-addons\n" |
|||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
|||
"POT-Creation-Date: 2010-09-10 20:38+0000\n" |
|||
"PO-Revision-Date: 2011-08-23 18:36+0000\n" |
|||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\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-04-17 05:22+0000\n" |
|||
"X-Generator: Launchpad (build 15099)\n" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "The 'extension priority' must be a positive value" |
|||
msgstr "La \"prioridad de la extensión\" debe ser un valor positivo" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,password:0 |
|||
msgid "AMI password" |
|||
msgstr "Contraseña AMI" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "SIP" |
|||
msgstr "SIP" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,international_prefix:0 |
|||
msgid "International prefix" |
|||
msgstr "Prefijo internacional" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,ip_address:0 |
|||
msgid "IPv4 address or DNS name of the Asterisk server." |
|||
msgstr "Dirección IPv4 o nombre DNS del servidor Asterisk." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "mISDN" |
|||
msgstr "mISDN" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:ir.model:0 |
|||
msgid "" |
|||
"The Object name must start with x_ and not contain any special character !" |
|||
msgstr "" |
|||
"¡El nombre del objeto debe empezar con x_ y no contener ningún carácter " |
|||
"especial!" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.partner:0 |
|||
#: view:res.partner.address:0 |
|||
msgid "Dial" |
|||
msgstr "Marcar" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for the 'country prefix'" |
|||
msgstr "Sólo utilizar dígitos para el \"prefijo del país\"" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,asterisk_server_id:0 |
|||
msgid "Asterisk server" |
|||
msgstr "Servidor Asterisk" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,asterisk_server_id:0 |
|||
msgid "Asterisk server on which the user's phone is connected." |
|||
msgstr "" |
|||
"Servidor de Asterisk en el que el teléfono del usuario está conectado." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: model:ir.actions.act_window,name:asterisk_click2dial.action_asterisk_server |
|||
#: model:ir.model,name:asterisk_click2dial.model_asterisk_server |
|||
msgid "Asterisk Servers" |
|||
msgstr "Servidores Asterisk" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:ir.actions.act_window:0 |
|||
msgid "Invalid model name in the action definition." |
|||
msgstr "Nombre del modelo inválido en la definición de acción." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "DAHDI" |
|||
msgstr "DAHDI" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,extension_priority:0 |
|||
msgid "" |
|||
"Priority of the extension in the Asterisk dialplan. Refer to " |
|||
"/etc/asterisk/extensions.conf on your Asterisk server." |
|||
msgstr "" |
|||
"Prioridad de la extensión en el dialplan de Asterisk. Se refieren a " |
|||
"/etc/asterisk/extensions.conf en el servidor Asterisk." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,callerid:0 |
|||
msgid "Caller ID" |
|||
msgstr "ID de llamada" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: model:ir.module.module,description:asterisk_click2dial.module_meta_information |
|||
msgid "" |
|||
"The module adds dial button in partner address\n" |
|||
"so that you can directly dial a phone number through Asterisk.\n" |
|||
"Documentation is available on the Arkretion Web site http://[TODO]" |
|||
msgstr "" |
|||
"Este módulo agrega un botón de marcación en la dirección de la empresa\n" |
|||
"de modo que puede llamar directamente un número de teléfono a través de " |
|||
"Asterisk.\n" |
|||
"La documentación está disponible en el sitio Web http:// Arkretion [TODO]" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,name:0 |
|||
msgid "Asterisk server name." |
|||
msgstr "Nombre del servidor Asterisk." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.partner:0 |
|||
#: view:res.partner.address:0 |
|||
msgid "Mobile : " |
|||
msgstr "Móvil : " |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,login:0 |
|||
msgid "AMI login" |
|||
msgstr "login AMI" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.company:0 |
|||
msgid "Asterisk servers for click2dial" |
|||
msgstr "Servidores de Asterisk para click2dial" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,wait_time:0 |
|||
msgid "Wait time (sec)" |
|||
msgstr "Tiempo de espera (seg)" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,context:0 |
|||
msgid "Dialplan context" |
|||
msgstr "Contexto del plan de marcado" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,extension_priority:0 |
|||
msgid "Extension priority" |
|||
msgstr "Prioridad de extensión" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,company_id:0 |
|||
msgid "Company" |
|||
msgstr "Compañía" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,country_prefix:0 |
|||
msgid "" |
|||
"Phone prefix of the country where the Asterisk server is located. For e.g. " |
|||
"the phone prefix for France is '33'. If the phone number to dial starts with " |
|||
"the 'My country prefix', OpenERP will remove the country prefix from the " |
|||
"phone number and add the 'out prefix' followed by the 'national prefix'. If " |
|||
"the phone number to dial doesn't start with the 'My country prefix', OpenERP " |
|||
"will add the 'out prefix' followed by the 'international prefix'." |
|||
msgstr "" |
|||
"Prefijo telefónico del país donde se encuentra el servidor Asterisk. Por " |
|||
"ejemplo, el prefijo telefónico de Francia es \"33\". Si el número de " |
|||
"teléfono para marcar comienza con el \"Mi prefijo del país\", OpenERP " |
|||
"eliminará el prefijo del país a partir del número de teléfono y agregar el " |
|||
"\"prefijo exterior\" seguido por el \"prefijo nacional\". Si el número de " |
|||
"teléfono para marcar no se inicia con el \"Mi prefijo del país\", OpenERP le " |
|||
"agrega el \"prefijo exterior\" seguido por el \"prefijo internacional\"." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,out_prefix:0 |
|||
msgid "" |
|||
"Prefix to dial to place outgoing calls. If you don't use a prefix to place " |
|||
"outgoing calls, leave empty." |
|||
msgstr "" |
|||
"Prefijo que marcar para realizar llamadas. Si usted no usa un prefijo para " |
|||
"realizar llamadas, dejar en blanco." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "Zap" |
|||
msgstr "Zap" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,context:0 |
|||
msgid "" |
|||
"Asterisk dialplan context from which the calls will be made. Refer to " |
|||
"/etc/asterisk/extensions.conf on your Asterisk server." |
|||
msgstr "" |
|||
"Contexto dialplan de Asterisk desde la que las llamadas se realizarán. Se " |
|||
"refieren a /etc/asterisk/extensions.conf en el servidor Asterisk." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,callerid:0 |
|||
msgid "Caller ID used for the calls initiated by this user." |
|||
msgstr "ID llamada que utiliza para las llamadas iniciadas por este usuario." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "IAX2" |
|||
msgstr "IAX2" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.company:0 |
|||
msgid "IPBX" |
|||
msgstr "IPBX" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: model:ir.module.module,shortdesc:asterisk_click2dial.module_meta_information |
|||
msgid "Asterisk Click2dial" |
|||
msgstr "Asterisk Click2dial" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.company,asterisk_server_ids:0 |
|||
msgid "List of Asterisk servers." |
|||
msgstr "Lista de servidores de Asterisk." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "MGCP" |
|||
msgstr "MGCP" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "Skinny" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:ir.ui.view:0 |
|||
msgid "Invalid XML for View Architecture!" |
|||
msgstr "¡XML inválido para la definición de la vista!" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,internal_number:0 |
|||
msgid "User's internal phone number." |
|||
msgstr "Número de teléfono interno del usuario." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,national_prefix:0 |
|||
msgid "" |
|||
"Prefix for national phone calls (don't include the 'out prefix'). For e.g., " |
|||
"in France, the phone numbers look like '01 41 98 12 42' : the National " |
|||
"prefix is '0'." |
|||
msgstr "" |
|||
"Prefijo para llamadas nacionales (sin incluir el prefijo 'exterior'). Por " |
|||
"ejemplo, en Francia, los números de teléfono parecen '01 41 98 12 42 \": el " |
|||
"prefijo nacional es '0 '." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,port:0 |
|||
msgid "" |
|||
"TCP port on which the Asterisk Manager Interface listens. Defined in " |
|||
"/etc/asterisk/manager.conf on Asterisk." |
|||
msgstr "" |
|||
"Puerto TCP en el que la interfaz de Asterisk Manager escucha. Se define en " |
|||
"/etc/asterisk/manager.conf en Asterisk." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,international_prefix:0 |
|||
msgid "" |
|||
"Prefix to add to make international phone calls (don't include the 'out " |
|||
"prefix'). For e.g., in France, the International prefix is '00'." |
|||
msgstr "" |
|||
"Prefijo a añadir para hacer llamadas internacionales (no incluyen los " |
|||
"\"prefijo externo\"). Por ejemplo, en Francia, el prefijo internacional es " |
|||
"\"00\"." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,internal_number:0 |
|||
msgid "Internal number" |
|||
msgstr "Número interno" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,asterisk_chan_type:0 |
|||
msgid "Asterisk channel type" |
|||
msgstr "Tipo de canal de Asterisk" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,out_prefix:0 |
|||
msgid "Out prefix" |
|||
msgstr "Prefijo de salida" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "TCP ports range from 1 to 65535" |
|||
msgstr "TCP puertos rango 1 a 65535" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.partner:0 |
|||
#: view:res.partner.address:0 |
|||
msgid "Phone : " |
|||
msgstr "Teléfono : " |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,company_id:0 |
|||
msgid "Company who uses the Asterisk server." |
|||
msgstr "Compañía que utiliza el servidor Asterisk." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for the 'out prefix' or leave empty" |
|||
msgstr "Sólo utilizar dígitos para el \"prefijo exterior\" o dejar en blanco" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,ip_address:0 |
|||
msgid "Asterisk IP addr. or DNS" |
|||
msgstr "Dirección IP o DNS Asterisk" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,password:0 |
|||
msgid "" |
|||
"Password that Asterisk will use to communicate with the Asterisk Manager " |
|||
"Interface. Refer to /etc/asterisk/manager.conf on your Asterisk server." |
|||
msgstr "" |
|||
"Contraseña que Asterisk va a utilizar para comunicarse con la interfaz de " |
|||
"Asterisk Manager. Se refieren a /etc/asterisk/manager.conf en su servidor " |
|||
"Asterisk." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for 'international prefix'" |
|||
msgstr "Sólo utilizar dígitos para el \"prefijo internacional\"" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "H323" |
|||
msgstr "H323" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,national_prefix:0 |
|||
msgid "National prefix" |
|||
msgstr "Prefijo nacional" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,country_prefix:0 |
|||
msgid "My country prefix" |
|||
msgstr "Prefijo de mi país" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:asterisk.server:0 |
|||
#: field:res.company,asterisk_server_ids:0 |
|||
msgid "Asterisk servers" |
|||
msgstr "Servidores Asterisk" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,login:0 |
|||
msgid "" |
|||
"Login that OpenERP will use to communicate with the Asterisk Manager " |
|||
"Interface. Refer to /etc/asterisk/manager.conf on your Asterisk server." |
|||
msgstr "" |
|||
"Inicio de sesión que OpenERP utilizará para comunicarse con la interfaz de " |
|||
"Asterisk Manager. Se refieren a /etc/asterisk/manager.conf en su servidor " |
|||
"Asterisk." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,name:0 |
|||
msgid "Asterisk server name" |
|||
msgstr "Nombre servidor Asterisk" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,wait_time:0 |
|||
msgid "" |
|||
"Amount of time (in seconds) Asterisk will try to reach the user's phone " |
|||
"before hanging up." |
|||
msgstr "" |
|||
"Cantidad de tiempo (en segundos) Asterisk intentará llegar a el teléfono del " |
|||
"usuario antes de colgar." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,asterisk_chan_type:0 |
|||
msgid "" |
|||
"Asterisk channel type, as used in the Asterisk dialplan. If the user has a " |
|||
"regular IP phone, the channel type is 'SIP'." |
|||
msgstr "" |
|||
"Tipo de canal de Asterisk, que se utiliza en el dialplan de Asterisk. Si el " |
|||
"usuario tiene un teléfono IP, el tipo de canal es \"SIP\"." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for the 'national prefix' or leave empty" |
|||
msgstr "Sólo utilizar dígitos para el 'prefijo nacional' o dejar en blanco" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,port:0 |
|||
msgid "Port" |
|||
msgstr "Puerto" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "You should enter a 'Wait time' value between 1 and 120 seconds" |
|||
msgstr "" |
|||
"Debe ingresar el valor de un \"tiempo de espera\" entre 1 y 120 segundos" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "Can't resolve the DNS of the Asterisk server : " |
|||
msgstr "No se puede resolver el DNS del servidor de Asterisk: " |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "Invalid phone number" |
|||
msgstr "Número de teléfono no válido" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "" |
|||
"The phone number is not written in valid international format. Example of " |
|||
"valid international format : +33 1 41 98 12 42" |
|||
msgstr "" |
|||
"El número de teléfono no está escrito en formato internacional válido. " |
|||
"Ejemplo de formato internacional válida: +33 1 41 98 12 42" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "The phone number is not written in valid national format." |
|||
msgstr "El número de teléfono no está escrito en el formato nacional válido." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "The phone number is not written in valid format." |
|||
msgstr "El número de teléfono no está escrito en el formato válido." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "Error :" |
|||
msgstr "Error:" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "There is no phone number !" |
|||
msgstr "No hay un número de teléfono!" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "No Asterisk server configured for the current user." |
|||
msgstr "No hay ningún servidor Asterisk configurado para el usuario actual." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "No channel type configured for the current user." |
|||
msgstr "Ningún tipo de canal configurado para el usuario actual." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "No internal phone number configured for the current user" |
|||
msgstr "No hay número de teléfono interno configurado para el usuario actual" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "" |
|||
"The connection from OpenERP to the Asterisk server failed. Please check the " |
|||
"configuration on OpenERP and on Asterisk." |
|||
msgstr "" |
|||
"La conexión de OpenERP al servidor de Asterisk ha fallado. Compruebe la " |
|||
"configuración de OpenERP y de Asterisk." |
@ -0,0 +1,434 @@ |
|||
# Croatian translation for openobject-addons |
|||
# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 |
|||
# This file is distributed under the same license as the openobject-addons package. |
|||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. |
|||
# |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: openobject-addons\n" |
|||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
|||
"POT-Creation-Date: 2010-09-10 20:38+0000\n" |
|||
"PO-Revision-Date: 2011-12-19 15:44+0000\n" |
|||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
|||
"Language-Team: Croatian <hr@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-17 05:22+0000\n" |
|||
"X-Generator: Launchpad (build 15099)\n" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "The 'extension priority' must be a positive value" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,password:0 |
|||
msgid "AMI password" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "SIP" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,international_prefix:0 |
|||
msgid "International prefix" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,ip_address:0 |
|||
msgid "IPv4 address or DNS name of the Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "mISDN" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:ir.model:0 |
|||
msgid "" |
|||
"The Object name must start with x_ and not contain any special character !" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.partner:0 |
|||
#: view:res.partner.address:0 |
|||
msgid "Dial" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for the 'country prefix'" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,asterisk_server_id:0 |
|||
msgid "Asterisk server" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,asterisk_server_id:0 |
|||
msgid "Asterisk server on which the user's phone is connected." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: model:ir.actions.act_window,name:asterisk_click2dial.action_asterisk_server |
|||
#: model:ir.model,name:asterisk_click2dial.model_asterisk_server |
|||
msgid "Asterisk Servers" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:ir.actions.act_window:0 |
|||
msgid "Invalid model name in the action definition." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "DAHDI" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,extension_priority:0 |
|||
msgid "" |
|||
"Priority of the extension in the Asterisk dialplan. Refer to " |
|||
"/etc/asterisk/extensions.conf on your Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,callerid:0 |
|||
msgid "Caller ID" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: model:ir.module.module,description:asterisk_click2dial.module_meta_information |
|||
msgid "" |
|||
"The module adds dial button in partner address\n" |
|||
"so that you can directly dial a phone number through Asterisk.\n" |
|||
"Documentation is available on the Arkretion Web site http://[TODO]" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,name:0 |
|||
msgid "Asterisk server name." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.partner:0 |
|||
#: view:res.partner.address:0 |
|||
msgid "Mobile : " |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,login:0 |
|||
msgid "AMI login" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.company:0 |
|||
msgid "Asterisk servers for click2dial" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,wait_time:0 |
|||
msgid "Wait time (sec)" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,context:0 |
|||
msgid "Dialplan context" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,extension_priority:0 |
|||
msgid "Extension priority" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,company_id:0 |
|||
msgid "Company" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,country_prefix:0 |
|||
msgid "" |
|||
"Phone prefix of the country where the Asterisk server is located. For e.g. " |
|||
"the phone prefix for France is '33'. If the phone number to dial starts with " |
|||
"the 'My country prefix', OpenERP will remove the country prefix from the " |
|||
"phone number and add the 'out prefix' followed by the 'national prefix'. If " |
|||
"the phone number to dial doesn't start with the 'My country prefix', OpenERP " |
|||
"will add the 'out prefix' followed by the 'international prefix'." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,out_prefix:0 |
|||
msgid "" |
|||
"Prefix to dial to place outgoing calls. If you don't use a prefix to place " |
|||
"outgoing calls, leave empty." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "Zap" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,context:0 |
|||
msgid "" |
|||
"Asterisk dialplan context from which the calls will be made. Refer to " |
|||
"/etc/asterisk/extensions.conf on your Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,callerid:0 |
|||
msgid "Caller ID used for the calls initiated by this user." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "IAX2" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.company:0 |
|||
msgid "IPBX" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: model:ir.module.module,shortdesc:asterisk_click2dial.module_meta_information |
|||
msgid "Asterisk Click2dial" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.company,asterisk_server_ids:0 |
|||
msgid "List of Asterisk servers." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "MGCP" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "Skinny" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:ir.ui.view:0 |
|||
msgid "Invalid XML for View Architecture!" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,internal_number:0 |
|||
msgid "User's internal phone number." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,national_prefix:0 |
|||
msgid "" |
|||
"Prefix for national phone calls (don't include the 'out prefix'). For e.g., " |
|||
"in France, the phone numbers look like '01 41 98 12 42' : the National " |
|||
"prefix is '0'." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,port:0 |
|||
msgid "" |
|||
"TCP port on which the Asterisk Manager Interface listens. Defined in " |
|||
"/etc/asterisk/manager.conf on Asterisk." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,international_prefix:0 |
|||
msgid "" |
|||
"Prefix to add to make international phone calls (don't include the 'out " |
|||
"prefix'). For e.g., in France, the International prefix is '00'." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,internal_number:0 |
|||
msgid "Internal number" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,asterisk_chan_type:0 |
|||
msgid "Asterisk channel type" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,out_prefix:0 |
|||
msgid "Out prefix" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "TCP ports range from 1 to 65535" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.partner:0 |
|||
#: view:res.partner.address:0 |
|||
msgid "Phone : " |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,company_id:0 |
|||
msgid "Company who uses the Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for the 'out prefix' or leave empty" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,ip_address:0 |
|||
msgid "Asterisk IP addr. or DNS" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,password:0 |
|||
msgid "" |
|||
"Password that Asterisk will use to communicate with the Asterisk Manager " |
|||
"Interface. Refer to /etc/asterisk/manager.conf on your Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for 'international prefix'" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "H323" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,national_prefix:0 |
|||
msgid "National prefix" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,country_prefix:0 |
|||
msgid "My country prefix" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:asterisk.server:0 |
|||
#: field:res.company,asterisk_server_ids:0 |
|||
msgid "Asterisk servers" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,login:0 |
|||
msgid "" |
|||
"Login that OpenERP will use to communicate with the Asterisk Manager " |
|||
"Interface. Refer to /etc/asterisk/manager.conf on your Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,name:0 |
|||
msgid "Asterisk server name" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,wait_time:0 |
|||
msgid "" |
|||
"Amount of time (in seconds) Asterisk will try to reach the user's phone " |
|||
"before hanging up." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,asterisk_chan_type:0 |
|||
msgid "" |
|||
"Asterisk channel type, as used in the Asterisk dialplan. If the user has a " |
|||
"regular IP phone, the channel type is 'SIP'." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for the 'national prefix' or leave empty" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,port:0 |
|||
msgid "Port" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "You should enter a 'Wait time' value between 1 and 120 seconds" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "Can't resolve the DNS of the Asterisk server : " |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "Invalid phone number" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "" |
|||
"The phone number is not written in valid international format. Example of " |
|||
"valid international format : +33 1 41 98 12 42" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "The phone number is not written in valid national format." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "The phone number is not written in valid format." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "Error :" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "There is no phone number !" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "No Asterisk server configured for the current user." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "No channel type configured for the current user." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "No internal phone number configured for the current user" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "" |
|||
"The connection from OpenERP to the Asterisk server failed. Please check the " |
|||
"configuration on OpenERP and on Asterisk." |
|||
msgstr "" |
@ -0,0 +1,444 @@ |
|||
# Brazilian Portuguese translation for openobject-addons |
|||
# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 |
|||
# This file is distributed under the same license as the openobject-addons package. |
|||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. |
|||
# |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: openobject-addons\n" |
|||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" |
|||
"POT-Creation-Date: 2010-09-10 20:38+0000\n" |
|||
"PO-Revision-Date: 2012-01-30 18:27+0000\n" |
|||
"Last-Translator: Rafael Sales - http://www.tompast.com.br <Unknown>\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-17 05:22+0000\n" |
|||
"X-Generator: Launchpad (build 15099)\n" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "The 'extension priority' must be a positive value" |
|||
msgstr "A 'prioridade da extensão' deve ser um valor positivo" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,password:0 |
|||
msgid "AMI password" |
|||
msgstr "Senha AMI" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "SIP" |
|||
msgstr "SIP" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,international_prefix:0 |
|||
msgid "International prefix" |
|||
msgstr "Prefixo Internacional" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,ip_address:0 |
|||
msgid "IPv4 address or DNS name of the Asterisk server." |
|||
msgstr "Endereço IPv4 ou o nome DNS do servidor Asterisk." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "mISDN" |
|||
msgstr "mISDN" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:ir.model:0 |
|||
msgid "" |
|||
"The Object name must start with x_ and not contain any special character !" |
|||
msgstr "" |
|||
"O nome do objeto deve iniciar com x_ e não conter nenhum caracter especial." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.partner:0 |
|||
#: view:res.partner.address:0 |
|||
msgid "Dial" |
|||
msgstr "Discar" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for the 'country prefix'" |
|||
msgstr "Usar somente dígitos para o 'prefixo do país '" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,asterisk_server_id:0 |
|||
msgid "Asterisk server" |
|||
msgstr "Servidor Asterisk" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,asterisk_server_id:0 |
|||
msgid "Asterisk server on which the user's phone is connected." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: model:ir.actions.act_window,name:asterisk_click2dial.action_asterisk_server |
|||
#: model:ir.model,name:asterisk_click2dial.model_asterisk_server |
|||
msgid "Asterisk Servers" |
|||
msgstr "Servidores Asterisk" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:ir.actions.act_window:0 |
|||
msgid "Invalid model name in the action definition." |
|||
msgstr "Nome do modelo Inválido na definição da ação" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "DAHDI" |
|||
msgstr "DAHDI" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,extension_priority:0 |
|||
msgid "" |
|||
"Priority of the extension in the Asterisk dialplan. Refer to " |
|||
"/etc/asterisk/extensions.conf on your Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,callerid:0 |
|||
msgid "Caller ID" |
|||
msgstr "Identificação da Chamada" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: model:ir.module.module,description:asterisk_click2dial.module_meta_information |
|||
msgid "" |
|||
"The module adds dial button in partner address\n" |
|||
"so that you can directly dial a phone number through Asterisk.\n" |
|||
"Documentation is available on the Arkretion Web site http://[TODO]" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,name:0 |
|||
msgid "Asterisk server name." |
|||
msgstr "Nome do Servidor Asterisk" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.partner:0 |
|||
#: view:res.partner.address:0 |
|||
msgid "Mobile : " |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,login:0 |
|||
msgid "AMI login" |
|||
msgstr "Login AMI" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.company:0 |
|||
msgid "Asterisk servers for click2dial" |
|||
msgstr "Servidores Asterisk para o click2dial" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,wait_time:0 |
|||
msgid "Wait time (sec)" |
|||
msgstr "Tempo de espera em (seg)" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,context:0 |
|||
msgid "Dialplan context" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,extension_priority:0 |
|||
msgid "Extension priority" |
|||
msgstr "Prioridade da Extensão" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,company_id:0 |
|||
msgid "Company" |
|||
msgstr "Empresa" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,country_prefix:0 |
|||
msgid "" |
|||
"Phone prefix of the country where the Asterisk server is located. For e.g. " |
|||
"the phone prefix for France is '33'. If the phone number to dial starts with " |
|||
"the 'My country prefix', OpenERP will remove the country prefix from the " |
|||
"phone number and add the 'out prefix' followed by the 'national prefix'. If " |
|||
"the phone number to dial doesn't start with the 'My country prefix', OpenERP " |
|||
"will add the 'out prefix' followed by the 'international prefix'." |
|||
msgstr "" |
|||
"Prefixo de telefone do país onde o servidor Asterisk está localizado. Por " |
|||
"exemplo, para o prefixo de telefone no Brasil você deve utilizar '55 '. Se o " |
|||
"número de telefone à discar começa com \"Este prefixo de país\", OpenERP irá " |
|||
"remover o prefixo do país a partir do número de telefone e adicionar o " |
|||
"'prefixo de saída' seguido pelo 'prefixo nacional \". Se o número de " |
|||
"telefone para discar não começa com o \"Meu prefixo do país\", OpenERP irá " |
|||
"adicionar o 'out prefixo' seguido pelo 'prefixo internacional \"." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,out_prefix:0 |
|||
msgid "" |
|||
"Prefix to dial to place outgoing calls. If you don't use a prefix to place " |
|||
"outgoing calls, leave empty." |
|||
msgstr "" |
|||
"Prefixo para fazer chamadas de saída. Se você não usar um prefixo para fazer " |
|||
"chamadas de saída, deixe vazio." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "Zap" |
|||
msgstr "Zap" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,context:0 |
|||
msgid "" |
|||
"Asterisk dialplan context from which the calls will be made. Refer to " |
|||
"/etc/asterisk/extensions.conf on your Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,callerid:0 |
|||
msgid "Caller ID used for the calls initiated by this user." |
|||
msgstr "ID de Chamada utilizado para as chamadas iniciadas por esse usuário." |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "IAX2" |
|||
msgstr "IAX2" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.company:0 |
|||
msgid "IPBX" |
|||
msgstr "IPBX" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: model:ir.module.module,shortdesc:asterisk_click2dial.module_meta_information |
|||
msgid "Asterisk Click2dial" |
|||
msgstr "Asterisk Click2dial" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.company,asterisk_server_ids:0 |
|||
msgid "List of Asterisk servers." |
|||
msgstr "Lista de Servidores Asterisk" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "MGCP" |
|||
msgstr "MGCP" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "Skinny" |
|||
msgstr "Skinny" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:ir.ui.view:0 |
|||
msgid "Invalid XML for View Architecture!" |
|||
msgstr "XML inválido para Arquitetura da View" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,internal_number:0 |
|||
msgid "User's internal phone number." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,national_prefix:0 |
|||
msgid "" |
|||
"Prefix for national phone calls (don't include the 'out prefix'). For e.g., " |
|||
"in France, the phone numbers look like '01 41 98 12 42' : the National " |
|||
"prefix is '0'." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,port:0 |
|||
msgid "" |
|||
"TCP port on which the Asterisk Manager Interface listens. Defined in " |
|||
"/etc/asterisk/manager.conf on Asterisk." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,international_prefix:0 |
|||
msgid "" |
|||
"Prefix to add to make international phone calls (don't include the 'out " |
|||
"prefix'). For e.g., in France, the International prefix is '00'." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,internal_number:0 |
|||
msgid "Internal number" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:res.users,asterisk_chan_type:0 |
|||
msgid "Asterisk channel type" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,out_prefix:0 |
|||
msgid "Out prefix" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "TCP ports range from 1 to 65535" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:res.partner:0 |
|||
#: view:res.partner.address:0 |
|||
msgid "Phone : " |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,company_id:0 |
|||
msgid "Company who uses the Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for the 'out prefix' or leave empty" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,ip_address:0 |
|||
msgid "Asterisk IP addr. or DNS" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,password:0 |
|||
msgid "" |
|||
"Password that Asterisk will use to communicate with the Asterisk Manager " |
|||
"Interface. Refer to /etc/asterisk/manager.conf on your Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for 'international prefix'" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: selection:res.users,asterisk_chan_type:0 |
|||
msgid "H323" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,national_prefix:0 |
|||
msgid "National prefix" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,country_prefix:0 |
|||
msgid "My country prefix" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: view:asterisk.server:0 |
|||
#: field:res.company,asterisk_server_ids:0 |
|||
msgid "Asterisk servers" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,login:0 |
|||
msgid "" |
|||
"Login that OpenERP will use to communicate with the Asterisk Manager " |
|||
"Interface. Refer to /etc/asterisk/manager.conf on your Asterisk server." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,name:0 |
|||
msgid "Asterisk server name" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:asterisk.server,wait_time:0 |
|||
msgid "" |
|||
"Amount of time (in seconds) Asterisk will try to reach the user's phone " |
|||
"before hanging up." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: help:res.users,asterisk_chan_type:0 |
|||
msgid "" |
|||
"Asterisk channel type, as used in the Asterisk dialplan. If the user has a " |
|||
"regular IP phone, the channel type is 'SIP'." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "Only use digits for the 'national prefix' or leave empty" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: field:asterisk.server,port:0 |
|||
msgid "Port" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: constraint:asterisk.server:0 |
|||
msgid "You should enter a 'Wait time' value between 1 and 120 seconds" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "Can't resolve the DNS of the Asterisk server : " |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "Invalid phone number" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "" |
|||
"The phone number is not written in valid international format. Example of " |
|||
"valid international format : +33 1 41 98 12 42" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "The phone number is not written in valid national format." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "The phone number is not written in valid format." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "Error :" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "There is no phone number !" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "No Asterisk server configured for the current user." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "No channel type configured for the current user." |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "No internal phone number configured for the current user" |
|||
msgstr "" |
|||
|
|||
#. module: asterisk_click2dial |
|||
#: code:addons/asterisk_click2dial/asterisk_click2dial.py:0 |
|||
#, python-format |
|||
msgid "" |
|||
"The connection from OpenERP to the Asterisk server failed. Please check the " |
|||
"configuration on OpenERP and on Asterisk." |
|||
msgstr "" |
@ -0,0 +1,23 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# Asterisk Click2Dial module for OpenERP |
|||
# Copyright (C) 2012-2013 Alexis de Lattre <alexis@via.ecp.fr> |
|||
# |
|||
# This program is free software: you can redistribute it and/or modify |
|||
# it under the terms of the GNU Affero General Public License as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
|
|||
import reformat_all_phonenumbers |
|||
import open_calling_partner |
@ -0,0 +1,209 @@ |
|||
# -*- encoding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# Asterisk Click2dial module for OpenERP |
|||
# Copyright (C) 2010-2013 Alexis de Lattre <alexis@via.ecp.fr> |
|||
# |
|||
# This program is free software: you can redistribute it and/or modify |
|||
# it under the terms of the GNU Affero General Public License as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
|
|||
from osv import osv, fields |
|||
import netsvc |
|||
# Lib to translate error messages |
|||
from tools.translate import _ |
|||
|
|||
logger = netsvc.Logger() |
|||
|
|||
|
|||
class wizard_open_calling_partner(osv.osv_memory): |
|||
_name = "wizard.open.calling.partner" |
|||
_description = "Open calling partner" |
|||
|
|||
_columns = { |
|||
# I can't set any field to readonly, because otherwize it would call |
|||
# default_get (and thus connect to Asterisk) a second time when the user |
|||
# clicks on one of the buttons |
|||
'calling_number': fields.char('Calling number', size=30, help="Phone number of calling party that has been obtained from Asterisk."), |
|||
'partner_address_id': fields.many2one('res.partner.address', 'Contact name', help="Partner contact related to the calling number. If there is none and you want to update an existing partner"), |
|||
'partner_id': fields.many2one('res.partner', 'Partner', help="Partner related to the calling number."), |
|||
'to_update_partner_address_id': fields.many2one('res.partner.address', 'Contact to update', help="Partner contact on which the phone or mobile number will be written"), |
|||
'current_phone': fields.related('to_update_partner_address_id', 'phone', type='char', relation='res.partner.address', string='Current phone'), |
|||
'current_mobile': fields.related('to_update_partner_address_id', 'mobile', type='char', relation='res.partner.address', string='Current mobile'), |
|||
} |
|||
|
|||
|
|||
def default_get(self, cr, uid, fields, context=None): |
|||
'''Thanks to the default_get method, we are able to query Asterisk and |
|||
get the corresponding partner when we launch the wizard''' |
|||
res = {} |
|||
#calling_number = self.pool.get('asterisk.server')._get_calling_number(cr, uid, context=context) |
|||
#To test the code without Asterisk server |
|||
calling_number = "0141981242" |
|||
if calling_number: |
|||
res['calling_number'] = calling_number |
|||
partner = self.pool.get('res.partner.address').get_partner_from_phone_number(cr, uid, calling_number, context=context) |
|||
if partner: |
|||
res['partner_address_id'] = partner[0] |
|||
res['partner_id'] = partner[1] |
|||
else: |
|||
res['partner_id'] = False |
|||
res['partner_address_id'] = False |
|||
res['to_update_partner_address_id'] = False |
|||
else: |
|||
logger.notifyChannel('click2dial', netsvc.LOG_DEBUG, "Could not get the calling number from Asterisk.") |
|||
raise osv.except_osv(_('Error :'), _("Could not get the calling number from Asterisk. Are you currently on the phone ? If yes, check your setup and look at the OpenERP debug logs.")) |
|||
|
|||
return res |
|||
|
|||
|
|||
def open_filtered_object(self, cr, uid, ids, oerp_object, context=None): |
|||
'''Returns the action that opens the list view of the 'oerp_object' |
|||
given as argument filtered on the partner''' |
|||
# This module only depends on "base" |
|||
# and I don't want to add a dependancy on "sale" or "account" |
|||
# So I just check here that the model exists, to avoid a crash |
|||
if not self.pool.get('ir.model').search(cr, uid, [('model', '=', oerp_object._name)], context=context): |
|||
raise osv.except_osv(_('Error :'), _("The object '%s' is not found in your OpenERP database, probably because the related module is not installed." % oerp_object._description)) |
|||
|
|||
partner_id = self.browse(cr, uid, ids[0], context=context).partner_id.id |
|||
if partner_id: |
|||
action = { |
|||
'name': oerp_object._description, |
|||
'view_type': 'form', |
|||
'view_mode': 'tree,form', |
|||
'res_model': oerp_object._name, |
|||
'type': 'ir.actions.act_window', |
|||
'nodestroy': False, # close the pop-up wizard after action |
|||
'target': 'current', |
|||
'domain': [('partner_id', '=', partner_id)], |
|||
} |
|||
return action |
|||
else: |
|||
return False |
|||
|
|||
|
|||
def open_sale_orders(self, cr, uid, ids, context=None): |
|||
'''Function called by the related button of the wizard''' |
|||
return self.open_filtered_object(cr, uid, ids, self.pool.get('sale.order'), context=context) |
|||
|
|||
|
|||
def open_invoices(self, cr, uid, ids, context=None): |
|||
'''Function called by the related button of the wizard''' |
|||
return self.open_filtered_object(cr, uid, ids, self.pool.get('account.invoice'), context=context) |
|||
|
|||
|
|||
def simple_open(self, cr, uid, ids, object_name='res.partner', context=None): |
|||
if object_name == 'res.partner': |
|||
record_id = self.browse(cr, uid, ids[0], context=context).partner_id.id |
|||
label = 'Partner' |
|||
elif object_name == 'res.partner.address': |
|||
record_id = self.browse(cr, uid, ids[0], context=context).partner_address_id.id |
|||
label = 'Contact' |
|||
else: |
|||
raise osv.except_osv(_('Error :'), "This object '%s' is not supported" % object_name) |
|||
if record_id: |
|||
return { |
|||
'name': label, |
|||
'view_type': 'form', |
|||
'view_mode': 'form,tree', |
|||
'res_model': object_name, |
|||
'type': 'ir.actions.act_window', |
|||
'nodestroy': False, # close the pop-up wizard after action |
|||
'target': 'current', |
|||
'res_id': record_id, |
|||
} |
|||
else: |
|||
return False |
|||
|
|||
|
|||
def open_partner(self, cr, uid, ids, context=None): |
|||
'''Function called by the related button of the wizard''' |
|||
return self.simple_open(cr, uid, ids, object_name='res.partner', context=context) |
|||
|
|||
|
|||
def open_partner_address(self, cr, uid, ids, context=None): |
|||
'''Function called by the related button of the wizard''' |
|||
return self.simple_open(cr, uid, ids, object_name='res.partner.address', context=context) |
|||
|
|||
|
|||
def create_partner_address(self, cr, uid, ids, phone_type='phone', context=None): |
|||
'''Function called by the related button of the wizard''' |
|||
calling_number = self.read(cr, uid, ids[0], ['calling_number'], context=context)['calling_number'] |
|||
ast_server = self.pool.get('asterisk.server')._get_asterisk_server_from_user(cr, uid, context=context) |
|||
# Convert the number to the international format |
|||
number_to_write = self.pool.get('asterisk.server')._convert_number_to_international_format(cr, uid, calling_number, ast_server, context=context) |
|||
|
|||
context['default_' + phone_type] = number_to_write |
|||
action = { |
|||
'name': 'Create new contact', |
|||
'view_type': 'form', |
|||
'view_mode': 'form,tree', |
|||
'res_model': 'res.partner.address', |
|||
'type': 'ir.actions.act_window', |
|||
'nodestroy': False, |
|||
'target': 'current', |
|||
'context': context, |
|||
} |
|||
return action |
|||
|
|||
|
|||
def create_partner_address_phone(self, cr, uid, ids, context=None): |
|||
return self.create_partner_address(cr, uid, ids, phone_type='phone', context=context) |
|||
|
|||
|
|||
def create_partner_address_mobile(self, cr, uid, ids, context=None): |
|||
return self.create_partner_address(cr, uid, ids, phone_type='mobile', context=context) |
|||
|
|||
|
|||
def update_partner_address(self, cr, uid, ids, phone_type='mobile', context=None): |
|||
cur_wizard = self.browse(cr, uid, ids[0], context=context) |
|||
if not cur_wizard.to_update_partner_address_id: |
|||
raise osv.except_osv(_('Error :'), _("Select the contact to update.")) |
|||
ast_server = self.pool.get('asterisk.server')._get_asterisk_server_from_user(cr, uid, context=context) |
|||
number_to_write = self.pool.get('asterisk.server')._convert_number_to_international_format(cr, uid, cur_wizard.calling_number, ast_server, context=context) |
|||
self.pool.get('res.partner.address').write(cr, uid, cur_wizard.to_update_partner_address_id.id, {phone_type: number_to_write}, context=context) |
|||
action = { |
|||
'name': 'Contact: ' + cur_wizard.to_update_partner_address_id.name, |
|||
'view_type': 'form', |
|||
'view_mode': 'form,tree', |
|||
'res_model': 'res.partner.address', |
|||
'type': 'ir.actions.act_window', |
|||
'nodestroy': False, |
|||
'target': 'current', |
|||
'res_id': cur_wizard.to_update_partner_address_id.id |
|||
} |
|||
return action |
|||
|
|||
|
|||
def update_partner_address_phone(self, cr, uid, ids, context=None): |
|||
return self.update_partner_address(cr, uid, ids, phone_type='phone', context=context) |
|||
|
|||
|
|||
def update_partner_address_mobile(self, cr, uid, ids, context=None): |
|||
return self.update_partner_address(cr, uid, ids, phone_type='mobile', context=context) |
|||
|
|||
|
|||
def onchange_to_update_partner_address(self, cr, uid, ids, to_update_partner_address_id, context=None): |
|||
res = {} |
|||
res['value'] = {} |
|||
if to_update_partner_address_id: |
|||
to_update_partner_address = self.pool.get('res.partner.address').browse(cr, uid, to_update_partner_address_id, context=context) |
|||
res['value'].update({'current_phone': to_update_partner_address.phone, |
|||
'current_mobile': to_update_partner_address.mobile}) |
|||
else: |
|||
res['value'].update({'current_phone': False, 'current_mobile': False}) |
|||
return res |
|||
|
|||
wizard_open_calling_partner() |
@ -0,0 +1,67 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
Asterisk Click2dial module for OpenERP |
|||
Copyright (C) 2012-2013 Alexis de Lattre <alexis@via.ecp.fr> |
|||
The licence is in the file __terp__.py |
|||
--> |
|||
|
|||
<openerp> |
|||
<data> |
|||
|
|||
<!-- Get partner from incoming phone call --> |
|||
<record id="view_open_calling_partner" model="ir.ui.view"> |
|||
<field name="name">view_open_calling_partner</field> |
|||
<field name="model">wizard.open.calling.partner</field> |
|||
<field name="type">form</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Open calling partner"> |
|||
<field name="calling_number" colspan="4"/> |
|||
<group attrs="{'invisible':[('partner_id','=',False)]}" colspan="4"> |
|||
<field name="partner_address_id" /> |
|||
<field name="partner_id" /> |
|||
</group> |
|||
<newline /> |
|||
<group colspan="4" attrs="{'invisible':[('partner_id','=',False)]}"> |
|||
<button name="open_partner" icon="gtk-go-forward" string="Partner form" type="object" /> |
|||
<button name="open_sale_orders" icon="gtk-go-forward" string="Related sale orders" type="object" /> |
|||
<button name="open_invoices" icon="gtk-go-forward" string="Related invoices" type="object" /> |
|||
<button special="cancel" icon="gtk-cancel" string="Cancel" /> |
|||
<newline /> |
|||
<!-- TODO : try to reimplement the scenario where the partner_address exist but not the partner ; cf the 6.1 branch --> |
|||
</group> |
|||
|
|||
<group attrs="{'invisible':[('partner_address_id','!=',False)]}" colspan="4" col="8"> |
|||
<label string="No partner contact found in OpenERP with this number" colspan="8" /> |
|||
<separator string="Create a new contact" colspan="8" /> |
|||
<button name="create_partner_address_phone" icon="gtk-new" string="with calling number as phone" type="object" colspan="4"/> |
|||
<button name="create_partner_address_mobile" icon="gtk-new" string="with calling number as mobile" type="object" colspan="4"/> |
|||
<newline /> |
|||
|
|||
<separator string="Update an existing contact" colspan="8" /> |
|||
<field name="to_update_partner_address_id" colspan="8" on_change="onchange_to_update_partner_address(to_update_partner_address_id)"/> |
|||
<field name="current_phone" colspan="6"/> |
|||
<button name="update_partner_address_phone" icon="gtk-convert" string="Update phone" type="object" colspan="2"/> |
|||
<field name="current_mobile" colspan="6"/> |
|||
<button name="update_partner_address_mobile" icon="gtk-convert" string="Update mobile" type="object" colspan="2"/> |
|||
<newline /> |
|||
|
|||
<button special="cancel" icon="gtk-cancel" string="Cancel" colspan="8" /> |
|||
</group> |
|||
<!-- I repeat the cancel button for layout reasons --> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
|
|||
<record id="action_open_calling_partner" model="ir.actions.act_window"> |
|||
<field name="name">Open calling partner</field> |
|||
<field name="res_model">wizard.open.calling.partner</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="target">new</field> |
|||
</record> |
|||
|
|||
<menuitem id="menu_open_calling_partner_sales" parent="base.menu_base_partner" action="action_open_calling_partner" sequence="50" /> |
|||
|
|||
</data> |
|||
</openerp> |
@ -0,0 +1,67 @@ |
|||
# -*- encoding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# Asterisk Click2dial module for OpenERP |
|||
# Copyright (C) 2012-2013 Alexis de Lattre <alexis@via.ecp.fr> |
|||
# |
|||
# This program is free software: you can redistribute it and/or modify |
|||
# it under the terms of the GNU Affero General Public License as |
|||
# published by the Free Software Foundation, either version 3 of the |
|||
# License, or (at your option) any later version. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
|
|||
from osv import osv, fields |
|||
import netsvc |
|||
from tools.translate import _ |
|||
|
|||
logger = netsvc.Logger() |
|||
|
|||
|
|||
class reformat_all_phonenumbers(osv.osv_memory): |
|||
_name = "reformat.all.phonenumbers" |
|||
_description = "Reformat all phone numbers" |
|||
|
|||
_columns = { |
|||
'phonenumbers_not_reformatted': fields.text("Phone numbers that couldn't be reformatted"), |
|||
} |
|||
|
|||
|
|||
def run_reformat_all_phonenumbers(self, cr, uid, ids, context=None): |
|||
print "RUN ids=", ids |
|||
addr_obj = self.pool.get('res.partner.address') |
|||
phonefields = ['phone', 'fax', 'mobile'] |
|||
logger.notifyChannel('click2dial', netsvc.LOG_INFO, 'Starting to reformat all the phone numbers') |
|||
all_addr_ids = addr_obj.search(cr, uid, ['|', ('active', '=', True), ('active', '=', False)], context=context) |
|||
phonenumbers_not_reformatted = '' |
|||
for addr in addr_obj.read(cr, uid, all_addr_ids, ['name'] + phonefields, context=context): |
|||
init_addr = addr.copy() |
|||
# addr is _updated_ by the fonction _reformat_phonenumbers() |
|||
try: |
|||
addr_obj._reformat_phonenumbers(cr, uid, addr, context=context) |
|||
except Exception, e: |
|||
#raise osv.except_osv(_('Error :'), _("Problem on partner contact '%s'. Error message: %s" % (init_addr.get('name'), e[1]))) |
|||
phonenumbers_not_reformatted += "Problem on partner contact '%s'. Error message: %s" % (init_addr.get('name'), e[1]) + "\n" |
|||
logger.notifyChannel('click2dial', netsvc.LOG_WARNING, "Problem on partner contact '%s'. Error message: %s" % (init_addr.get('name'), e[1])) |
|||
continue |
|||
# Test if the phone numbers have been changed |
|||
if any([init_addr.get(field) != addr.get(field) for field in phonefields]): |
|||
addr.pop('id') |
|||
addr.pop('name') |
|||
logger.notifyChannel('click2dial', netsvc.LOG_INFO, 'Reformating phone number: FROM %s TO %s' % (unicode(init_addr), unicode(addr))) |
|||
addr_obj.write(cr, uid, init_addr['id'], addr, context=context) |
|||
if not phonenumbers_not_reformatted: |
|||
phonenumbers_not_reformatted = 'All phone numbers have been reformatted successfully.' |
|||
self.write(cr, uid, ids, {'phonenumbers_not_reformatted': phonenumbers_not_reformatted}, context=context) |
|||
logger.notifyChannel('click2dial', netsvc.LOG_INFO, 'End of the phone number reformatting wizard') |
|||
return True |
|||
|
|||
reformat_all_phonenumbers() |
@ -0,0 +1,39 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
Asterisk Click2dial module for OpenERP |
|||
Copyright (C) 2012-2013 Alexis de Lattre <alexis@via.ecp.fr> |
|||
The licence is in the file __terp__.py |
|||
--> |
|||
|
|||
<openerp> |
|||
<data> |
|||
|
|||
<record id="reformat_all_phonenumbers_form" model="ir.ui.view"> |
|||
<field name="name">reformat_all_phonenumbers.form</field> |
|||
<field name="model">reformat.all.phonenumbers</field> |
|||
<field name="type">form</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Reformat all phone numbers"> |
|||
<label string="This wizard reformats the phone, mobile and fax numbers of all partner contacts in standard international format e.g. +33141981242" colspan="4"/> |
|||
<button special="cancel" icon="gtk-cancel" string="Close" /> |
|||
<button name="run_reformat_all_phonenumbers" icon="gtk-ok" string="Reformat all phone numbers" type="object" /> |
|||
<label colspan="4" string="Phone numbers that couldn't be reformatted:"/> |
|||
<field name="phonenumbers_not_reformatted" colspan="4" nolabel="1"/> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="reformat_all_phonenumbers_action" model="ir.actions.act_window"> |
|||
<field name="name">Reformat all phone numbers</field> |
|||
<field name="res_model">reformat.all.phonenumbers</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="target">new</field> |
|||
</record> |
|||
|
|||
<!-- Menu entry under Settings > Configuration --> |
|||
<menuitem id="reformat_all_phonenumbers_menu" action="reformat_all_phonenumbers_action" parent="menu_asterisk_servers" sequence="100"/> |
|||
|
|||
|
|||
</data> |
|||
</openerp> |
@ -0,0 +1,64 @@ |
|||
# -*- encoding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# Asterisk click2dial CRM module for OpenERP |
|||
# Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. |
|||
# Copyright (c) 2012 Akretion (http://www.akretion.com) |
|||
# @author: Jesús Martín <jmartin@zikzakmedia.com> |
|||
# @author: Alexis de Lattre <alexis.delattre@akretion.com> |
|||
# |
|||
# This program is free software: you can redistribute it and/or modify |
|||
# it under the terms of the GNU Affero General Public License as published by |
|||
# the Free Software Foundation, either version 3 of the License, or |
|||
# (at your option) any later version. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
|
|||
{ |
|||
"name": "Asterisk Click2dial CRM", |
|||
"version": "0.1", |
|||
"author": "Zikzakmedia SL, Akretion", |
|||
"website": "http://www.zikzakmedia.com", |
|||
"license" : "AGPL-3", |
|||
"category": "Customer Relationship Management", |
|||
"description": """ |
|||
This module adds CRM-specific features to the asterisk_click2dial module. |
|||
|
|||
It adds 2 features : |
|||
|
|||
First, when you do a click2dial, OpenERP will propose you to create an |
|||
outbound phone call in the CRM ; if you answer 'Yes', it will create the phone |
|||
call in the CRM and open it in a new tab. If some users don't want to be asked |
|||
to create a phone call in the CRM each time they do a click2dial, you |
|||
should disable the corresponding option in the 'Telephony' tab of the 'User' |
|||
form. |
|||
|
|||
Second, when you receive a phone call and run the wizard "Open calling partner", |
|||
if the partner is found in OpenERP, you will see a button that proposes to create |
|||
an inbound phone call in the CRM. |
|||
|
|||
This module has been initially developped by Zikzakmedia and has been enhanced by Akretion. |
|||
|
|||
A detailed documentation for the OpenERP-Asterisk connector is available on the Akretion Web site : http://www.akretion.com/en/products-and-services/openerp-asterisk-voip-connector |
|||
""", |
|||
"depends": [ |
|||
'asterisk_click2dial', |
|||
'crm', |
|||
], |
|||
"init_xml": [], |
|||
"demo_xml": [], |
|||
"update_xml": [ |
|||
'wizard/open_calling_partner_view.xml', |
|||
'wizard/create_crm_phonecall_view.xml', |
|||
'res_users_view.xml', |
|||
], |
|||
"installable": True, |
|||
} |
@ -0,0 +1,77 @@ |
|||
# -*- encoding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# Asterisk click2dial CRM module for OpenERP |
|||
# Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. |
|||
# Copyright (c) 2012 Akretion (http://www.akretion.com) |
|||
# @author: Jesús Martín <jmartin@zikzakmedia.com> |
|||
# @author: Alexis de Lattre <alexis.delattre@akretion.com> |
|||
# |
|||
# This program is free software: you can redistribute it and/or modify |
|||
# it under the terms of the GNU Affero General Public License as published by |
|||
# the Free Software Foundation, either version 3 of the License, or |
|||
# (at your option) any later version. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
|
|||
from osv import osv, fields |
|||
# Lib to translate error messages |
|||
from tools.translate import _ |
|||
|
|||
class res_partner_address(osv.osv): |
|||
_inherit = "res.partner.address" |
|||
|
|||
def dial(self, cr, uid, ids, phone_field='phone', context=None): |
|||
''' |
|||
This method open the phone call history when the phone click2dial |
|||
button of asterisk_click2dial module is pressed |
|||
:return the phone call history view of the partner |
|||
''' |
|||
if context is None: |
|||
context = {} |
|||
super(res_partner_address, self).dial(cr, uid, ids, phone_field=phone_field, context=context) |
|||
user = self.pool.get('res.users').browse(cr, uid, uid, context=context) |
|||
context['partner_address_id'] = ids[0] |
|||
action_start_wizard = { |
|||
'name': 'Create phone call in CRM', |
|||
'type': 'ir.actions.act_window', |
|||
'res_model': 'wizard.create.crm.phonecall', |
|||
'view_type': 'form', |
|||
'view_mode': 'form', |
|||
'nodestroy': True, |
|||
'target': 'new', |
|||
'context': context, |
|||
} |
|||
if user.context_propose_creation_crm_call: |
|||
return action_start_wizard |
|||
else: |
|||
return True |
|||
|
|||
res_partner_address() |
|||
|
|||
|
|||
class res_users(osv.osv): |
|||
_inherit = "res.users" |
|||
|
|||
_columns = { |
|||
# Field name starts with 'context_' to allow modification by the user |
|||
# in his preferences, cf server/openerp/addons/base/res/res_users.py |
|||
# in "def write" of "class users" |
|||
# This exists in since OpenERP 6.0 (it is not in OpenERP 5.0) |
|||
'context_propose_creation_crm_call': fields.boolean('Propose to create a call in CRM after a click2dial'), |
|||
} |
|||
|
|||
_defaults = { |
|||
'context_propose_creation_crm_call': lambda *a: True, |
|||
} |
|||
|
|||
res_users() |
|||
|
@ -0,0 +1,78 @@ |
|||
# Translation of OpenERP Server. |
|||
# This file contains the translation of the following modules: |
|||
# * asterisk_click2dial_crm |
|||
# |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: OpenERP Server 6.1\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2012-06-02 23:47+0000\n" |
|||
"PO-Revision-Date: 2012-06-02 23:47+0000\n" |
|||
"Last-Translator: <>\n" |
|||
"Language-Team: \n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Plural-Forms: \n" |
|||
|
|||
#. module: asterisk_click2dial_crm |
|||
#: model:ir.actions.act_window,name:asterisk_click2dial_crm.action_create_crm_phonecall |
|||
msgid "Create CRM phonecall" |
|||
msgstr "Créer un appel dans la CRM" |
|||
|
|||
#. module: asterisk_click2dial_crm |
|||
#: code:addons/asterisk_click2dial_crm/wizard/create_crm_phonecall.py:45 |
|||
#, python-format |
|||
msgid "Call with" |
|||
msgstr "Conversation avec" |
|||
|
|||
#. module: asterisk_click2dial_crm |
|||
#: view:wizard.open.calling.partner:0 |
|||
msgid "Create call in CRM" |
|||
msgstr "Créer un appel dans la CRM" |
|||
|
|||
#. module: asterisk_click2dial_crm |
|||
#: view:wizard.create.crm.phonecall:0 |
|||
msgid "CRM phone call" |
|||
msgstr "Appel dans la CRM" |
|||
|
|||
#. module: asterisk_click2dial_crm |
|||
#: view:wizard.create.crm.phonecall:0 |
|||
msgid "No" |
|||
msgstr "Non" |
|||
|
|||
#. module: asterisk_click2dial_crm |
|||
#: model:ir.model,name:asterisk_click2dial_crm.model_wizard_open_calling_partner |
|||
msgid "wizard.open.calling.partner" |
|||
msgstr "wizard.open.calling.partner" |
|||
|
|||
#. module: asterisk_click2dial_crm |
|||
#: model:ir.model,name:asterisk_click2dial_crm.model_wizard_create_crm_phonecall |
|||
msgid "wizard.create.crm.phonecall" |
|||
msgstr "wizard.create.crm.phonecall" |
|||
|
|||
#. module: asterisk_click2dial_crm |
|||
#: field:res.users,context_propose_creation_crm_call:0 |
|||
msgid "Propose to create a call in CRM after a click2dial" |
|||
msgstr "Propose de créer un appel dans la CRM après un click2dial" |
|||
|
|||
#. module: asterisk_click2dial_crm |
|||
#: view:wizard.create.crm.phonecall:0 |
|||
msgid "Create a phone call in the CRM ?" |
|||
msgstr "Créer un appel téléphonique dans la CRM ?" |
|||
|
|||
#. module: asterisk_click2dial_crm |
|||
#: model:ir.model,name:asterisk_click2dial_crm.model_res_users |
|||
msgid "res.users" |
|||
msgstr "res.users" |
|||
|
|||
#. module: asterisk_click2dial_crm |
|||
#: view:wizard.create.crm.phonecall:0 |
|||
msgid "Yes" |
|||
msgstr "Oui" |
|||
|
|||
#. module: asterisk_click2dial_crm |
|||
#: model:ir.model,name:asterisk_click2dial_crm.model_res_partner_address |
|||
msgid "Partner Addresses" |
|||
msgstr "Carnet d'adresses" |
|||
|
@ -1,110 +0,0 @@ |
|||
# -*- encoding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# OpenERP, Open Source Management Solution |
|||
# Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. |
|||
# Jesús Martín <jmartin@zikzakmedia.com> |
|||
# $Id$ |
|||
# |
|||
# This program is free software: you can redistribute it and/or modify |
|||
# it under the terms of the GNU Affero General Public License as published by |
|||
# the Free Software Foundation, either version 3 of the License, or |
|||
# (at your option) any later version. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
|
|||
from osv import osv, fields |
|||
# Lib to translate error messages |
|||
from tools.translate import _ |
|||
|
|||
class res_partner_address(osv.osv): |
|||
_name = "res.partner.address" |
|||
_inherit = "res.partner.address" |
|||
|
|||
def action_dial_phone(self, cr, uid, ids, context=None): |
|||
''' |
|||
This method open the phone call history when the phone click2dial |
|||
button of asterisk_click2dial module is pressed |
|||
:return the phone call history view of the partner |
|||
''' |
|||
if context is None: |
|||
context = {} |
|||
super(res_partner_address, self).action_dial_phone(cr, uid, ids, context) |
|||
crm_phonecall_id = self.create_phonecall(cr, uid, ids, context) |
|||
partner = self.browse(cr, uid, ids[0], context).partner_id |
|||
return { |
|||
'name': partner.name, |
|||
'domain': "[('partner_address_id.partner_id.id', '=', %s)]" % partner.id, |
|||
'res_model': 'crm.phonecall', |
|||
'res_id': crm_phonecall_id, |
|||
'view_type': 'form', |
|||
'view_mode': 'form,tree', |
|||
'view_id': False, |
|||
'type': 'ir.actions.act_window', |
|||
'nodestroy': True, |
|||
'target': 'current', |
|||
'context': context, |
|||
} |
|||
|
|||
def action_dial_mobile(self, cr, uid, ids, context=None): |
|||
''' |
|||
This method open the phone call history when the mobile click2dial |
|||
button of asterisk_click2dial module is pressed |
|||
:return the phone call history view of the partner |
|||
''' |
|||
if context is None: |
|||
context = {} |
|||
super(res_partner_address, self).action_dial_mobile(cr, uid, ids, context) |
|||
crm_phonecall_id = self.create_phonecall(cr, uid, ids, context) |
|||
partner = self.browse(cr, uid, ids[0], context).partner_id |
|||
return { |
|||
'name': partner.name, |
|||
'domain': "[('partner_address_id.partner_id.id', '=', %s)]" % partner.id, |
|||
'res_model': 'crm.phonecall', |
|||
'res_id': crm_phonecall_id, |
|||
'view_type': 'form', |
|||
'view_mode': 'form,tree', |
|||
'view_id': False, |
|||
'type': 'ir.actions.act_window', |
|||
'nodestroy': True, |
|||
'target': 'current', |
|||
'context': context, |
|||
} |
|||
|
|||
def create_phonecall(self, cr, uid, ids, context = None): |
|||
''' |
|||
This method creates a phone call history when the phone click2dial |
|||
button of asterisk_click2dial module is pressed and opens it. |
|||
:return True |
|||
''' |
|||
if context is None: |
|||
context = {} |
|||
|
|||
crm_phonecall_obj = self.pool.get('crm.phonecall') |
|||
partner_address = self.browse(cr, uid, ids[0], context) |
|||
|
|||
categ_ids = self.pool.get('crm.case.categ').search(cr, uid, [('name','=','Outbound')], context={'lang': 'en_US'}) |
|||
case_seccion_ids = self.pool.get('crm.case.section').search(cr, uid, [('member_ids', 'in', uid)], context = context) |
|||
values = { |
|||
'name': "", |
|||
'partner_id': partner_address.partner_id and partner_address.partner_id.id or False, |
|||
'partner_address_id': partner_address.id, |
|||
'partner_phone': partner_address.phone, |
|||
'partner_contact': partner_address.name, |
|||
'partner_mobile': partner_address.mobile, |
|||
'user_id': uid, |
|||
'categ_id': categ_ids and categ_ids[0] or False, |
|||
'section_id': case_seccion_ids and case_seccion_ids[0] or False, |
|||
} |
|||
crm_phonecall_id = crm_phonecall_obj.create(cr, uid, values, context) |
|||
return crm_phonecall_id |
|||
|
|||
res_partner_address() |
@ -0,0 +1,41 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
Copyright (C) 2012 Akretion (http://www.akretion.com/) |
|||
@author: Alexis de Lattre <alexis.delattre@akretion.com> |
|||
The licence is in the file __openerp__.py |
|||
--> |
|||
|
|||
<openerp> |
|||
<data> |
|||
|
|||
<!-- Add option on user form view --> |
|||
<record id="asterisk_crm_option_view" model="ir.ui.view"> |
|||
<field name="name">asterisk.crm.option.view</field> |
|||
<field name="model">res.users</field> |
|||
<field name="inherit_id" ref="asterisk_click2dial.asterisk_res_users_internal_number"/> |
|||
<field name="arch" type="xml"> |
|||
<field name="asterisk_server_id" position="after"> |
|||
<field name="context_propose_creation_crm_call"/> |
|||
</field> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="asterisk_crm_preferences_option_view" model="ir.ui.view"> |
|||
<field name="name">asterisk.crm.preferences.option.view</field> |
|||
<field name="model">res.users</field> |
|||
<field name="inherit_id" ref="base.view_users_form_simple_modif" /> |
|||
<field name="arch" type="xml"> |
|||
<field name="signature" position="after"> |
|||
<group colspan="4" col="2" > |
|||
<!-- I create a group to avoid that the long "string" of the |
|||
field context_propose_creation_crm_call pushes all other fields |
|||
to the right --> |
|||
<separator string="Telephony preferences" colspan="2"/> |
|||
<field name="context_propose_creation_crm_call" readonly="0"/> |
|||
</group> |
|||
</field> |
|||
</field> |
|||
</record> |
|||
|
|||
</data> |
|||
</openerp> |
@ -0,0 +1,78 @@ |
|||
# -*- encoding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# Asterisk click2dial CRM module for OpenERP |
|||
# Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved. |
|||
# Copyright (c) 2012 Akretion (http://www.akretion.com) |
|||
# @author: Jesús Martín <jmartin@zikzakmedia.com> |
|||
# @author: Alexis de Lattre <alexis.delattre@akretion.com> |
|||
# |
|||
# This program is free software: you can redistribute it and/or modify |
|||
# it under the terms of the GNU Affero General Public License as published by |
|||
# the Free Software Foundation, either version 3 of the License, or |
|||
# (at your option) any later version. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU Affero General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU Affero General Public License |
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################## |
|||
|
|||
from osv import osv, fields |
|||
# Lib to translate error messages |
|||
from tools.translate import _ |
|||
|
|||
|
|||
class wizard_create_crm_phonecall(osv.osv_memory): |
|||
_name = "wizard.create.crm.phonecall" |
|||
|
|||
def button_create_outgoing_phonecall(self, cr, uid, ids, context=None): |
|||
partner_address = self.pool.get('res.partner.address').browse(cr, uid, context.get('partner_address_id'), context=context) |
|||
return self._create_open_crm_phonecall(cr, uid, partner_address, crm_categ='Outbound', context=context) |
|||
|
|||
def _create_open_crm_phonecall(self, cr, uid, partner_address, crm_categ, context=None): |
|||
if context is None: |
|||
context = {} |
|||
crm_phonecall_obj = self.pool.get('crm.phonecall') |
|||
|
|||
categ_ids = self.pool.get('crm.case.categ').search(cr, uid, [('name','=',crm_categ)], context={'lang': 'en_US'}) |
|||
case_section_ids = self.pool.get('crm.case.section').search(cr, uid, [('member_ids', 'in', uid)], context=context) |
|||
context.update({ |
|||
'default_partner_id': partner_address.partner_id and partner_address.partner_id.id or False, |
|||
'default_partner_address_id': partner_address.id, |
|||
'default_partner_contact': partner_address.name, |
|||
'default_partner_phone': partner_address.phone, |
|||
'default_partner_mobile': partner_address.mobile, |
|||
'default_categ_id': categ_ids and categ_ids[0] or False, |
|||
'default_section_id': case_section_ids and case_section_ids[0] or False, |
|||
}) |
|||
|
|||
return { |
|||
'name': partner_address.name, |
|||
'domain': [('partner_id', '=', partner_address.partner_id.id)], |
|||
'res_model': 'crm.phonecall', |
|||
'view_type': 'form', |
|||
'view_mode': 'form,tree', |
|||
'type': 'ir.actions.act_window', |
|||
'nodestroy': False, # close the pop-up wizard after action |
|||
'target': 'current', |
|||
'context': context, |
|||
} |
|||
|
|||
wizard_create_crm_phonecall() |
|||
|
|||
|
|||
class wizard_open_calling_partner(osv.osv_memory): |
|||
_inherit = "wizard.open.calling.partner" |
|||
|
|||
def create_incoming_phonecall(self, cr, uid, ids, crm_categ, context=None): |
|||
'''Started by button on 'open calling partner wizard''' |
|||
partner_address = self.browse(cr, uid, ids[0], context=context).partner_address_id |
|||
action = self.pool.get('wizard.create.crm.phonecall')._create_open_crm_phonecall(cr, uid, partner_address, crm_categ='Inbound', context=context) |
|||
return action |
|||
|
|||
wizard_open_calling_partner() |
@ -0,0 +1,37 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
Copyright (C) 2012 Akretion (http://www.akretion.com) |
|||
@author: Alexis de Lattre <alexis.delattre@akretion.com> |
|||
The licence is in the file __openerp__.py |
|||
--> |
|||
|
|||
<openerp> |
|||
<data> |
|||
|
|||
<!-- Add button on the "Get partner from incoming phone call view" --> |
|||
<record id="create_crm_phonecall_view" model="ir.ui.view"> |
|||
<field name="name">create_crm_phonecall.view</field> |
|||
<field name="model">wizard.create.crm.phonecall</field> |
|||
<field name="type">form</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="CRM phone call"> |
|||
<label string="Create a phone call in the CRM ?" colspan="2"/> |
|||
<newline /> |
|||
<button name="button_create_outgoing_phonecall" icon="gtk-new" string="Yes" type="object"/> |
|||
<button special="cancel" icon="gtk-cancel" string="No" /> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
|
|||
<record id="action_create_crm_phonecall" model="ir.actions.act_window"> |
|||
<field name="name">Create CRM phonecall</field> |
|||
<field name="res_model">wizard.create.crm.phonecall</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="target">new</field> |
|||
</record> |
|||
|
|||
|
|||
</data> |
|||
</openerp> |
@ -0,0 +1,30 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
Copyright (C) 2012 Akretion (http://www.akretion.com) |
|||
@author: Alexis de Lattre <alexis.delattre@akretion.com> |
|||
The licence is in the file __openerp__.py |
|||
--> |
|||
|
|||
<openerp> |
|||
<data> |
|||
|
|||
<!-- Add button on the "Get partner from incoming phone call view" --> |
|||
<record id="asterisk_click2dial_crm_open_calling_partner_view" model="ir.ui.view"> |
|||
<field name="name">asterisk_click2dial_crm.open_calling_partner.view</field> |
|||
<field name="model">wizard.open.calling.partner</field> |
|||
<field name="inherit_id" ref="asterisk_click2dial.view_open_calling_partner"/> |
|||
<field name="type">form</field> |
|||
<field name="arch" type="xml"> |
|||
<button name="open_invoices" position="after"> |
|||
<button name="create_incoming_phonecall" icon="gtk-new" string="Create call in CRM" type="object" /> |
|||
</button> |
|||
<!-- We enlarge the small original 'Cancel' button --> |
|||
<xpath expr="/form/group/button[@name='open_partner']/../button[@special='cancel']" position="attributes"> |
|||
<attribute name="colspan">4</attribute> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
|
|||
|
|||
</data> |
|||
</openerp> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue