diff options
| author | tfr@openerp.com <> | 2011-12-26 10:17:22 +0100 |
|---|---|---|
| committer | tfr@openerp.com <> | 2011-12-26 10:17:22 +0100 |
| commit | 36755d7e53dfd03fe869dd0dd5e284969ee4a81e (patch) | |
| tree | 26f3cfdfa010d9428ea64cf23a500f4b74f1f345 /addons | |
| parent | b59fea4e68264ea480184e6c78035883380e3827 (diff) | |
[DEL] old thunderbird plugin
bzr revid: tfr@openerp.com-20111226091722-cshkmhc0bxmc1egl
Diffstat (limited to 'addons')
96 files changed, 0 insertions, 10625 deletions
diff --git a/addons/thunderbird/__init__.py b/addons/thunderbird/__init__.py deleted file mode 100644 index 33d232b3f50..00000000000 --- a/addons/thunderbird/__init__.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). -# -# 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 partner -import installer - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/thunderbird/__openerp__.py b/addons/thunderbird/__openerp__.py deleted file mode 100644 index 53a704d2f1b..00000000000 --- a/addons/thunderbird/__openerp__.py +++ /dev/null @@ -1,49 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). All Rights Reserved -# Copyright (c) 2004 Axelor SPRL. (http://www.axelor.com) All Rights Reserved. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -############################################################################## -{ - "name" : "Thunderbird Plug-In", - "version" : "1.0", - "author" : ['OpenERP SA', 'Axelor'], - "website" : "http://www.openerp.com/", - "depends" : ["base","mail"], - "category" : "Customer Relationship Management", - "description": """ -This module is required for the Thuderbird Plug-in to work properly. -==================================================================== - -The plugin allows you archive email and its attachments to the selected -OpenERP objects. You can select a partner, a task, a project, an analytical -account, or any other object and attach the selected mail as a .eml file in -the attachment of a selected record. You can create documents for CRM Lead, -HR Applicant and Project Issue from selected mails. - """, - "init_xml" : [], - "demo_xml" : [], - "update_xml" : ['thunderbird_installer.xml', - 'security/ir.model.access.csv'], - "active": False, - "installable": True, - "certificate" : "00899858104035139949", - 'images': ['images/config_thunderbird.jpeg','images/config_thunderbird_plugin.jpeg','images/thunderbird_document.jpeg'], -} - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/thunderbird/i18n/bg.po b/addons/thunderbird/i18n/bg.po deleted file mode 100644 index 0776219f8fb..00000000000 --- a/addons/thunderbird/i18n/bg.po +++ /dev/null @@ -1,153 +0,0 @@ -# Bulgarian translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2010-02-16 15:05+0000\n" -"Last-Translator: Boris <boris.t.ivanov@gmail.com>\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: 2011-12-23 07:13+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Упътване за инсталация" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Описание" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "заглавие" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Изображение" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Добавка за Thunderbird" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Затваряне" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Стъпки за инсталиране и настройка" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Име на файл" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Copy To" -#~ msgstr "Копиране в" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Името на обекта трябва да започва с \"x_\" и да не съдържа никакви специални " -#~ "символи!" - -#~ msgid "Date" -#~ msgstr "Дата" - -#~ msgid "Reference" -#~ msgstr "Препратка" - -#~ msgid "Subject" -#~ msgstr "Относно" - -#~ msgid "Receiver" -#~ msgstr "Получател" - -#~ msgid "User" -#~ msgstr "Потребител" - -#~ msgid "Attached Files" -#~ msgstr "Приложени файлове" - -#~ msgid "Thunderbid mails" -#~ msgstr "Тъндърбърд писма" - -#~ msgid "Sender" -#~ msgstr "Подател" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Тъндърбърд интерфейс" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Архив" - -#~ msgid "Configure" -#~ msgstr "Настройване" - -#~ msgid "Skip" -#~ msgstr "Пропусни" - -#~ msgid "Configuration Progress" -#~ msgstr "Прогрес на конфигурация" diff --git a/addons/thunderbird/i18n/ca.po b/addons/thunderbird/i18n/ca.po deleted file mode 100644 index 6b65cd311e9..00000000000 --- a/addons/thunderbird/i18n/ca.po +++ /dev/null @@ -1,131 +0,0 @@ -# Catalan 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: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-03-05 23:50+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Catalan <ca@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:13+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Manual d'instal·lació" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Eines connector de Thunderbird" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.instal·lador" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Descripció" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "títol" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Imatge" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Connector Thunderbird" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Aquest connector permet vincular el vostre correu electrònic amb documents " -"OpenERP. Podeu adjuntar amb qualsevol element en OpenERP o crear un de nou." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Us permet seleccionar un objecte on afegir el vostre correu electrònic i " -"fitxers adjunts." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "El fitxer de documentació: Com instal·lar el connector Thunderbird." - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Tanca" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Passos d'instal·lació i configuració" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Nom del fitxer" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Fitxer del connector Thunderbird. Guardeu aquest fitxer i instal·leu aquest " -"connector en l'aplicació Thunderbird." - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Email Server Tools" -#~ msgstr "Eines servidor correu" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "Connector Thunderbird" - -#~ msgid "Configure" -#~ msgstr "Configura" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Interfície Thunderbird" - -#~ msgid "Skip" -#~ msgstr "Ometre" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Configuració connector Thunderbird" - -#~ msgid "Configuration Progress" -#~ msgstr "Progrés de la configuració" diff --git a/addons/thunderbird/i18n/cs.po b/addons/thunderbird/i18n/cs.po deleted file mode 100644 index 88dff49e722..00000000000 --- a/addons/thunderbird/i18n/cs.po +++ /dev/null @@ -1,143 +0,0 @@ -# Czech translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2010-01-25 11:49+0000\n" -"Last-Translator: Kuvaly [LCT] <kuvaly@seznam.cz>\n" -"Language-Team: Czech <cs@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:13+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Popis" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Copy To" -#~ msgstr "Kopírovat do" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Jméno objektu musí začínat znakem x_ a nesmí obsahovat žádný speciální znak!" - -#~ msgid "Reference" -#~ msgstr "Reference" - -#~ msgid "Subject" -#~ msgstr "Předmět" - -#~ msgid "Date" -#~ msgstr "Datum" - -#~ msgid "Receiver" -#~ msgstr "Příjemce" - -#~ msgid "User" -#~ msgstr "Uživatel" - -#~ msgid "Attached Files" -#~ msgstr "Přiložené soubory" - -#~ msgid "Thunderbid mails" -#~ msgstr "Maily Thunderbid" - -#~ msgid "Sender" -#~ msgstr "Odesílatel" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Rozhraní Thunderbird" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Archiv" diff --git a/addons/thunderbird/i18n/da.po b/addons/thunderbird/i18n/da.po deleted file mode 100644 index 18598642ce3..00000000000 --- a/addons/thunderbird/i18n/da.po +++ /dev/null @@ -1,113 +0,0 @@ -# Danish 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: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-11-09 21:50+0000\n" -"Last-Translator: OpenERP Danmark / Henning Dinsen <Unknown>\n" -"Language-Team: Danish <da@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:13+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Installations manual" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Beskrivelse:" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "titel" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Billede" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Luk" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Filnavn" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Configure" -#~ msgstr "Konfigurer" - -#~ msgid "Skip" -#~ msgstr "Spring over" - -#~ msgid "Configuration Progress" -#~ msgstr "Konfigurationsfremgang" diff --git a/addons/thunderbird/i18n/de.po b/addons/thunderbird/i18n/de.po deleted file mode 100644 index 12f86c3ff13..00000000000 --- a/addons/thunderbird/i18n/de.po +++ /dev/null @@ -1,172 +0,0 @@ -# German translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# Ferdinand Gassauer <f.gassauer@chricar.at>, 2010. -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-01-24 21:16+0000\n" -"Last-Translator: Marco Dieckhoff <Unknown>\n" -"Language-Team: German <de@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:13+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Installationhandbuch" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Thunderbird Plugin Anwendung" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.installer" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Beschreibung" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "Titel" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Bild / Photo" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Thunderbird Plug-in" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Das Plugin ermöglicht die Verlinkung einer EMail mit beliebigen OpenERP " -"Belegen. Sie können hierzu entweder\r\n" -"die EMail zu vorhandenen Objekten abspeichern oder wahlweise neue Objekte " -"durch eine Email in OpenERP erstellen." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Ermöglicht die Auswahl eines Objektes das zu EMails oder Anhängen " -"hinzugefügt wird." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" -"Die Dokumentationsdatei : Wie wird das Thunderbird Plugin installiert" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Close" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Installation und Konfigurationsschritte" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Dateiname" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Thunderbird Plugin-Datei. Sichern Sie diese und installieren Sie diese in " -"Thunderbird" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Reference" -#~ msgstr "Referenz" - -#~ msgid "Copy To" -#~ msgstr "Kopieren nach" - -#~ msgid "Subject" -#~ msgstr "Betreff" - -#~ msgid "Date" -#~ msgstr "Datum" - -#~ msgid "Receiver" -#~ msgstr "Empfänger" - -#~ msgid "User" -#~ msgstr "Benutzer" - -#~ msgid "Attached Files" -#~ msgstr "Angehängte Dateien" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Der Objekt Name muss mit einem x_ starten und darf keine Sonderzeichen " -#~ "beinhalten" - -#~ msgid "Sender" -#~ msgstr "Absender" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Thunderbird Schnittstelle" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Archiv" - -#~ msgid "Thunderbid mails" -#~ msgstr "Thunderbid Mails" - -#~ msgid "Email Server Tools" -#~ msgstr "EMail Server HIlfsprogramme" - -#~ msgid "Configure" -#~ msgstr "Konfiguriere" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "Thunderbird Plug-In" - -#~ msgid "Configuration Progress" -#~ msgstr "Konfiguration" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Thunderbird Plug-In Konfiguration" - -#~ msgid "Skip" -#~ msgstr "Überspringen" diff --git a/addons/thunderbird/i18n/en_GB.po b/addons/thunderbird/i18n/en_GB.po deleted file mode 100644 index d17eadfca5e..00000000000 --- a/addons/thunderbird/i18n/en_GB.po +++ /dev/null @@ -1,143 +0,0 @@ -# English (United Kingdom) translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2010-04-28 19:32+0000\n" -"Last-Translator: Luis Miguel D.P. <Unknown>\n" -"Language-Team: English (United Kingdom) <en_GB@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:14+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Description" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Copy To" -#~ msgstr "Copy To" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "The Object name must start with x_ and not contain any special characters!" - -#~ msgid "User" -#~ msgstr "User" - -#~ msgid "Reference" -#~ msgstr "Reference" - -#~ msgid "Subject" -#~ msgstr "Subject" - -#~ msgid "Date" -#~ msgstr "Date" - -#~ msgid "Receiver" -#~ msgstr "Receiver" - -#~ msgid "Attached Files" -#~ msgstr "Attached Files" - -#~ msgid "Thunderbid mails" -#~ msgstr "Thunderbid mails" - -#~ msgid "Sender" -#~ msgstr "Sender" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Thunderbird Interface" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Archive" diff --git a/addons/thunderbird/i18n/en_US.po b/addons/thunderbird/i18n/en_US.po deleted file mode 100644 index f6a8f04d590..00000000000 --- a/addons/thunderbird/i18n/en_US.po +++ /dev/null @@ -1,104 +0,0 @@ -# English (United States) 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: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-01-21 08:45+0000\n" -"Last-Translator: Marco Dieckhoff <Unknown>\n" -"Language-Team: English (United States) <en_US@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:14+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" diff --git a/addons/thunderbird/i18n/es.po b/addons/thunderbird/i18n/es.po deleted file mode 100644 index 7c2f85bc404..00000000000 --- a/addons/thunderbird/i18n/es.po +++ /dev/null @@ -1,167 +0,0 @@ -# Spanish translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-01-13 11:13+0000\n" -"Last-Translator: Borja López Soilán (NeoPolus) <borjalopezsoilan@gmail.com>\n" -"Language-Team: Spanish <es@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:14+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Manual de instalación" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Herramientas conector de Thunderbird" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.instalador" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Descripción" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "título" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Imagen" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Conector Thunderbird" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Este conector permite vincular su correo electrónico con documentos OpenERP. " -"Puede adjuntarlo con cualquier elemento de OpenERP o crear uno de nuevo." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Le permite seleccionar un objeto donde añadir su correo electrónico y sus " -"archivos adjuntos." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "El fichero de documentación: Como instalar el conector Thunderbird." - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Cerrar" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Pasos de instalación y configuración" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Nombre fichero" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Fichero del conector Thunderbird. Guarde este fichero e instale este " -"conector en la aplicación Thunderbird." - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Copy To" -#~ msgstr "Copiar a" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "¡El objeto debe empezar con x_ y no puede contener ningún carácter especial!" - -#~ msgid "Reference" -#~ msgstr "Referencia" - -#~ msgid "Subject" -#~ msgstr "Asunto" - -#~ msgid "Date" -#~ msgstr "Fecha" - -#~ msgid "Receiver" -#~ msgstr "Destinatario" - -#~ msgid "User" -#~ msgstr "Usuario" - -#~ msgid "Attached Files" -#~ msgstr "Archivos Adjuntos" - -#~ msgid "Sender" -#~ msgstr "Remitente" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Interfaz Thunderbird" - -#~ msgid "Thunderbid mails" -#~ msgstr "Correo Thunderbid" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Archivar" - -#~ msgid "Configure" -#~ msgstr "Configurar" - -#~ msgid "Email Server Tools" -#~ msgstr "Herramientas servidor correo" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Configuración conector Thunderbird" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "Conector Thunderbird" - -#~ msgid "Skip" -#~ msgstr "Omitir" - -#~ msgid "Configuration Progress" -#~ msgstr "Progreso de la configuración" diff --git a/addons/thunderbird/i18n/es_MX.po b/addons/thunderbird/i18n/es_MX.po deleted file mode 100644 index e1e97accb69..00000000000 --- a/addons/thunderbird/i18n/es_MX.po +++ /dev/null @@ -1,206 +0,0 @@ -# Spanish translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-01-11 11:16+0000\n" -"PO-Revision-Date: 2011-01-13 11:13+0000\n" -"Last-Translator: Borja López Soilán (NeoPolus) <borjalopezsoilan@gmail.com>\n" -"Language-Team: Spanish <es@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-09-05 05:44+0000\n" -"X-Generator: Launchpad (build 13830)\n" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Conector Thunderbird" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Fichero del conector Thunderbird. Guarde este fichero e instale este " -"conector en la aplicación Thunderbird." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Le permite seleccionar un objeto donde añadir su correo electrónico y sus " -"archivos adjuntos." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "El fichero de documentación: Como instalar el conector Thunderbird." - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_email_server_tools -msgid "Email Server Tools" -msgstr "Herramientas servidor correo" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Cerrar" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Manual de instalación" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Descripción" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "título" - -#. module: thunderbird -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Thunderbird Plug-In" -msgstr "Conector Thunderbird" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Este conector permite vincular su correo electrónico con documentos OpenERP. " -"Puede adjuntarlo con cualquier elemento de OpenERP o crear uno de nuevo." - -#. module: thunderbird -#: model:ir.module.module,shortdesc:thunderbird.module_meta_information -msgid "Thunderbird Interface" -msgstr "Interfaz Thunderbird" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.instalador" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Nombre fichero" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Pasos de instalación y configuración" - -#. module: thunderbird -#: field:thunderbird.installer,progress:0 -msgid "Configuration Progress" -msgstr "Progreso de la configuración" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: view:thunderbird.installer:0 -msgid "Thunderbird Plug-In Configuration" -msgstr "Configuración conector Thunderbird" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Herramientas conector de Thunderbird" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Configure" -msgstr "Configurar" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Skip" -msgstr "Omitir" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Imagen" - -#. module: thunderbird -#: model:ir.module.module,description:thunderbird.module_meta_information -msgid "" -"\n" -" This module is required for the thuderbird plug-in to work\n" -" properly.\n" -" The Plugin allows you archive email and its attachments to the " -"selected \n" -" OpenERP objects. You can select a partner, a task, a project, an " -"analytical\n" -" account,or any other object and attach selected mail as eml file in \n" -" attachment of selected record. You can create Documents for crm Lead,\n" -" HR Applicant and project issue from selected mails.\n" -"\n" -" " -msgstr "" -"\n" -" Este módulo es necesario para que funcione correctamente el " -"complemento de Thunderbird.\n" -" El complemento le permite archivar correos electrónicos y sus datos " -"adjuntos a los objetos OpenERP seleccionados.\n" -" Puede seleccionar una empresa, una tarea, un proyecto, una cuenta " -"analítica, o cualquier otro objeto\n" -" y adjuntar el correo electrónico seleccionado como fichero .eml en el " -"dato adjunto del registro seleccionado.\n" -" Puede crear documentos para iniciativas CRM, candidato de RRHH y " -"proyectos a partir de los correos electrónicos seleccionados.\n" -"\n" -" " - -#~ msgid "Copy To" -#~ msgstr "Copiar a" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "¡El objeto debe empezar con x_ y no puede contener ningún carácter especial!" - -#~ msgid "Reference" -#~ msgstr "Referencia" - -#~ msgid "Subject" -#~ msgstr "Asunto" - -#~ msgid "Date" -#~ msgstr "Fecha" - -#~ msgid "Receiver" -#~ msgstr "Destinatario" - -#~ msgid "User" -#~ msgstr "Usuario" - -#~ msgid "Attached Files" -#~ msgstr "Archivos Adjuntos" - -#~ msgid "Sender" -#~ msgstr "Remitente" - -#~ msgid "Thunderbid mails" -#~ msgstr "Correo Thunderbid" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Archivar" diff --git a/addons/thunderbird/i18n/es_VE.po b/addons/thunderbird/i18n/es_VE.po deleted file mode 100644 index e1e97accb69..00000000000 --- a/addons/thunderbird/i18n/es_VE.po +++ /dev/null @@ -1,206 +0,0 @@ -# Spanish translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-01-11 11:16+0000\n" -"PO-Revision-Date: 2011-01-13 11:13+0000\n" -"Last-Translator: Borja López Soilán (NeoPolus) <borjalopezsoilan@gmail.com>\n" -"Language-Team: Spanish <es@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-09-05 05:44+0000\n" -"X-Generator: Launchpad (build 13830)\n" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Conector Thunderbird" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Fichero del conector Thunderbird. Guarde este fichero e instale este " -"conector en la aplicación Thunderbird." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Le permite seleccionar un objeto donde añadir su correo electrónico y sus " -"archivos adjuntos." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "El fichero de documentación: Como instalar el conector Thunderbird." - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_email_server_tools -msgid "Email Server Tools" -msgstr "Herramientas servidor correo" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Cerrar" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Manual de instalación" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Descripción" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "título" - -#. module: thunderbird -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Thunderbird Plug-In" -msgstr "Conector Thunderbird" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Este conector permite vincular su correo electrónico con documentos OpenERP. " -"Puede adjuntarlo con cualquier elemento de OpenERP o crear uno de nuevo." - -#. module: thunderbird -#: model:ir.module.module,shortdesc:thunderbird.module_meta_information -msgid "Thunderbird Interface" -msgstr "Interfaz Thunderbird" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.instalador" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Nombre fichero" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Pasos de instalación y configuración" - -#. module: thunderbird -#: field:thunderbird.installer,progress:0 -msgid "Configuration Progress" -msgstr "Progreso de la configuración" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: view:thunderbird.installer:0 -msgid "Thunderbird Plug-In Configuration" -msgstr "Configuración conector Thunderbird" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Herramientas conector de Thunderbird" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Configure" -msgstr "Configurar" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Skip" -msgstr "Omitir" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Imagen" - -#. module: thunderbird -#: model:ir.module.module,description:thunderbird.module_meta_information -msgid "" -"\n" -" This module is required for the thuderbird plug-in to work\n" -" properly.\n" -" The Plugin allows you archive email and its attachments to the " -"selected \n" -" OpenERP objects. You can select a partner, a task, a project, an " -"analytical\n" -" account,or any other object and attach selected mail as eml file in \n" -" attachment of selected record. You can create Documents for crm Lead,\n" -" HR Applicant and project issue from selected mails.\n" -"\n" -" " -msgstr "" -"\n" -" Este módulo es necesario para que funcione correctamente el " -"complemento de Thunderbird.\n" -" El complemento le permite archivar correos electrónicos y sus datos " -"adjuntos a los objetos OpenERP seleccionados.\n" -" Puede seleccionar una empresa, una tarea, un proyecto, una cuenta " -"analítica, o cualquier otro objeto\n" -" y adjuntar el correo electrónico seleccionado como fichero .eml en el " -"dato adjunto del registro seleccionado.\n" -" Puede crear documentos para iniciativas CRM, candidato de RRHH y " -"proyectos a partir de los correos electrónicos seleccionados.\n" -"\n" -" " - -#~ msgid "Copy To" -#~ msgstr "Copiar a" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "¡El objeto debe empezar con x_ y no puede contener ningún carácter especial!" - -#~ msgid "Reference" -#~ msgstr "Referencia" - -#~ msgid "Subject" -#~ msgstr "Asunto" - -#~ msgid "Date" -#~ msgstr "Fecha" - -#~ msgid "Receiver" -#~ msgstr "Destinatario" - -#~ msgid "User" -#~ msgstr "Usuario" - -#~ msgid "Attached Files" -#~ msgstr "Archivos Adjuntos" - -#~ msgid "Sender" -#~ msgstr "Remitente" - -#~ msgid "Thunderbid mails" -#~ msgstr "Correo Thunderbid" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Archivar" diff --git a/addons/thunderbird/i18n/et.po b/addons/thunderbird/i18n/et.po deleted file mode 100644 index 53ada95ca37..00000000000 --- a/addons/thunderbird/i18n/et.po +++ /dev/null @@ -1,143 +0,0 @@ -# Estonian translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2010-05-07 16:33+0000\n" -"Last-Translator: lyyser <Unknown>\n" -"Language-Team: Estonian <et@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:13+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Kirjeldus" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Subject" -#~ msgstr "Subjekt" - -#~ msgid "Copy To" -#~ msgstr "Kopeeri..." - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Objekti nimi peab algama x_'ga ja ei tohi sisaldada ühtegi erisümbolit !" - -#~ msgid "Reference" -#~ msgstr "Viide" - -#~ msgid "Date" -#~ msgstr "Kuupäev" - -#~ msgid "Receiver" -#~ msgstr "Saaja" - -#~ msgid "User" -#~ msgstr "Kasutaja" - -#~ msgid "Attached Files" -#~ msgstr "Lisatud failid" - -#~ msgid "Thunderbid mails" -#~ msgstr "Thunderbid kirjad" - -#~ msgid "Sender" -#~ msgstr "Saatja" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Thunderbird liides" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Arhiiv" diff --git a/addons/thunderbird/i18n/eu.po b/addons/thunderbird/i18n/eu.po deleted file mode 100644 index 7a5fd75656e..00000000000 --- a/addons/thunderbird/i18n/eu.po +++ /dev/null @@ -1,139 +0,0 @@ -# Basque translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2010-10-08 07:34+0000\n" -"Last-Translator: OpenERP Administrators <Unknown>\n" -"Language-Team: Basque <eu@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:13+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Deskribapena" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Copy To" -#~ msgstr "Hona Kopiatu" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Objetuaren izena x_ -z hasi behar da eta ezin ditu karaktere berezirik izan!" - -#~ msgid "Receiver" -#~ msgstr "Jasotzailea" - -#~ msgid "Reference" -#~ msgstr "Erreferentzia" - -#~ msgid "Thunderbid mails" -#~ msgstr "Thunderbird epostak" - -#~ msgid "Subject" -#~ msgstr "Gaia" - -#~ msgid "Date" -#~ msgstr "Data" - -#~ msgid "User" -#~ msgstr "Erabiltzailea" - -#~ msgid "Attached Files" -#~ msgstr "Erantsitako Fitxategiak" - -#~ msgid "Sender" -#~ msgstr "Bidaltzailea" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Thunderbird Interfazea" diff --git a/addons/thunderbird/i18n/fi.po b/addons/thunderbird/i18n/fi.po deleted file mode 100644 index bc040686fde..00000000000 --- a/addons/thunderbird/i18n/fi.po +++ /dev/null @@ -1,130 +0,0 @@ -# Finnish 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: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-08-04 09:45+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Finnish <fi@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:13+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Asennusohje" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Thunderbird liitännäisen työkalut" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Kuvaus" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "otsikko" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "kuva" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Thunderbird liitännäinen" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Tämä liitännäien sallii sinun linkittää sähköpostisi OpenERP dokumentteihin. " -"Voit liittää sen mihin tahansa OpenERP:iin tai luoda uuden." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Voit valita objektin jonka haluat liittää sähköpostiin ja sen liitteisiin." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "Dokumentaatio - kuinka asennat thunderbird liitännäisen" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Sulje" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Asennus ja konfigurointivaiheet" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Tiedostonimi" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Thunderbird liitännäisen tiedosto. Tallenna tämä tiedosto ja asenna se " -"liitännäiseksi thunderbirdissä." - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Email Server Tools" -#~ msgstr "Sähköpostipalvelimen työkalut" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "Thunderbird liitännäinen" - -#~ msgid "Configure" -#~ msgstr "Konfiguroi" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Thunderbird liitäntä" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Thunderbird liitännäisen konfiguraatio" - -#~ msgid "Configuration Progress" -#~ msgstr "Konfiguraation eteneminen" - -#~ msgid "Skip" -#~ msgstr "Ohita" diff --git a/addons/thunderbird/i18n/fr.po b/addons/thunderbird/i18n/fr.po deleted file mode 100644 index f8da46995b8..00000000000 --- a/addons/thunderbird/i18n/fr.po +++ /dev/null @@ -1,170 +0,0 @@ -# French translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-01-17 16:45+0000\n" -"Last-Translator: Aline (OpenERP) <Unknown>\n" -"Language-Team: French <fr@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:13+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Manuel d'installation" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Outillage à greffons pour Thunderbid" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.installer" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Description" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "titre" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Image" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Module pour Thunderbird" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Ce greffon vous permet de connecter votre courriel aux documents d'OpenERP. " -"Vous pouvez l'attacher sur n'importe quel objet existant dans OpenERP ou en " -"créer un nouveau." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Vous permet de sélectionner un objet que vous souhaitez ajouter à votre " -"courriel et ses pièces jointes." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" -"Fichier de la documentation : comment installer le module pour Thunderbird." - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Fermer" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Étapes d'installation et de configuration" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Nom du fichier" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Fichier du module pour Thunderbird. Enregistrer ce fichier sur votre " -"ordinateur et installer ce module dans Thunderbird." - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Copy To" -#~ msgstr "Copier vers" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Le nom de l'objet doit commencer par x_ et ne doit pas contenir de " -#~ "caractères spéciaux !" - -#~ msgid "Reference" -#~ msgstr "Référence" - -#~ msgid "Subject" -#~ msgstr "Objet" - -#~ msgid "Date" -#~ msgstr "Date" - -#~ msgid "Receiver" -#~ msgstr "Destinataire" - -#~ msgid "User" -#~ msgstr "Utilisateur" - -#~ msgid "Attached Files" -#~ msgstr "Fichiers attachés" - -#~ msgid "Sender" -#~ msgstr "Expéditeur" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Archive" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Interface Thunderbird" - -#~ msgid "Configure" -#~ msgstr "Configurer" - -#~ msgid "Configuration Progress" -#~ msgstr "Avancement de la configuration" - -#~ msgid "Thunderbid mails" -#~ msgstr "Courriels Thunderbird" - -#~ msgid "Skip" -#~ msgstr "Passer" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Configuration du module pour Thunderbird" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "Module pour Thunderbird" - -#~ msgid "Email Server Tools" -#~ msgstr "Outils pour le serveur e-mail" diff --git a/addons/thunderbird/i18n/gl.po b/addons/thunderbird/i18n/gl.po deleted file mode 100644 index a1c9eee2d03..00000000000 --- a/addons/thunderbird/i18n/gl.po +++ /dev/null @@ -1,131 +0,0 @@ -# Galician 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: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-05-10 10:38+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Galician <gl@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:13+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Manual de instalación" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Ferramentas conector de Thunderbird" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.instalador" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Descrición" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "título" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Imaxe" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Conector Thunderbird" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Este conector permítelle vincular ó seu correo electrónico con documentos " -"OpenERP. Pódeo achegar á calquera elemento de OpenERP ou crear un novo." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Permítelle seleccionar un obxecto ó que desexe engadir o seu correo " -"electrónico e os arquivos anexos." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "O arquivo de documentación: Como instalar o conector Thunderbird." - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Pechar" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Pasos da instalación e configuración" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Nome do arquivo" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Arquivo do conector Thunderbird. Garde este arquivo e instale este conector " -"na aplicación Thunderbird." - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Email Server Tools" -#~ msgstr "Ferramentas do servidor de correo" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "Conector Thunderbird" - -#~ msgid "Configure" -#~ msgstr "Configurar" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Interface Thunderbird" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Configuración conector Thunderbird" - -#~ msgid "Configuration Progress" -#~ msgstr "Progreso da configuración" - -#~ msgid "Skip" -#~ msgstr "Omitir" diff --git a/addons/thunderbird/i18n/hr.po b/addons/thunderbird/i18n/hr.po deleted file mode 100644 index 70acb31e1cc..00000000000 --- a/addons/thunderbird/i18n/hr.po +++ /dev/null @@ -1,167 +0,0 @@ -# Croatian translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# Drazen Bosak <drazen.bosak@gmail.com>, 2010. -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-12-08 15:55+0000\n" -"Last-Translator: Tomislav Bosnjakovic <Unknown>\n" -"Language-Team: Vinteh\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:14+0000\n" -"X-Generator: Launchpad (build 14560)\n" -"Language: hr\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Priručnik za instalaciju" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Alati Thunderbird plugina" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Opis" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "Naziv" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Slika" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Thunderbird Plug-in" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one.\r\n" -"Ovaj plug-in omogućuje povezivanje vaših el. poruka sa OpenERP dokumentima. " -"Možete dodjeliti neki postojeći u OpenERP-u ili kreirati novi." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Dozvoljava vam da odaberete objekt koji želite dodati vašoj elektroničkoj " -"poruci kao privitak." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "Datoteka s dokumentacijom : Kako instalirati Thunderbird Plug-in." - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Zatvori" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Koraci instalacije i konfiguracije" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Naziv datoteke" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Thunderbird plug-in datoteka. Snimi kako ovu datoteku i instaliraj ovaj plug-" -"in u Thunderbird." - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Naziv Objekta mora početi s x_ i ne smije sadržavati bilo koji posebni znak !" - -#~ msgid "Reference" -#~ msgstr "Referenca" - -#~ msgid "Thunderbid mails" -#~ msgstr "Thunderbird mailovi" - -#~ msgid "Attached Files" -#~ msgstr "Datoteke u privitku" - -#~ msgid "User" -#~ msgstr "Korisnik" - -#~ msgid "Receiver" -#~ msgstr "Primatelj" - -#~ msgid "Date" -#~ msgstr "Datum" - -#~ msgid "Subject" -#~ msgstr "Predmet" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Arhiv" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Sučelje Thunderbirda" - -#~ msgid "Sender" -#~ msgstr "Pošiljatelj" - -#~ msgid "Copy To" -#~ msgstr "Kopiraj na" - -#~ msgid "Email Server Tools" -#~ msgstr "Alati E-mail poslužitelja" - -#~ msgid "Configure" -#~ msgstr "Podešavanje" - -#~ msgid "Skip" -#~ msgstr "Preskoči" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Konfiguracija Thunderbird plug-ina" - -#~ msgid "Configuration Progress" -#~ msgstr "Napredak konfiguracije" diff --git a/addons/thunderbird/i18n/hu.po b/addons/thunderbird/i18n/hu.po deleted file mode 100644 index 3b8fd7cc9f8..00000000000 --- a/addons/thunderbird/i18n/hu.po +++ /dev/null @@ -1,133 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * thunderbird -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 6.0dev\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-01-25 14:44+0000\n" -"Last-Translator: NOVOTRADE RENDSZERHÁZ ( novotrade.hu ) " -"<openerp@novotrade.hu>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:13+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Telepítési útmutató" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Thunderbird kiegészítő eszközök" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.installer" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Leírás" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "cím" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Kép" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Thunderbird kiegészítő" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Ez a plug-in lehetővé teszi, hogy összekapcsoljunk e-maileket OpenERP " -"dokumentumokkal. Akármelyik OpenERP-ben létező dokumentumhoz tudja csatolni, " -"vagy létrehozhat újat." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Lehetővé teszi, hogy kiválasszon egy objektumot, amit csatolni szeretne a " -"leveléhez." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" -"Dokumentációs fájl :- Hogyan kell telepíteni a Thunderbird kiegészítőt." - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Bezárás" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Telepítás és beállítás lépései" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Fájl neve" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Thunderbird kiegészítő fájl. Mentse le a fájlt, majd telepítse a kiegészítőt " -"a Thunderbirdben." - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "Thunderbird kiegészítő" - -#~ msgid "Skip" -#~ msgstr "Kihagyás" - -#~ msgid "Email Server Tools" -#~ msgstr "E-mail kiszolgáló eszközök" - -#~ msgid "Configure" -#~ msgstr "Beállítás" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Thunderbird interfész" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Thunderbird kiegészítő beállítása" - -#~ msgid "Configuration Progress" -#~ msgstr "Beállítási folyamat" diff --git a/addons/thunderbird/i18n/it.po b/addons/thunderbird/i18n/it.po deleted file mode 100644 index 922a884a8de..00000000000 --- a/addons/thunderbird/i18n/it.po +++ /dev/null @@ -1,169 +0,0 @@ -# Italian translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-01-12 15:23+0000\n" -"Last-Translator: OpenERP Administrators <Unknown>\n" -"Language-Team: Italian <it@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:13+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Manuale installazione" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Strumenti plug in di Thunderbird" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.installer" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Descrizione" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "titolo" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Imagine" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Plug-in Thunderbird" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Il plug in permette di collegare le e-mail ai documenti di OpenERP. E' " -"possibile allegarle a documenti già esistenti di OpenERP oppure crearne di " -"nuovi" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Permette di selezionare un oggetto che è possibile aggiungere all'email e ai " -"suoi attachment." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "File documentazione: come installare il plug-in in Thunderbird." - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Close" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Passi di installazione e configurazione" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Nome file" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"File plug-in di Thunderbird. Salva il file e installa questo plug-in in " -"Thunderbird." - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Copy To" -#~ msgstr "Copia a" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Il nome dell'oggetto deve iniziare per x_ e non deve contenere caratteri " -#~ "speciali!" - -#~ msgid "Reference" -#~ msgstr "Riferimento" - -#~ msgid "Subject" -#~ msgstr "Oggetto" - -#~ msgid "Date" -#~ msgstr "Data" - -#~ msgid "Receiver" -#~ msgstr "Destinatario" - -#~ msgid "User" -#~ msgstr "Utente" - -#~ msgid "Attached Files" -#~ msgstr "File Allegati" - -#~ msgid "Sender" -#~ msgstr "Mittente" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Interfaccia Thunderbird" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Archivia" - -#~ msgid "Thunderbid mails" -#~ msgstr "Posta Thunderbid" - -#~ msgid "Email Server Tools" -#~ msgstr "Strumenti server email" - -#~ msgid "Configure" -#~ msgstr "Configura" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Configurazione del Plug-in di Thunderbird" - -#~ msgid "Skip" -#~ msgstr "Salta" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "Plug-In Thunderbird" - -#~ msgid "Configuration Progress" -#~ msgstr "Avanzamento Configurazione" diff --git a/addons/thunderbird/i18n/mn.po b/addons/thunderbird/i18n/mn.po deleted file mode 100644 index de60a7034ab..00000000000 --- a/addons/thunderbird/i18n/mn.po +++ /dev/null @@ -1,144 +0,0 @@ -# Mongolian translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2010-09-29 08:36+0000\n" -"Last-Translator: ub121 <ubs121@gmail.com>\n" -"Language-Team: Mongolian <mn@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:13+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Тодорхойлолт" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Объектын нэрний эхлэл x_ байх ёстой бөгөөд бусад тусгай тэмдэгтийг агуулж " -#~ "болохгүй!" - -#~ msgid "Reference" -#~ msgstr "Ишлэл" - -#~ msgid "Subject" -#~ msgstr "Сэдэв" - -#~ msgid "Date" -#~ msgstr "Огноо" - -#~ msgid "Receiver" -#~ msgstr "Хүлээн авагч" - -#~ msgid "User" -#~ msgstr "Хэрэглэгч" - -#~ msgid "Sender" -#~ msgstr "Илгээгч" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Архив" - -#~ msgid "Copy To" -#~ msgstr "Ийш хуулах:" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Thunderbird интерфэйс" - -#~ msgid "Attached Files" -#~ msgstr "Хавсаргасан файлууд" - -#~ msgid "Thunderbid mails" -#~ msgstr "Thunderbird мэйлүүд" diff --git a/addons/thunderbird/i18n/nl.po b/addons/thunderbird/i18n/nl.po deleted file mode 100644 index 337d739b93c..00000000000 --- a/addons/thunderbird/i18n/nl.po +++ /dev/null @@ -1,130 +0,0 @@ -# Dutch translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-01-25 14:30+0000\n" -"Last-Translator: Stefan Rijnhart (Therp) <Unknown>\n" -"Language-Team: Dutch <nl@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:13+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Installatiehandleiding" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Thunderbid Plugin Tools" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.installer" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Omschrijving" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "titel" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Afbeelding" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Thunderbird-plugin" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Deze plug-in laat u uw email koppelen aan OpenERP's documenten. U kunt het " -"bij elke bestaande in OpenERP bijvoegen en een nieuwe maken." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Laat u een object selecteren waaraan u uw mail en bijlagen wilt toevoegen." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "Het documentatiebestand: Hoe de Thunderbird-plugin te installeren." - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Sluiten" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Installatie- en configuratiestappen" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Bestandsnaam" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Thunderbird plug-in bestand. Sla dit bestand op en installeer deze plug-in " -"in Thunderbird" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Skip" -#~ msgstr "Overslaan" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Instelling(en) Thunderbird-plugin" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "Thunderbird-plugin" - -#~ msgid "Email Server Tools" -#~ msgstr "Email Server Tools" - -#~ msgid "Configure" -#~ msgstr "Configureren" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Thunderbird Interface" - -#~ msgid "Configuration Progress" -#~ msgstr "Configuratievoortgang" diff --git a/addons/thunderbird/i18n/pl.po b/addons/thunderbird/i18n/pl.po deleted file mode 100644 index a390660d41d..00000000000 --- a/addons/thunderbird/i18n/pl.po +++ /dev/null @@ -1,141 +0,0 @@ -# Polish translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2010-08-22 05:50+0000\n" -"Last-Translator: OpenERP Administrators <Unknown>\n" -"Language-Team: Polish <pl@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:14+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Opis" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Copy To" -#~ msgstr "Kopia do" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Nazwa obiektu musi zaczynać się od x_ oraz nie może zawierać znaków " -#~ "specjalnych !" - -#~ msgid "Date" -#~ msgstr "Data" - -#~ msgid "Reference" -#~ msgstr "Odniesienie" - -#~ msgid "Subject" -#~ msgstr "Temat" - -#~ msgid "Receiver" -#~ msgstr "Odbiorca" - -#~ msgid "User" -#~ msgstr "Użytkownik" - -#~ msgid "Attached Files" -#~ msgstr "Załączone pliki" - -#~ msgid "Sender" -#~ msgstr "Nadawca" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Interfejs Thunderbird" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Archiwum" diff --git a/addons/thunderbird/i18n/pt.po b/addons/thunderbird/i18n/pt.po deleted file mode 100644 index ea44bd181b5..00000000000 --- a/addons/thunderbird/i18n/pt.po +++ /dev/null @@ -1,140 +0,0 @@ -# Portuguese translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-01-20 09:58+0000\n" -"Last-Translator: Tiago Baptista <Unknown>\n" -"Language-Team: Portuguese <pt@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:14+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Manual de Instalação" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Plugin Thunderbird" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.installer" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Descrição" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "título" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Imagem" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Plug-in para o Thunderbird" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Este plug-in permite ligar documentos OpenERP ao seu e-mail. Pode ligar um e-" -"mail a um objecto OpenERP já existente ou poderá criar um novo." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Permite seleccionar um objecto que pretende adicionar ao e-mail como anexo." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" -"Ficheiro de documentação :- como instalar o 'plug-in' para o Thunderbird" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Fechar" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Instalação e passos da configuração" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Nome do ficheiro" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Ficheiro do 'plug-in' para o Thunderbird. Guarde este ficheiro e instale " -"este 'plug-in' no Thunderbird." - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "O nome do Objecto deve começar com x_ e não pode conter nenhum caracter " -#~ "especial !" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Interface do Thunderbird" - -#~ msgid "Configure" -#~ msgstr "Configurar" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "'Plug-in' para o Thunderbird" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Configuração do 'plug-in' para o Thunderbird" - -#~ msgid "Skip" -#~ msgstr "Ignorar" - -#~ msgid "Configuration Progress" -#~ msgstr "Processo de configuração" - -#~ msgid "Email Server Tools" -#~ msgstr "Ferramentas do servidor de correio" - -#~ msgid "Thunderbid mails" -#~ msgstr "Correio do Thunderbird" diff --git a/addons/thunderbird/i18n/pt_BR.po b/addons/thunderbird/i18n/pt_BR.po deleted file mode 100644 index 92988881fc0..00000000000 --- a/addons/thunderbird/i18n/pt_BR.po +++ /dev/null @@ -1,139 +0,0 @@ -# Brazilian Portuguese translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-01-16 23:30+0000\n" -"Last-Translator: Emerson <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: 2011-12-23 07:14+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Manual de instalação" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Ferramentas de Plugin do Thunderbird" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.instalador" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Descrição" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "Título" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Imagem" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Plug-in Thunderbird" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Este plug-in permite que você relacione o seu email aos documentos do " -"OpenERP. Você pode anexar em qualquer documento do OpenERP ou criar um novo." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Permite que você selecione um objeto para adicionar no seu email com anexos." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "O arquivo de documentação :- como instalar o Plug-in do Thunderbird." - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "Fe_char" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Instalação e Passos de Configuração" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Nome do arquivo" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Arquivo plug-in do Thunderbird. Salve este arquivo e instale este plug-in no " -"Thunderbird." - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "O nome do objeto precisa iniciar com x_ e não pode conter nenhum caracter " -#~ "especial!" - -#~ msgid "Email Server Tools" -#~ msgstr "Ferramentas do Servidor de Email" - -#~ msgid "Configure" -#~ msgstr "Configurar" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Interface do Thunderbird" - -#~ msgid "Thunderbid mails" -#~ msgstr "Emails do Thunderbird" - -#~ msgid "Configuration Progress" -#~ msgstr "Configuração em Progresso" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "Plug-in Thunderbird" - -#~ msgid "Skip" -#~ msgstr "Pular" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Configuração do Plug-in no Thunderbird" diff --git a/addons/thunderbird/i18n/ru.po b/addons/thunderbird/i18n/ru.po deleted file mode 100644 index 73802116dd2..00000000000 --- a/addons/thunderbird/i18n/ru.po +++ /dev/null @@ -1,169 +0,0 @@ -# Russian translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-03-09 16:00+0000\n" -"Last-Translator: Alexey Y. Fedotov <Unknown>\n" -"Language-Team: Russian <ru@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:14+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Руководство по установке" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Инструменты дополнения Thunderbird" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.installer" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Описание" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "заголовок" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Изображение" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Дополнение для Thunderbird" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Этот плагин позволяет связывать ваши электронные письма с документами " -"OpenERP. Вы можете прикрепить их к любому существующему документу или " -"создать новый." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Позволяет выбрать объект, который вы хотели бы добавить в электронное письмо " -"и приложения к нему." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "Файл документации: как установить плагин для Thunderbird." - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Закрыть" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Шаги установки и настойки" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Имя файла" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Файл, содержащий дополнение для Thunderbird. Сохраните этот файл и " -"установите его как дополнение для Thunderbird." - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Copy To" -#~ msgstr "Копировать в" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Название объекта должно начинаться с x_ и не должно содержать специальных " -#~ "символов !" - -#~ msgid "Reference" -#~ msgstr "Поля и параметры" - -#~ msgid "Subject" -#~ msgstr "Тема" - -#~ msgid "Date" -#~ msgstr "Дата" - -#~ msgid "Receiver" -#~ msgstr "Получатель" - -#~ msgid "User" -#~ msgstr "Пользователь" - -#~ msgid "Attached Files" -#~ msgstr "Вложенные файлы" - -#~ msgid "Sender" -#~ msgstr "Отправитель" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Архив" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Интерфейс Thunderbid" - -#~ msgid "Thunderbid mails" -#~ msgstr "Письма Thunderbid" - -#~ msgid "Skip" -#~ msgstr "Пропустить" - -#~ msgid "Email Server Tools" -#~ msgstr "Инструменты почтового сервера" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "Дополнение для Thunderbird" - -#~ msgid "Configure" -#~ msgstr "Настроить" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Настройка дополнения Thunderbird" - -#~ msgid "Configuration Progress" -#~ msgstr "Выполнение настройки" diff --git a/addons/thunderbird/i18n/sk.po b/addons/thunderbird/i18n/sk.po deleted file mode 100644 index 653acace65d..00000000000 --- a/addons/thunderbird/i18n/sk.po +++ /dev/null @@ -1,143 +0,0 @@ -# Slovak translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2010-03-05 23:50+0000\n" -"Last-Translator: Peter Kohaut <peter.kohaut@gmail.com>\n" -"Language-Team: Slovak <sk@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:14+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Popis" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Copy To" -#~ msgstr "Kopírovať do" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Názov objektu musí začínať x_ a nesmie obsahovať žiadne špeciálne znaky!" - -#~ msgid "Subject" -#~ msgstr "Predmet" - -#~ msgid "Date" -#~ msgstr "Dátum" - -#~ msgid "Receiver" -#~ msgstr "Príjemca" - -#~ msgid "Attached Files" -#~ msgstr "Prílohy" - -#~ msgid "Sender" -#~ msgstr "Odosielateľ" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Thunderbird rozhranie" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Archív" - -#~ msgid "User" -#~ msgstr "Používateľ" - -#~ msgid "Thunderbid mails" -#~ msgstr "Thunderbird maily" - -#~ msgid "Reference" -#~ msgstr "Odkaz" diff --git a/addons/thunderbird/i18n/sl.po b/addons/thunderbird/i18n/sl.po deleted file mode 100644 index c8605074eb5..00000000000 --- a/addons/thunderbird/i18n/sl.po +++ /dev/null @@ -1,167 +0,0 @@ -# Slovenian translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2010-01-27 14:25+0000\n" -"Last-Translator: Simon Vidmar <Unknown>\n" -"Language-Team: Slovenian <sl@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:14+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Navodila za namestitev" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Configuration Vtičnik Orodja" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.namestitev" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Opis" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "naslov" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Slika" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Thunderbird vtičnik" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Ta vtičnik dovoli povezati vaš poštni naslov z OpenERP dokumeti. Lahko " -"pripnete v kateri kolio obstoječi v OpenErp ali pa kerirate novega." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" -"Omogoča vam, da izberete predmet, ki bi želeli dodati na svoj email kot " -"prilogo." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "Dokumentaciska datoteka :- kako namestiti Thunderbird vtičnik." - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Zapri" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Instlaciski in Konfiguraciski Postopki" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Ime datoteke" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Thunderbird vtičnik datoteka. Shrani datoteko in namesti vtičnik v " -"thunderbird." - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Copy To" -#~ msgstr "Kopiraj v" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Naziv objekta se mora začeti z 'x_' in ne sme vsebovati posebnih znakov!" - -#~ msgid "Reference" -#~ msgstr "Sklic" - -#~ msgid "Subject" -#~ msgstr "Zadeva" - -#~ msgid "Date" -#~ msgstr "Datum" - -#~ msgid "Receiver" -#~ msgstr "Prejemnik" - -#~ msgid "User" -#~ msgstr "Uporabnik" - -#~ msgid "Attached Files" -#~ msgstr "Pripete datoteke" - -#~ msgid "Thunderbid mails" -#~ msgstr "Sporočila Thunderbird" - -#~ msgid "Sender" -#~ msgstr "Pošiljatelj" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Vmesnik Thunderbird" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Arhiv" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "Thunderbird Vtičnik" - -#~ msgid "Configure" -#~ msgstr "Nastavitve" - -#~ msgid "Configuration Progress" -#~ msgstr "Potek konfiguracije" - -#~ msgid "Skip" -#~ msgstr "Preskoči" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Thunderbird Vtičnik Nastavitve" - -#~ msgid "Email Server Tools" -#~ msgstr "Email Stežniška Orodja" diff --git a/addons/thunderbird/i18n/sr.po b/addons/thunderbird/i18n/sr.po deleted file mode 100644 index 134acd61ccd..00000000000 --- a/addons/thunderbird/i18n/sr.po +++ /dev/null @@ -1,143 +0,0 @@ -# Serbian translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2010-07-21 07:40+0000\n" -"Last-Translator: novta <Unknown>\n" -"Language-Team: Serbian <sr@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:14+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Opis" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Copy To" -#~ msgstr "Kopiraj u" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Ime objekta mora da počne sa x_ i ne sme da sadrži specijalne karaktere !" - -#~ msgid "Date" -#~ msgstr "Datum" - -#~ msgid "Reference" -#~ msgstr "Referenca" - -#~ msgid "Subject" -#~ msgstr "Tema" - -#~ msgid "Receiver" -#~ msgstr "Primalac" - -#~ msgid "User" -#~ msgstr "Korisnik" - -#~ msgid "Attached Files" -#~ msgstr "Prikačeni fajlovi" - -#~ msgid "Thunderbid mails" -#~ msgstr "Thunderbird pisma" - -#~ msgid "Sender" -#~ msgstr "Pošiljalac" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Thunderbird interfejs" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Arhiva" diff --git a/addons/thunderbird/i18n/sr@latin.po b/addons/thunderbird/i18n/sr@latin.po deleted file mode 100644 index 5e3e57a3055..00000000000 --- a/addons/thunderbird/i18n/sr@latin.po +++ /dev/null @@ -1,143 +0,0 @@ -# Serbian translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2010-12-23 15:05+0000\n" -"Last-Translator: Olivier Dony (OpenERP) <Unknown>\n" -"Language-Team: Serbian <sr@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:14+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Opis" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "" -#~ "Ime objekta mora da počne sa x_ i ne sme da sadrži specijalne karaktere !" - -#~ msgid "Thunderbid mails" -#~ msgstr "Thunderbird pisma" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Thunderbird interfejs" - -#~ msgid "Copy To" -#~ msgstr "Kopiraj u" - -#~ msgid "Date" -#~ msgstr "Datum" - -#~ msgid "Reference" -#~ msgstr "Referenca" - -#~ msgid "Subject" -#~ msgstr "Tema" - -#~ msgid "Receiver" -#~ msgstr "Primalac" - -#~ msgid "User" -#~ msgstr "Korisnik" - -#~ msgid "Attached Files" -#~ msgstr "Prikačeni fajlovi" - -#~ msgid "Sender" -#~ msgstr "Pošiljalac" - -#, python-format -#~ msgid "Archive" -#~ msgstr "Arhiva" diff --git a/addons/thunderbird/i18n/thunderbird.pot b/addons/thunderbird/i18n/thunderbird.pot deleted file mode 100644 index 502cda13312..00000000000 --- a/addons/thunderbird/i18n/thunderbird.pot +++ /dev/null @@ -1,97 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * thunderbird -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 6.1beta\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-12-22 18:46+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: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "This plug-in allows you to link your e-mail to OpenERP's documents. You can attach it to any existing one in OpenERP or create a new one." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "Allows you to select an object that you would like to add to your email and its attachments." -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "Thunderbird plug-in file. Save as this file and install this plug-in in thunderbird." -msgstr "" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - diff --git a/addons/thunderbird/i18n/tr.po b/addons/thunderbird/i18n/tr.po deleted file mode 100644 index a8c0993bdaf..00000000000 --- a/addons/thunderbird/i18n/tr.po +++ /dev/null @@ -1,130 +0,0 @@ -# Turkish 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: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-02-08 21:41+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Turkish <tr@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:14+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "Kurulum Kılavuzu" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Thunderbird Eklenti Araçları" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.installer" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "Açıklama" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "başlık" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "Resim" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Thunderbird Eklentisi" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "" -"Bu eklenti e-posta adresinizi OpenERP dökümanlarına eklemenizi sağlar. " -"Varolan bir belgeye iliştirebileceğiniz gibi yaratacağınız yeni bir belgede " -"de kullanabilirsiniz." - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "İstediğiniz bir nesneyi e-postanıza ve ekine eklemenizi sağlar." - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "Dökümantasyon Dosyası: -Thunderbird eklentisi nasıl kurulur" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "_Kapat" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "Yükleme ve Yapılandırma Adımları" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "Dosya adı" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "" -"Thunderbird eklenti dosyası. Dosya olarak saklayın ve eklentiyi thunderbird " -"e kurun." - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Email Server Tools" -#~ msgstr "Eposta Sunucusu Araçları" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "Thunderbird Eklentisi" - -#~ msgid "Configure" -#~ msgstr "Yapılandır" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Thunderbird Arayüzü" - -#~ msgid "Skip" -#~ msgstr "Atla" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Thunderbird Eklentisi Ayarları" - -#~ msgid "Configuration Progress" -#~ msgstr "Yapılandırma gidişatı" diff --git a/addons/thunderbird/i18n/zh_CN.po b/addons/thunderbird/i18n/zh_CN.po deleted file mode 100644 index 286b18d7cd6..00000000000 --- a/addons/thunderbird/i18n/zh_CN.po +++ /dev/null @@ -1,160 +0,0 @@ -# Chinese (Simplified) translation for openobject-addons -# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-12-22 18:46+0000\n" -"PO-Revision-Date: 2011-01-13 17:58+0000\n" -"Last-Translator: Wei \"oldrev\" Li <oldrev@gmail.com>\n" -"Language-Team: Chinese (Simplified) <zh_CN@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-12-23 07:14+0000\n" -"X-Generator: Launchpad (build 14560)\n" - -#. module: thunderbird -#: field:thunderbird.installer,pdf_file:0 -msgid "Installation Manual" -msgstr "安装手册" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_partner -msgid "Thunderbid Plugin Tools" -msgstr "Thunderbird 插件工具" - -#. module: thunderbird -#: model:ir.model,name:thunderbird.model_thunderbird_installer -msgid "thunderbird.installer" -msgstr "thunderbird.installer" - -#. module: thunderbird -#: field:thunderbird.installer,description:0 -msgid "Description" -msgstr "描述" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "title" -msgstr "标题" - -#. module: thunderbird -#: field:thunderbird.installer,config_logo:0 -msgid "Image" -msgstr "图像" - -#. module: thunderbird -#: field:thunderbird.installer,plugin_file:0 -#: field:thunderbird.installer,thunderbird:0 -msgid "Thunderbird Plug-in" -msgstr "Thunderbird 插件" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "" -"This plug-in allows you to link your e-mail to OpenERP's documents. You can " -"attach it to any existing one in OpenERP or create a new one." -msgstr "这插件允许你把你的电子邮件链接到系统的文档到中,你能附属在系统中任何现有的文档或创建一个新的文档。" - -#. module: thunderbird -#: help:thunderbird.installer,thunderbird:0 -msgid "" -"Allows you to select an object that you would like to add to your email and " -"its attachments." -msgstr "允许你选择一个你想链接到你电子邮件和它的附件的对象" - -#. module: thunderbird -#: help:thunderbird.installer,pdf_file:0 -msgid "The documentation file :- how to install Thunderbird Plug-in." -msgstr "文件 :- 如何安装 Thunderbird 插件。" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "_Close" -msgstr "关闭(_C)" - -#. module: thunderbird -#: view:thunderbird.installer:0 -msgid "Installation and Configuration Steps" -msgstr "安装和设置步骤" - -#. module: thunderbird -#: field:thunderbird.installer,name:0 -#: field:thunderbird.installer,pdf_name:0 -msgid "File name" -msgstr "文件名" - -#. module: thunderbird -#: help:thunderbird.installer,plugin_file:0 -msgid "" -"Thunderbird plug-in file. Save as this file and install this plug-in in " -"thunderbird." -msgstr "Thunderbird 插件。存为文件并在 Thunderbird 里安装这个插件。" - -#. module: thunderbird -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_installer -#: model:ir.actions.act_window,name:thunderbird.action_thunderbird_wizard -#: model:ir.ui.menu,name:thunderbird.menu_base_config_plugins_thunderbird -#: view:thunderbird.installer:0 -msgid "Install Thunderbird Plug-In" -msgstr "" - -#~ msgid "Reference" -#~ msgstr "参考" - -#~ msgid "Copy To" -#~ msgstr "复制到" - -#~ msgid "" -#~ "The Object name must start with x_ and not contain any special character !" -#~ msgstr "对象名必须是以x_开头并且不能含有特殊字符" - -#~ msgid "Subject" -#~ msgstr "主题" - -#~ msgid "Date" -#~ msgstr "日期" - -#~ msgid "Receiver" -#~ msgstr "收件人" - -#~ msgid "User" -#~ msgstr "用户" - -#~ msgid "Attached Files" -#~ msgstr "添加附件" - -#~ msgid "Sender" -#~ msgstr "发件人" - -#~ msgid "Thunderbird Interface" -#~ msgstr "Thunderbird接口" - -#, python-format -#~ msgid "Archive" -#~ msgstr "存档" - -#~ msgid "Thunderbid mails" -#~ msgstr "Thunderbid邮件" - -#~ msgid "Configure" -#~ msgstr "设置" - -#~ msgid "Thunderbird Plug-In Configuration" -#~ msgstr "Thunderbird 插件设置" - -#~ msgid "Thunderbird Plug-In" -#~ msgstr "Thunderbird 插件" - -#~ msgid "Email Server Tools" -#~ msgstr "邮件服务器工具" - -#~ msgid "Configuration Progress" -#~ msgstr "设置进度" - -#~ msgid "Skip" -#~ msgstr "忽略" diff --git a/addons/thunderbird/installer.py b/addons/thunderbird/installer.py deleted file mode 100644 index 4cbcec9fff0..00000000000 --- a/addons/thunderbird/installer.py +++ /dev/null @@ -1,72 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). -# -# 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 fields -from osv import osv - -import base64 -import addons - -class thunderbird_installer(osv.osv_memory): - _name = 'thunderbird.installer' - _inherit = 'res.config.installer' - - def default_get(self, cr, uid, fields, context=None): - data = super(thunderbird_installer, self).default_get(cr, uid, fields, context) - data['pdf_file'] = 'http://doc.openerp.com/book/2/2_6_Comms/2_6_Comms_thunderbird.html' - file = open(addons.get_module_resource('thunderbird','plugin', 'openerp_plugin.xpi'),'rb') - data['plugin_file'] = base64.encodestring(file.read()) - return data - - _columns = { - 'name':fields.char('File name', size=34), - 'pdf_name':fields.char('File name', size=64), - 'thunderbird':fields.boolean('Thunderbird Plug-in', help="Allows you to select an object that you would like to add to your email and its attachments."), - 'plugin_file':fields.binary('Thunderbird Plug-in', readonly=True, help="Thunderbird plug-in file. Save as this file and install this plug-in in thunderbird."), - 'pdf_file':fields.char('Installation Manual', size=264, help="The documentation file :- how to install Thunderbird Plug-in.", readonly=True), - 'description':fields.text('Description', readonly=True) - } - - _defaults = { - 'thunderbird' : True, - 'name' : 'openerp_plugin.xpi', - 'description' : """ -Thunderbird plugin installation: - 1. Save the Thunderbird plug-in. - 2. From the menu bar of Thunderbird, open Tools > Add-ons. - 3. Click "Install". - 4. Select the plug-in (the file named openerp_plugin.xpi). - 5. Click "Install Now". - 6. Restart Thunderbird. - -Configure OpenERP in Thunderbird: - 1. Go to Tools > OpenERP Configuration. - 2. Check the data (configured by default). - 3. Click "Connect". - 4. A message appears with the state of your connection. - 5. If the connection fails, check if your database is opened, and check the data again. - 6. If the connection succeeds, start to archive e-mails in OpenERP. -""" - } - -thunderbird_installer() - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/thunderbird/partner/__init__.py b/addons/thunderbird/partner/__init__.py deleted file mode 100644 index 5583bc0e78a..00000000000 --- a/addons/thunderbird/partner/__init__.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). -# -# 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 partner - - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/thunderbird/partner/partner.py b/addons/thunderbird/partner/partner.py deleted file mode 100644 index 3ce48281de7..00000000000 --- a/addons/thunderbird/partner/partner.py +++ /dev/null @@ -1,285 +0,0 @@ -# -*- coding: utf-8 -*-
-##############################################################################
-#
-# OpenERP, Open Source Management Solution
-# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
-#
-# 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
-import base64
-import email
-import tools
-from tools.translate import _
-
-class thunderbird_partner(osv.osv_memory):
- _name = "thunderbird.partner"
- _description="Thunderbid Plugin Tools"
-
- def create_contact(self,cr,user,vals):
- dictcreate = dict(vals)
- # Set False value if 'undefined' for record. Id User does not spicify the values, Thunerbird set 'undefined' by default for new contact.
- for key in dictcreate:
- if dictcreate[key] == 'undefined':
- dictcreate[key] = False
- if not eval(dictcreate.get('partner_id')):
- dictcreate.update({'partner_id': False})
- create_id = self.pool.get('res.partner.address').create(cr, user, dictcreate)
- return create_id
-
- def history_message(self, cr, uid, vals):
- dictcreate = dict(vals)
- ref_ids = str(dictcreate.get('ref_ids')).split(';')
- msg = dictcreate.get('message')
- mail = msg
- mail_message = self.pool.get('mail.message')
- msg = mail_message.parse_message(msg)
- subject = msg.get('Subject', False)
- thread_pool = self.pool.get('mail.thread')
- message_id = msg.get('message-id', False)
- msg_ids = []
- res = {}
- res_ids = []
- obj_list= ['crm.lead','project.issue','hr.applicant','res.partner']
- for ref_id in ref_ids:
- ref = ref_id.split(',')
- model = ref[0]
- res_id = int(ref[1])
- if message_id:
- msg_ids = mail_message.search(cr, uid, [('message_id','=',message_id),('res_id','=',res_id),('model','=',model)])
- if msg_ids and len(msg_ids):
- continue
- if model not in obj_list:
- res={}
- obj_attch = self.pool.get('ir.attachment')
- ls = ['*', '/', '\\', '<', '>', ':', '?', '"', '|', '\t', '\n',':','~']
- sub = msg.get('subject','NO-SUBJECT').replace(' ','')
- if sub.strip() == '':
- sub = 'NO SBUJECT'
- fn = sub
- for c in ls:
- fn = fn.replace(c,'')
- if len(fn) > 64:
- l = 64 - len(fn)
- f = fn.split('-')
- fn = '-'.join(f[1:])
- if len(fn) > 64:
- l = 64 - len(fn)
- f = fn.split('.')
- fn = f[0][0:l] + '.' + f[-1]
- fn = fn[:-4]+'.eml'
- res['res_model'] = model
- res['name'] = msg.get('subject','NO-SUBJECT')+".eml"
- res['datas_fname'] = fn
- res['datas'] = base64.b64encode(mail)
- res['res_id'] = res_id
- obj_attch.create(cr, uid, res)
- threads = self.pool.get(model).browse(cr, uid, res_id)
-
- thread_pool.message_append(cr, uid,
- [threads],
- subject = msg.get('subject'),
- details = msg.get('body_text'),
- email_to = msg.get('to'),
- email_from = msg.get('from'),
- email_cc = msg.get('cc'),
- message_id = msg.get('message-id'),
- references = msg.get('references', False) or msg.get('in-reply-to', False),
- attachments = msg.get('attachments', {}),
- email_date = msg.get('date'),
- body_html= msg.get('body_html'),
- subtype = msg.get('subtype'),
- headers = msg.get('headers'),
- reply_to = msg.get('reply'))
- res_ids.append(res_id)
- return len(res_ids)
-
- def process_email(self, cr, uid, vals):
- dictcreate = dict(vals)
- model = str(dictcreate.get('model'))
- message = dictcreate.get('message')
- return self.pool.get('mail.thread').message_process(cr, uid, model, message)
-
- def search_message(self, cr, uid, message, context=None):
- #@param message: string of mail which is read from EML File
- #@return model,res_id
- references = []
- dictcreate = dict(message)
- msg = dictcreate.get('message')
- msg = self.pool.get('mail.message').parse_message(msg)
- message_id = msg.get('message-id')
- refs = msg.get('references',False)
- references = False
- if refs:
- references = refs.split()
- mail_message = self.pool.get('mail.message')
- model = ''
- res_id = 0
- if message_id:
- msg_ids = mail_message.search(cr, uid, [('message_id','=',message_id)])
- if msg_ids and len(msg_ids):
- msg = mail_message.browse(cr, uid, msg_ids[0])
- model = msg.model
- res_id = msg.res_id
- else:
- if references :
- msg_ids = mail_message.search(cr, uid, [('message_id','in',references)])
- if msg_ids and len(msg_ids):
- msg = mail_message.browse(cr, uid, msg_ids[0])
- model = msg.model
- res_id = msg.res_id
- return (model,res_id)
-
-
- def search_contact(self, cr, user, email):
- address_pool = self.pool.get('res.partner.address')
- address_ids = address_pool.search(cr, user, [('email','=',email)])
- res = {}
-
- if not address_ids:
- res = {
- 'email': '',
- }
- else:
- address_id = address_ids[0]
- address = address_pool.browse(cr, user, address_id)
- res = {
- 'partner_name': address.partner_id and address.partner_id.name or '',
- 'contactname': address.name,
- 'street': address.street or '',
- 'street2': address.street2 or '',
- 'zip': address.zip or '',
- 'city': address.city or '',
- 'country': address.country_id and address.country_id.name or '',
- 'state': address.state_id and address.state_id.name or '',
- 'email': address.email or '',
- 'phone': address.phone or '',
- 'mobile': address.mobile or '',
- 'fax': address.fax or '',
- 'partner_id': address.partner_id and str(address.partner_id.id) or '',
- 'res_id': str(address.id),
- }
- return res.items()
-
- def update_contact(self, cr, user, vals):
- dictcreate = dict(vals)
- res_id = dictcreate.get('res_id',False)
- result = {}
- address_pool = self.pool.get('res.partner.address')
- if not (dictcreate.get('partner_id')): # TOCHECK: It should be check res_id or not
- dictcreate.update({'partner_id': False})
- create_id = address_pool.create(cr, user, dictcreate)
- return create_id
-
- if res_id:
- address_data = address_pool.read(cr, user, int(res_id), [])
- result = {
- 'partner_id': address_data['partner_id'] and address_data['partner_id'][0] or False, #TOFIX: parter_id should take from address_data
- 'country_id': dictcreate['country_id'] and int(dictcreate['country_id'][0]) or False,
- 'state_id': dictcreate['state_id'] and int(dictcreate['state_id'][0]) or False,
- 'name': dictcreate['name'],
- 'street': dictcreate['street'],
- 'street2': dictcreate['street2'],
- 'zip': dictcreate['zip'],
- 'city': dictcreate['city'],
- 'phone': dictcreate['phone'],
- 'fax': dictcreate['fax'],
- 'mobile': dictcreate['mobile'],
- 'email': dictcreate['email'],
- }
- address_pool.write(cr, user, int(res_id), result )
- return True
-
- def create_partner(self,cr,user,vals):
- dictcreate = dict(vals)
- partner_obj = self.pool.get('res.partner')
- search_id = partner_obj.search(cr, user,[('name','=',dictcreate['name'])])
- if search_id:
- return 0
- create_id = partner_obj.create(cr, user, dictcreate)
- return create_id
-
- def search_document(self,cr,user,vals):
- dictcreate = dict(vals)
- search_id = self.pool.get('ir.model').search(cr, user,[('model','=',dictcreate['model'])])
- return (search_id and search_id[0]) or 0
-
- def search_checkbox(self,cr,user,vals):
- if vals[0]:
- value = vals[0][0]
- if vals[1]:
- obj = vals[1];
- name_get=[]
- er_val=[]
- for object in obj:
- dyn_object = self.pool.get(object)
- if object == 'res.partner.address':
- search_id1 = dyn_object.search(cr,user,[('name','ilike',value)])
- search_id2 = dyn_object.search(cr,user,[('email','=',value)])
- if search_id1:
- name_get.append(object)
- name_get.append(dyn_object.name_get(cr, user, search_id1))
- elif search_id2:
- name_get.append(object)
- name_get.append(dyn_object.name_get(cr, user, search_id2))
- else:
- try:
- search_id1 = dyn_object.search(cr,user,[('name','ilike',value)])
- if search_id1:
- name_get.append(object)
- name_get.append(dyn_object.name_get(cr, user, search_id1))
- except:
- er_val.append(object)
- continue
- if len(er_val) > 0:
- name_get.append('error')
- name_get.append(er_val)
- return name_get
- def list_alldocument(self,cr,user,vals):
- obj_list= [('crm.lead','CRM Lead'),('project.issue','Project Issue'), ('hr.applicant','HR Applicant')]
- object=[]
- model_obj = self.pool.get('ir.model')
- for obj in obj_list:
- if model_obj.search(cr, user, [('model', '=', obj[0])]):
- object.append(obj)
- return object
-
- def list_allcountry(self,cr,user,vals):
- country_list = []
- cr.execute("SELECT id, name from res_country order by name")
- country_list = cr.fetchall()
- return country_list
-
-
- def list_allstate(self,cr,user,vals):
- cr.execute("select id, name from res_country_state where country_id = %s order by name",(vals,) )
- state_country_list = cr.fetchall()
- return state_country_list
-
-
- def search_document_attachment(self,cr,user,vals):
- model_obj = self.pool.get('ir.model')
- object=''
- for obj in vals[0][1].split(','):
- if model_obj.search(cr, user, [('model', '=', obj)]):
- object += obj + ","
- else:
- object += "null,"
- return object
-
-thunderbird_partner()
- -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/thunderbird/plugin/openerp_plugin.xpi b/addons/thunderbird/plugin/openerp_plugin.xpi Binary files differdeleted file mode 100644 index 167e7c589a5..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin.xpi +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome.manifest b/addons/thunderbird/plugin/openerp_plugin/chrome.manifest deleted file mode 100644 index 5fa9c2f5754..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome.manifest +++ /dev/null @@ -1,5 +0,0 @@ -content openerp_plugin jar:chrome/openerp_plugin.jar!/content/ -overlay chrome://messenger/content/messenger.xul chrome://openerp_plugin/content/overlay.xul -locale openerp_plugin en-US jar:chrome/openerp_plugin.jar!/locale/en-US/ -skin openerp_plugin classic/1.0 jar:chrome/openerp_plugin.jar!/skin/ -#style chrome://global/content/customizeToolbar.xul chrome://openerp_plugin/skin/overlay.css diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar Binary files differdeleted file mode 100644 index 0d4cc3a4018..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/address.xul b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/address.xul deleted file mode 100644 index 9d39e4c5cfc..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/address.xul +++ /dev/null @@ -1,110 +0,0 @@ -<?xml version="1.0"?> -<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> -<!DOCTYPE window SYSTEM "chrome://openerp_plugin/locale/address.dtd"> -<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" - xmlns:html="http://www.w3.org/1999/xhtml" - title="&title.label;" onload="myPrefObserver.createContactAddress();" height="480" width="764"> - -<script type="text/javascript" src="chrome://openerp_plugin/content/tiny_xmlrpc.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/config.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/loaddata.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/static.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/overlay.js"></script> - -<tabpanel id="contact"> - <groupbox id="contact" style="border:1px solid black" width="752"> - <separator class="groove-thin" orient="horizontal" width="94"/> - <hbox> - <label align="right" id="emailid" value="&emailid.value;" width="94" /> - <textbox id="txtemail" width="268" align="right"/> - <spacer width="5"/> - <button label="&create.label;" accesskey="r" image="&imagecreate.value;" oncommand="Create.onMenuItemCommand(event);"/> - <button label="&bsearch.label;" oncommand="searchContactdetail();" image="&imagesearch.value;"/> - </hbox> - <hbox> - <label align="right" id="name" value="&name.value;" width="80" /> - <textbox id="txtselectpartner" align="right" width="270" readonly="true"/> - <spacer width="5"/> - </hbox> - <separator class="groove-thin" orient="horizontal" width="94"/> - </groupbox> -</tabpanel> -<separator class="groove-thin" orient="horizontal" width="94"/> -<tabpanel id="address"> - <groupbox id="address" style="border:1px solid black"> - <hbox > - <caption label="&postaladdress.value;" /> - </hbox> - <separator class="groove-thin" orient="horizontal" width="94"/> - <hbox> - <label align="right" id="contactname" value="&contactname.value;" width="80" /> - <textbox id="txtcontactname" align="right" width="270" /> - </hbox> - - <hbox> - <label align="right" id="street" value="&street.value;" width="97" /> - <textbox id="txtstreet" width="270" align="right"/> - </hbox> - <hbox> - <label align="right" id="street2" value="&street2.value;" width="97" /> - <textbox id="txtstreet2" width="270" align="right"/> - </hbox> - - <hbox> - <label align="right" id="zip" value="&zip.value;" width="97" /> - <textbox id="txtzip" align="right" /> - <spacer width="115"/> - </hbox> - - <hbox> - <label align="right" id="city" value="&city.value;" width="97" /> - <textbox id="txtcity" align="right" /> - </hbox> - - <hbox> - <label align="right" id="countryname" value="&country.value;" width="97" /> - <menulist id="country" width="190"> - <menupopup> - <menuitem label="" value=""/> - </menupopup> - </menulist> - </hbox> - - <hbox> - <label align="right" id="statename" value="&state.value;" width="97" /> - <menulist id="state" width="190"> - <menupopup> - <menuitem label="" value=""/> - </menupopup> - </menulist> - </hbox> - <separator class="groove-thin" orient="horizontal" width="94"/> -</groupbox> -<groupbox id="communication" style="border:1px solid black" width="310"> - <vbox> - <caption label="&communication.value;" /> - </vbox> - <separator class="groove-thin" orient="horizontal" width="94"/> - <hbox> - <label align="right" id="office" value="&office.value;" width="50" /> - <textbox id="txtoffice" align="right"/> - </hbox> - <hbox> - <label align="right" id="mobile" value="&mobile.value;" width="50" /> - <textbox id="txtmobile" align="right"/> - </hbox> - <hbox> - <label align="right" id="fax" value="&fax.value;" width="50" /> - <textbox id="txtfax" align="right"/> - </hbox> -</groupbox> -</tabpanel> -<description></description> - -<hbox align="right"> - <button label="&cancel.label;" image="&imagecancel.value;" oncommand="close();"/> - <button label="&ok.label;" image="&imageok.value;" oncommand="UpdateContact();"/> - -</hbox> - -</window> diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/config.js b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/config.js deleted file mode 100644 index 6bc2a6e885f..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/config.js +++ /dev/null @@ -1,252 +0,0 @@ - -function config_close() -{ - window.close("chrome://openerp_plugin/content/config_change.xul", "", "chrome"); - window.open("chrome://openerp_plugin/content/config.xul", "", "chrome"); -} - - -function createMenuItem(aLabel, aValue) { - const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; - var item = document.createElementNS(XUL_NS, "menuitem"); // create a new XUL menuitem - item.setAttribute("label", aLabel); - item.setAttribute("value", aValue); - return item; -} -//set the value of the configuration fields -function config_change_load() -{ - var s = getServer(); - var a =s.split(':'); - var popup = document.getElementById("dbprotocol_list"); - popup.menupopup.appendChild(createMenuItem('XML-RPC','http://')); - popup.menupopup.appendChild(createMenuItem('XML-RPCS','https://')); - if (String(a)=="" || String(a)=="undefined"){ - document.getElementById('txtcurl').value = "localhost" - document.getElementById('txtcport').value = "8069" - } - else - { - len = a[1]; - var url = ""; - for (i=0;i<len.length;i++) - { if (len[i] == "/") - { - continue - } - url += len[i] - } - if (String(url) == "" || String(url) == "undefined"){ - document.getElementById('txtcurl').value = "localhost" - } - else - { - document.getElementById('txtcurl').value = url - } - - if (String(a[2]) == "" || String(a[2]) == "undefined"){ - document.getElementById('txtcport').value = "8069" - setPort("8069"); - } - else - { - document.getElementById('txtcport').value = a[2] - setPort(a[2]); - } - - } -} - -function config_change_load_web() -{ - //var s = getServer(); - weburl = getWebServerURL(); - webport = getwebPort(); - var urlport = weburl+':'+webport; - var a =urlport.split(':'); - if (String(a)=="" || String(a)=="undefined"){ - document.getElementById('txtcweburl').value = "localhost" - document.getElementById('txtcwebport').value = "8069" - } - else - { - len = a[1]; - var url = ""; - for (i=0;i<len.length;i++) - { if (len[i] == "/") - { - continue - } - url += len[i] - } - if (String(url) == "" || String(url) == "undefined"){ - document.getElementById('txtcweburl').value = "localhost" - } - else - { - document.getElementById('txtcweburl').value = url - } - - if (String(a[2]) == "" || String(a[2]) == "undefined"){ - document.getElementById('txtcwebport').value = "8069" - setwebPort("8069"); - } - else - { - document.getElementById('txtcwebport').value = a[2] - setwebPort(a[2]); - } - - } -} - -function config_ok() -{ - var protocol = document.getElementById("dbprotocol_list").value - if (document.getElementById('txtcurl').value == '') - { - alert("You Must Enter Server Name!") - return false; - - } - if (document.getElementById('txtcport').value == '') - { - alert("You Must Enter Port!") - return false; - } - if (protocol == '') - { - alert("Invalid Porotocol!\nPlease Select protocol from Connection protocol list.") - return false; - } - setServer(document.getElementById("dbprotocol_list").value+document.getElementById('txtcurl').value +":" + document.getElementById('txtcport').value); - window.close("chrome://openerp_plugin/content/config_change.xul", "", "chrome"); - window.open("chrome://openerp_plugin/content/config.xul", "", "chrome"); -} - -function config_ok_web() -{ - if (document.getElementById('txtcweburl').value == '') - { - alert("You Must Enter Server Name!") - return false; - - } - if (document.getElementById('txtcwebport').value == '' && !document.getElementById('lblssl').checked) - { - alert("You Must Enter Port!") - return false; - } - var protocol = "http://"; - var port = document.getElementById('txtcwebport').value - if(document.getElementById('lblssl').checked) { - protocol = "https://"; - if(port == '') { - port = 443 - } - } - setWebServerURL(protocol + document.getElementById('txtcweburl').value +":" + port); - window.close("chrome://openerp_plugin/content/config_change_web.xul", "", "chrome"); - window.open("chrome://openerp_plugin/content/config.xul", "", "chrome"); -} - -function openConfigChange() -{ - window.close("chrome://openerp_plugin/content/config.xul", "", "chrome"); - window.open("chrome://openerp_plugin/content/config_change.xul", "", "chrome"); -} - -function openConfigChangeweb() -{ - window.close("chrome://openerp_plugin/content/config.xul", "", "chrome"); - window.open("chrome://openerp_plugin/content/config_change_web.xul", "", "chrome"); -} - -function appendDbList() -{ - setServerService('xmlrpc/db'); - getDbList('DBlist'); -} - -//set the database list in the listbox in configuration window -function setDb() -{ - var cmbDbList = document.getElementById('listDBListBox'); - document.getElementById('DBlist').value = cmbDbList.getItemAtIndex(cmbDbList.selectedIndex).value; -} - -//stores the value of configuration fields in preferences -function okClick() -{ - if (getDBList()=="false") - { - if (document.getElementById('DBlist_text').value =='') - { - alert("You Must Enter Database Name"); - return false; - } - setDbName(document.getElementById('DBlist_text').value); - } - else if(document.getElementById('DBlist') != null) - { - setDbName(document.getElementById('DBlist').value); - } - setServer(document.getElementById('txturl').value); - var s = document.getElementById('txturl').value; - var a =s.split(':'); - setPort(a[a.length-1]); - setUsername(document.getElementById('txtusername').value); - setPassword(document.getElementById('txtpassword').value); - window.close(); -} - -//deletes the value of the selected value in the listbox in configuraton menu -function deleteDocument(){ - if(document.getElementById("listObjectListBox").selectedItem){ - var objectlist = getPref().getCharPref("object").split(','); - var imagelist = getPref().getCharPref("imagename").split(','); - var objlist = getPref().getCharPref("listobject").split(','); - if(objectlist.length>0){ - var objectcharpref = ''; - var imagecharpref = ''; - var objcharpref = ''; - var nodelist = document.getElementById("listObjectListBox").selectedItem.childNodes - var childnode = document.getElementById("listObjectListBox").childNodes - for(i=2;i<childnode.length;i++){ - if(childnode[i].hasChildNodes){ - var secondchild = childnode[i].childNodes; - if (secondchild[1].getAttribute("label") != nodelist[1].getAttribute("label")){ - objcharpref += secondchild[0].getAttribute("label")+','; - objectcharpref += secondchild[1].getAttribute("label")+','; - imagecharpref += secondchild[2].getAttribute("image")+','; - } - } - } - var demo3 = objectcharpref.substring(0,objectcharpref.length-1); - var demo4 = imagecharpref.substring(0,imagecharpref.length-1); - var demo5 = objcharpref.substring(0,objcharpref.length-1); - - getPref().setCharPref("listobject",demo5); - getPref().setCharPref("object",demo3); - getPref().setCharPref("imagename",demo4); - } - document.getElementById("listObjectListBox").removeItemAt(document.getElementById("listObjectListBox").selectedIndex) - } - else{ - alert("Please Select Any One Document "); - } -} - -//function to add the image file for the checkbox -function addFile(){ - var nsIFilePicker = Components.interfaces.nsIFilePicker; - var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker); - fp.init(this, "Select a File", nsIFilePicker.modeOpen); - fp.appendFilters(nsIFilePicker.filterImages); - var res = fp.show(); - if (res == nsIFilePicker.returnOK){ - var thefile = fp.file; - document.getElementById("txtimagename").value = thefile.path - } -} - diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/config.xul b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/config.xul deleted file mode 100644 index 5b384442caa..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/config.xul +++ /dev/null @@ -1,142 +0,0 @@ -<?xml version="1.0"?>
-<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
-<!DOCTYPE window SYSTEM "chrome://openerp_plugin/locale/config.dtd">
-
-<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- xmlns:html="http://www.w3.org/1999/xhtml"
- title="&title.label;" onload="myPrefObserver.register();myPrefObserver.webregister();" unload="myPrefObserver.unregister()" height="430" width="900">
-<script type="text/javascript" src="chrome://openerp_plugin/content/tiny_xmlrpc.js"></script>
-<script type="text/javascript" src="chrome://openerp_plugin/content/config.js"></script>
-<script type="text/javascript" src="chrome://openerp_plugin/content/loaddata.js"></script>
-<script type="text/javascript" src="chrome://openerp_plugin/content/overlay.js"></script>
-<tabbox>
- <tabs>
- <tab label="Configuration Settings"/>
- <tab label="Document Settings"/>
- <tab label="About"/>
- </tabs>
- <tabpanels>
- <tabpanel id="configtab">
- <vbox style="border:1px solid">
- <groupbox id="gpConnection" align ="center" >
- <separator class="groove-thin" orient="horizontal" width="94"/>
- <caption label="&gpConnection.label;"/>
- <hbox>
- <label align="right" id="url" value="&txturl.label;" width="80" />
- <textbox id="txturl" width="200" readonly="true" />
- <button label="&getdblist.label;" oncommand="openConfigChange();" image="&imagesearch.value;" width="90"/>
- </hbox>
- <hbox align="center" id="database_option">
- </hbox>
- <hbox id="first">
- <label align="right" id="lbldb_list1" control="DBlist" value="&database.label;" width="80"/>
- <textbox id="DBlist_text" width="300"/>
- </hbox>
-
- <hbox >
- <label align="right" control="txtusername" value="&username.label;" width="80"/>
- <textbox id="txtusername" width="300"/>
- </hbox>
- <hbox>
- <label align="right" control="txtpassword" value="&password.label;" width="80"/>
- <textbox id="txtpassword" type="password" width="300"/>
- </hbox>
- <hbox >
- <spacer width="290"/>
- <button align="center" id="btconnection" label="&connection.label;" oncommand="testConnection();" image="&imageok.value;" width="100"/>
- </hbox>
- <separator class="groove-thin" orient="horizontal" width="94"/>
- </groupbox>
- </vbox>
-
- <separator class="groove-thin" orient="horizontal" width="10"/>
- <vbox style="border:0.5px solid" >
- <groupbox id="webgroup" align ="center">
- <vbox>
- <caption label="&webConnection.label;"/>
- </vbox>
- <separator class="groove-thin" orient="horizontal" width="10"/>
- <hbox>
- <label align="right" id="url" value="&txtweburl.label;" width="80" />
- <textbox id="txtweburl" width="200" readonly="true"/>
- </hbox>
-
- <hbox >
- <spacer width="113"/>
- <button align="center" id="websetconnection" label="&setconnection.label;" oncommand="openConfigChangeweb();" image="&imagesearch.value;"/>
- <button align="center" id="webopenconnection" label="&openconnection.label;" oncommand="testConnection_web();" image="&imageok.value;"/>
- </hbox>
- </groupbox>
- </vbox>
- </tabpanel>
-
- <tabpanel id="objecttab">
- <groupbox id="gpObject" align ="center">
- <caption label="&listDocument.header;"/>
- <hbox>
- <vbox>
- <hbox>
- <label control="txtobject" value="Title : " />
- <textbox id="txtobj" width="100"/>
- <label control="txtobject" value="&document.label;"/>
- <textbox id="txtobject" width="100"/>
- <label control="txtimagename" value="&image.label;"/>
- <textbox id="txtimagename" width="100" readonly="true" />
- <button id="btaddfile" label="&addfile.label;" oncommand="addFile();" image="&imagemoveleft.value;"/>
-
- <button id="btobjectcreate" label="&documentcreate.label;" oncommand="searchDocument();" image="&imagemovedown.value;"/>
- <button id="btobjectdelete" label="&documentdelete.label;" oncommand="deleteDocument();" image="&imagecancel.value;"/>
- </hbox>
-
- <listbox id="listObjectListBox" flex="1" rows="12">
- <listhead>
- <listheader label="Title"/>
- <listheader label="&listDocumentListBox.header;"/>
- <listheader label="Image"/>
- </listhead>
- <listcols>
- <listcol flex="1"/>
- <listcol flex="2"/>
- <listcol flex="3"/>
- </listcols>
- </listbox>
- </vbox>
- <vbox>
- <description> </description>
- </vbox>
- </hbox>
- </groupbox>
- </tabpanel>
- <tabpanel id="abouttab">
- <groupbox id="gpAbout" width="770" align="center">
- <caption label="&gpAbout.label;" align="center"/>
-
- <vbox style="border:1px solid black" width="770"/>
- <description>&openerp.paresent;</description>
- <image src="chrome://openerp_plugin/skin/logo.png" sizemode="stretch" align="center"/>
-
- <description> </description>
- <description> </description>
- <description>&develop.value;</description>
- <image src="chrome://openerp_plugin/skin/developped_by.png" sizemode="stretch" align="center"/>
- <description> </description>
- <description> </description>
- <description>&information.value;</description>
- <description><html:a href="&openerp.value;">&openerp.value;</html:a></description>
-
- <description><html:a href="&axelor.value;">&axelor.value;</html:a></description>
- <description><html:a href="&tinyerp.value;">&tinyerp.value;</html:a></description>
- <description> </description>
- <description> </description>
- <description>Copyright © 2006-TODAY OpenERP SA All Rights Reserved.</description>
- <description>OpenERP is a trademark of the OpenERP SA Company. OpenERP Web is jointly developed by OpenERP SA & Axelor.</description>
- <description>Licenced under the terms of <html:a href="https://tiny.odoo.com/LICENSE.txt"> OpenERP Public License (OEPL) v1.1 (https://tiny.odoo.com/LICENSE.txt)</html:a> </description>
- </groupbox>
- </tabpanel>
- </tabpanels>
-</tabbox>
-<hbox>
- <spacer width="800"/>
- <button label="&close.label;" oncommand="close();" image="&imagecancel.value;"/>
-</hbox>
-</window>
diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/config_change.xul b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/config_change.xul deleted file mode 100644 index 441c426c97d..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/config_change.xul +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0"?> -<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> -<!DOCTYPE window SYSTEM "chrome://openerp_plugin/locale/config_change.dtd"> -<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" - xmlns:html="http://www.w3.org/1999/xhtml" onload="config_change_load();" - title="Openerp Connection" height="180" width="320"> -<script type="text/javascript" src="chrome://openerp_plugin/content/tiny_xmlrpc.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/config.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/loaddata.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/static.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/overlay.js"></script> - <hbox> - <label align="left" id="heading" value="&lblheading.label;" style="padding-left:38px" /> - </hbox> - <vbox style="border:0.5px solid gray" width="190"/> - <groupbox id="gpData" width="200"> - <hbox > - <label id="lblurl" control="txtcurl" value="&lblurl.label;" width="50"/> - <textbox id="txtcurl" width="170" /> - </hbox> - <hbox> - <label id="lblport" control="txtcport" value="&lblport.label;" width="50"/> - <textbox id="txtcport" width="170" /> - </hbox> - - <hbox> - <label id="dbprotocol" value="&lblprotocol.label;" width="97" /> - <menulist id="dbprotocol_list" width="140"> - <menupopup> - <menuitem label="" value=""/> - </menupopup> - </menulist> - </hbox> - -</groupbox> -<hbox align="right"> - <button label="Close" image="&imagecancel.value;" oncommand="config_close();" /> - <button label="OK" image="&imageok.value;" oncommand="config_ok()"/> -</hbox> - -</window> diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/config_change_web.xul b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/config_change_web.xul deleted file mode 100644 index fa23a9a0c40..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/config_change_web.xul +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0"?> -<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> -<!DOCTYPE window SYSTEM "chrome://openerp_plugin/locale/config_change.dtd"> -<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" - xmlns:html="http://www.w3.org/1999/xhtml" onload="config_change_load_web()" - title="Openerp Connection" height="140" width="240"> -<script type="text/javascript" src="chrome://openerp_plugin/content/tiny_xmlrpc.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/config.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/loaddata.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/static.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/overlay.js"></script> - <hbox> - <label align="center" id="heading" value="&lblheading.label;" style="padding-left:38px" /> - </hbox> -<groupbox id="gpData" width="200"> - <hbox > - <label id="lblurl" control="txtcurl" value="&lblurl.label;" width="50"/> - <textbox id="txtcweburl" width="140" /> - </hbox> - <hbox> - <label id="lblport" control="txtcport" value="&lblport.label;" width="50"/> - <textbox id="txtcwebport" width="140" /> - </hbox> - <hbox> - - <checkbox id="lblssl" label="SSL (https)" checked="false"/> - </hbox> - -</groupbox> -<hbox align="right"> - <button label="Close" image="&imagecancel.value;" oncommand="config_close();" /> - <button label="OK" image="&imageok.value;" oncommand="config_ok_web()"/> -</hbox> - -</window> diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/create.xul b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/create.xul deleted file mode 100644 index 71a4baf0872..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/create.xul +++ /dev/null @@ -1,109 +0,0 @@ -<?xml version="1.0"?> -<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> -<!DOCTYPE window SYSTEM "chrome://openerp_plugin/locale/create.dtd"> -<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" - xmlns:html="http://www.w3.org/1999/xhtml" - title="&title.label;" onload="myPrefObserver.createContact();" height="415" width="720"> -<script type="text/javascript" src="chrome://openerp_plugin/content/tiny_xmlrpc.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/config.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/loaddata.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/static.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/overlay.js"></script> -<tabpanel id="contact"> - <groupbox id="contact" > - <separator class="groove-thin" orient="horizontal" width="94"/> - <hbox> - <label align="right" id="partner" value="&selectpartner.value;" width="97" /> - <textbox id="txtselectpartner" readonly="true" value="" width="270"/> - <button label="&bsearch.label;" oncommand="Select.onMenuItemCommand(event);" image="&imagesearch.value;"/> - <button label="Create Partner" image="&imagecreate.value;" oncommand="CreatePartner.onMenuItemCommand(event);"/> - </hbox> - - <separator class="groove-thin" orient="horizontal" width="80"/> - </groupbox> - </tabpanel> - <tabpanel id="address"> - - <groupbox id="address" style="border:1px solid black"> - <hbox> - <caption label="&postaladdress.value;" /> - </hbox> - <separator class="groove-thin" orient="horizontal" width="94"/> - <hbox> - <label align="right" id="name" value="&name.value;" width="97" /> - <textbox id="txtname" align="right" /> - </hbox> - <hbox> - <label align="right" id="street" value="&street.value;" width="97" /> - <textbox id="txtstreet" align="right"/> - <spacer width="33"/> - </hbox> - - <hbox> - <label align="right" id="street2" value="&street2.value;" width="97" /> - <textbox id="txtstreet2" align="right"/> - <spacer width="33"/> - </hbox> - <hbox> - <label align="right" id="zip" value="&zip.value;" width="97" /> - <textbox id="txtzip" align="right" /> - <spacer width="33"/> - </hbox> - - <hbox> - <label align="right" id="city" value="&city.value;" width="97"/> - <textbox id="txtcity" align="right" /> - <spacer width="33"/> - </hbox> - - <hbox> - <label align="right" id="countryname" value="&country.value;" width="97" /> - <menulist id="country" width="190" oncommand= "getAllState();" > - <menupopup> - <menuitem label="" value=""/> - </menupopup> - </menulist> - </hbox> - - <hbox> - <label align="right" id="statename" value="&state.value;" width="97" /> - <menulist id="state" width="190"> - <menupopup> - <menuitem label="" value=""/> - </menupopup> - </menulist> - </hbox> - <separator class="groove-thin" orient="horizontal" width="60"/> - </groupbox> - - <groupbox id="communication" style="border:1px solid black"> - <vbox> - <caption label="&communication.value;" /> - </vbox> - <separator class="groove-thin" orient="horizontal" width="94"/> - <hbox> - <label align="right" id="office" value="&office.value;" width="97" /> - <textbox id="txtoffice" align="right" /> - </hbox> - <hbox> - <label align="right" id="mobile" value="&mobile.value;" width="97" /> - <textbox id="txtmobile" align="right"/> - </hbox> - <hbox> - <label align="right" id="fax" value="&fax.value;" width="97" /> - <textbox id="txtfax" align="right" /> - </hbox> - <hbox> - <label align="right" id="emailid" value="&email.value;" width="97" /> - <textbox id="txtemail" align="right"/> - <spacer width="30"/> - </hbox> - </groupbox> - </tabpanel> - <description></description> -<hbox align="right"> - <button label="&cancel.label;" image="&imagecancel.value;" oncommand="close();" /> - <button label="&ok.label;" image="&imageok.value;" oncommand="createContact();"/> -</hbox> - -</window> diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/createpartner.xul b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/createpartner.xul deleted file mode 100644 index ba511be6257..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/createpartner.xul +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0"?> -<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> -<!DOCTYPE window SYSTEM "chrome://openerp_plugin/locale/createpartner.dtd"> -<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" - xmlns:html="http://www.w3.org/1999/xhtml" - title="&title.label;" height="100" width="325"> -<script type="text/javascript" src="chrome://openerp_plugin/content/tiny_xmlrpc.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/config.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/loaddata.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/static.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/overlay.js"></script> -<groupbox id="gpData"> - <hbox> - <description>&name.value;</description> - <spacer width="50"/> - <textbox id="txtselectpartner" align="right" /> - </hbox> -</groupbox> -<description></description> -<hbox> - <spacer width="140"/> - <button label="&cancel.label;" image="&imagecancel.value;" oncommand="close();" /> - <button label="&ok.label;" image="&imageok.value;" oncommand="createPartner();"/> -</hbox> - -</window> diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/exportTools.js b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/exportTools.js deleted file mode 100644 index 47eb2111c33..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/exportTools.js +++ /dev/null @@ -1,241 +0,0 @@ - -var MBstrBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"]. - getService(Components.interfaces.nsIStringBundleService); -var mboximportbundle = MBstrBundleService.createBundle("chrome://openerp_plugin/locale/mboximport.properties"); - - -function saveMsgAsEML(msguri,file,append,uriArray,hdrArray,fileArray) { - - var myEMLlistner = { - - scriptStream : null, - emailtext : "", - - QueryInterface : function(iid) { - if (iid.equals(Components.interfaces.nsIStreamListener) || - iid.equals(Components.interfaces.nsIMsgHeaderSink) || - iid.equals(Components.interfaces.nsISupports)) - return this; - - throw Components.results.NS_NOINTERFACE; - return 0; - }, - - onStartRequest : function (aRequest, aContext) { - this.scriptStream = Components.classes['@mozilla.org/binaryinputstream;1'].createInstance(Components.interfaces.nsIBinaryInputStream); - }, - - onStopRequest : function (aRequest, aContext, aStatusCode) { - this.scriptStream = null; - - if (append) { - if (this.emailtext != "") { - var data = this.emailtext + "\n"; - // Some Imap servers don't add to the message the "From" prologue - if (data && ! data.match(/^From/)) { - var now = new Date; - var prologue = "From - " + now.toString() + "\n"; - data = prologue+data; - } - data = IETescapeBeginningFrom(data); - } - var fileClone = file.clone(); - IETwriteDataOnDisk(fileClone,data,true,this.sub,null); - } - else { - if (! hdrArray) - var sub = getSubjectForHdr(hdr); - else { - var parts = hdrArray[IETexported].split("§][§^^§"); - var sub = parts[4]; - } - - var data = this.emailtext.replace(/^From.+\r?\n]/, ""); - data = IETescapeBeginningFrom(data); - var clone = file.clone(); - // The name is taken from the subject "corrected" - clone.append(sub+".eml"); - clone.createUnique(0,0644); - var time = (hdr.dateInSeconds)*1000; - IETwriteDataOnDisk(clone,data,false,null,time); - } - IETexported = IETexported + 1; - IETwritestatus(mboximportbundle.GetStringFromName("exported")+" "+IETexported+" "+mboximportbundle.GetStringFromName("msgs")+" "+IETtotal); - - if (IETexported < IETtotal) { - if (fileArray) { - var nextUri = uriArray[IETexported]; - var nextFile = fileArray[IETexported]; - } - else if (! hdrArray) { - var nextUri = uriArray[IETexported]; - var nextFile = file; - } - else { - parts = hdrArray[IETexported].split("§][§^^§"); - var nextUri = parts[5]; - var nextFile = file; - } - saveMsgAsEML(nextUri,nextFile,append,uriArray,hdrArray,fileArray); - } - else { - IETexported = 0; - IETtotal = 0; - } - }, - - onDataAvailable : function (aRequest, aContext, aInputStream, aOffset, aCount) { - this.scriptStream.setInputStream(aInputStream); - var chunk = this.scriptStream.readBytes(aCount); - this.emailtext += chunk; - } - }; - var mms = messenger.messageServiceFromURI(msguri).QueryInterface(Components.interfaces.nsIMsgMessageService); - var hdr = mms.messageURIToMsgHdr(msguri); - mms.streamMessage(msguri, myEMLlistner, msgWindow, null, false, null); -} - - -function nametoascii(str) { - if (! gPrefBranch.getBoolPref("mboximport.export.filenames_toascii")) { - str = str.replace(/[\x00-\x19]/g,"_"); - return str.replace(/[\/\\:,<>*\?\"\|]/g,"_"); - } - if (str) - str = str.replace(/[^a-zA-Z0-9]/g,"_"); - else - str = "Undefinied_or_empty"; - return str; -} - - -function IETwriteDataOnDisk(file,data,append,name,time) { - var foStream = Components.classes["@mozilla.org/network/file-output-stream;1"] - .createInstance(Components.interfaces.nsIFileOutputStream); - if (append) { - file.append(name); - foStream.init(file, 0x02 | 0x08 | 0x10, 0664, 0); // write, create, append - } - else - foStream.init(file, 0x02 | 0x08 | 0x20, 0664, 0); // write, create, truncate - if (data) - foStream.write(data,data.length); - foStream.close(); - var prefs = Components.classes["@mozilla.org/preferences-service;1"] - .getService(Components.interfaces.nsIPrefBranch); - if (time && prefs.getBoolPref("mboximport.export.set_filetime")) - file.lastModifiedTime = time; -} - - - -function IETescapeBeginningFrom(data) { - // Workaround to fix the "From " in beginning line problem in body messages - // See https://bugzilla.mozilla.org/show_bug.cgi?id=119441 and - // https://bugzilla.mozilla.org/show_bug.cgi?id=194382 - // TB2 has uncorrect beahviour with html messages - // This is not very fine, but I didnt' find anything better... - var datacorrected = data.replace(/\nFrom /g, "\n From "); - return datacorrected; -} - - -function getPredefinedFolder(type) { - var prefs = Components.classes["@mozilla.org/preferences-service;1"] - .getService(Components.interfaces.nsIPrefBranch); - // type 0 = folder - // type 1 = all messages - // type 2 = selected messages - - var use_dir = "mboximport.exportMSG.use_dir"; - var dirService = Components.classes["@mozilla.org/file/directory_service;1"]. - getService(Components.interfaces.nsIProperties).get("Home", Components.interfaces.nsIFile); - var homeDir = dirService.path; - var dir_path = ((homeDir.search(/\\/) != -1) ? homeDir + "\\" : homeDir + "/") - try { - var localFile = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile); - localFile.initWithPath(dir_path); - return localFile; - - } - catch(e) { - return null; - } -} - -function getSubjectForHdr(hdr) { - var emlNameType = gPrefBranch.getIntPref("mboximport.exportEML.filename_format"); - var mustcorrectname = gPrefBranch.getBoolPref("mboximport.export.filenames_toascii"); - var subMaxLen = gPrefBranch.getIntPref("mboximport.subject.max_length")-1; - if (hdr.mime2DecodedSubject) - - var subj = hdr.mime2DecodedSubject.substring(0, subMaxLen); - else - var subj =IETnosub; - subj = nametoascii(subj); - var dateInSec = hdr.dateInSeconds; - var msgDate8601string = dateInSecondsTo8601(dateInSec); - var key = hdr.messageKey; - if (emlNameType == 2) { - var pattern = gPrefBranch.getCharPref("mboximport.export.filename_pattern"); - pattern = pattern.replace("%s",subj); - pattern = pattern.replace("%k",key); - pattern = pattern.replace("%d", msgDate8601string); - pattern = pattern.replace(/-%e/g, ""); - pattern = pattern.replace(/[\x00-\x19]/g,"_"); - var fname = pattern; - } - else { - - var fname = msgDate8601string+"-"+subj+"-"+hdr.messageKey; - } - setFileName(fname) - fname = fname.replace(/[\x00-\x19]/g,"_"); - if (mustcorrectname) - fname = nametoascii(fname); - else - fname = fname.replace(/[\/\\:,<>*\?\"\|]/g,"_"); - return fname; -} - -function dateInSecondsTo8601(secs) { - var addTime = gPrefBranch.getBoolPref("mboximport.export.filenames_addtime"); - var msgDate = new Date(secs*1000); - var msgDate8601 = msgDate.getFullYear(); - if (msgDate.getMonth() < 9) - var month = "0"+(msgDate.getMonth()+1); - else - var month = msgDate.getMonth()+1; - if (msgDate.getDate() < 10) - var day = "0"+ msgDate.getDate(); - else - var day = msgDate.getDate(); - var msgDate8601string = msgDate8601.toString()+month.toString()+day.toString(); - if (addTime && gPrefBranch.getIntPref("mboximport.exportEML.filename_format") == 2) { - if (msgDate.getHours() < 10) - var hours = "0"+msgDate.getHours(); - else - var hours = msgDate.getHours(); - if (msgDate.getMinutes() < 10) - var min = "0"+msgDate.getMinutes(); - else - var min = msgDate.getMinutes(); - msgDate8601string += "-"+ hours.toString() + min.toString(); - } - return msgDate8601string; -} - -function IETwritestatus(text) { - document.getElementById("statusText").setAttribute("label", text); - var prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch); - var delay = prefs.getIntPref("mboximport.delay.clean_statusbar"); - if (delay > 0) - window.setTimeout(function(){IETdeletestatus(text);}, delay); -} - -function IETdeletestatus(text) { - if (document.getElementById("statusText").getAttribute("label") == text) - document.getElementById("statusText").setAttribute("label", ""); -} - - diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/loaddata.js b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/loaddata.js deleted file mode 100644 index 7b722c75034..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/loaddata.js +++ /dev/null @@ -1,144 +0,0 @@ -//gives the preference branch instance -var preferenceBranch = getPref(); - -//returns the selected checkbox for searching -function getnamesearch() -{ - var checkboxlist = []; - var j=0; - var objectlist = preferenceBranch.getCharPref("object").split(','); - if (objectlist[0]!=''){ - for (var i=1;i<=objectlist.length;i++) - { - if(document.getElementById('cbx'+i) && document.getElementById('cbx'+i).checked == true) - { - checkboxlist[j] = objectlist[i-1] //document.getElementById('cbx'+i).label; - j++; - } - } - } - return checkboxlist; -} -//function to set the text value for the selected partner for contact creation -function selectPartner(){ - if(document.getElementById('listPartnerBox').selectedItem){ - var listselectedItem = document.getElementById('listPartnerBox').selectedItem; - var value = listselectedItem.firstChild.getAttribute('label'); - setPartnerId(listselectedItem.value); - document.getElementById('txtselectpartner').setAttribute('value',value); - window.opener.document.getElementById('txtselectpartner').setAttribute('value',value); - } - else{ - window.opener.document.getElementById('txtselectpartner').setAttribute('value',''); - } -} - - -//function for the intialization procedure //used while loading and unloading of the window -var myPrefObserver = -{ - //set the intial value of the email for the text field in plugin window and also loads the listbox of objects with image - loaddata: function() - { - setTimeout("listSearchDocumentAttachment()", 0) - }, - - //set the initial value of name and email field of create contact window - createContact: function() - { - document.getElementById("txtname").value = getSenderName(); - document.getElementById("txtemail").value = getSenderEmail(); - document.getElementById("country").value = getAllCountry(); - setPartnerId(0); - }, - - - //sets the value of email information in preferences and adds observer for the window - register: function() - { - appendDbList() - preferenceBranch.addObserver("", myPrefObserver, false); - document.getElementById("txturl").value = getServer(); - var s = document.getElementById('txturl').value; - var a =s.split(':'); - setPort(a[a.length-1]); - document.getElementById("txtusername").value = getUsername(); - document.getElementById("txtpassword").value = getPassword(); - document.getElementById("DBlist_text").value = getDbName(); - if(getPref().getCharPref("object") != ''){ - var objectlist = getPref().getCharPref("object").split(','); - var imagelist = getPref().getCharPref("imagename").split(','); - var obj = getPref().getCharPref("listobject").split(','); - if(objectlist.length>0){ - for(i=0;i<objectlist.length;i++){ - var listItem = document.createElement("listitem"); - var listcell1 = document.createElement("listcell"); - var listcell2 = document.createElement("listcell"); - var listcell3 = document.createElement("listcell"); - listcell1.setAttribute("label",obj[i]); - listcell2.setAttribute("label",objectlist[i]); - listcell3.setAttribute("image",imagelist[i]); - listcell3.setAttribute("class","listcell-iconic") - listcell3.setAttribute("width",16) - listcell3.setAttribute("height",16) - listItem.appendChild(listcell1); - listItem.appendChild(listcell2); - listItem.appendChild(listcell3); - document.getElementById("listObjectListBox").appendChild(listItem); - - } - } - } - }, - - webregister: function() - { - preferenceBranch.addObserver("", myPrefObserver, false); - weburl = getWebServerURL(); - document.getElementById("txtweburl").value = weburl; - var s = document.getElementById('txtweburl').value; - - }, - - createContactAddress: function() - { - document.getElementById("txtselectpartner").value = getPartnerName(); - document.getElementById("txtcontactname").value = getSenderName(); - document.getElementById("txtstreet").value = getStreet(); - document.getElementById("txtstreet2").value = getStreet2(); - document.getElementById("txtzip").value = getZipCode(); - document.getElementById("txtcity").value = getCity(); - document.getElementById("txtoffice").value = getOfficenumber(); - document.getElementById("txtfax").value = getFax(); - document.getElementById("txtmobile").value = getMobilenumber(); - document.getElementById("txtemail").value = getSenderEmail(); - document.getElementById("country").value =getAllCountry(); - document.getElementById("state").value = getAllState(); - }, - - //unregistering the window observer - unregister: function() - { - if(!preferenceBranch) return; - preferenceBranch.removeObserver("", myPrefObserver); - }, - - observe: function(aSubject, aTopic, aData) - { - if(aTopic != "nsPref:changed") return; - // aSubject is the nsIPrefBranch we're observing (after appropriate QI) - // aData is the name of the pref that's been changed (relative to aSubject) - switch (aData) { - case "serverport": - break; - case "serverurl": - break; - case "serverdbname": - break; - } - }, -} - -function runMoreCode() -{ -} diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.js b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.js deleted file mode 100644 index bbfad8634d6..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.js +++ /dev/null @@ -1,551 +0,0 @@ -//global array creation and declaration
-var contentType = new Array();
-var uri = new Array();
-var url = new Array();
-var name = new Array();
-var test = new Array();
-
-var MBstrBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"].
- getService(Components.interfaces.nsIStringBundleService);
-var mboximportbundle = MBstrBundleService.createBundle("chrome://mboximport/locale/mboximport.properties");
-//function to get the required details of the selected email
-
-function check()
-{
- setTimeout("createConnection()",5000)
- if (getconnect_server() == "false")
- {
- alert("Please Login To The Database First !")
- return false;
- }
- setTimeout("module_install()", 10000)
- if (getmodule_install() == "no")
- {
- alert("Please install the thunderbird module on your '" + getDbName() +"' database and try again !");
- return false
- }
- if(GetNumSelectedMessages() < 1 || GetNumSelectedMessages() > 1){
- alert("You must select only one mail to archive");
- return false
- }
- return true
-
-}
-
-function searchmail()
-{
- if (check() == false){
- return true
- }
- var prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);
- var dirService = Components.classes["@mozilla.org/file/directory_service;1"].
- getService(Components.interfaces.nsIProperties).get("Home", Components.interfaces.nsIFile);
- var homeDir = dirService.path;
- var path = ((homeDir.search(/\\/) != -1) ? homeDir + "\\" : homeDir + "/")
- var version_obj = prefService.getBranch("extensions.");
- version_obj.QueryInterface(Components.interfaces.nsIPrefBranch2);
- version = version_obj.getCharPref("lastAppVersion");
- version = parseInt(version[0])
-
- file = getPredefinedFolder(2);
-
- if (version > 2)
- {
- var emlsArray = gFolderDisplay.selectedMessages;
- }
- else
- {
- var emlsArray = GetSelectedMessages();
- }
-
- IETtotal = emlsArray.length;
- IETexported = 0;
- var msguri = emlsArray[0];
-
-
- //gives the selected email uri
- var messageUri= gDBView.URIForFirstSelectedMessage;
-
- var messenger = Components.classes['@mozilla.org/messenger;1'].createInstance(Components.interfaces.nsIMessenger);
-
- //gives the selected email object
- var message = messenger.messageServiceFromURI(messageUri).messageURIToMsgHdr(messageUri);
-
-
- if (version > 2)
- {
- m_uri = message.folder.getUriForMsg(message);
- saveMsgAsEML(m_uri,file,false,emlsArray,null);
- }
- else
- {
- saveMsgAsEML(msguri,file,false,emlsArray,null);
- }
-
- //gives the received email date
- var stdate = new Date(message.date / 1000);
-
- //functionality to split the author name and email
- if(message.author.charAt(0) == '"'){
- sendername = message.author.split('"')[1].split('"')[0];
- }
- else if(message.author.indexOf('<')!=-1){
- sendername = message.author.split('<')[0];
- }
- else{
- sendername = message.author;
- }
- if(message.author.indexOf('<')!=-1){
- senderemail = message.author.split('<')[1].split('>')[0];
- }
- else{
- senderemail = message.author
- }
-
- //gives the receiver email address
- receiveremail = message.mime2DecodedRecipients;
-
- //parsing the received date in the particular format
- receivedDate = stdate.getFullYear()+'/'+(stdate.getMonth()+1)+'/'+stdate.getDate();
-
- //gives the selected email subject
- subject = message.subject;
-
- //gives the selected email cclist
- cclist = message.ccList;
-
- //gives the selected email message body in text format
- if (version > 2)
- {
- var listener = Components.classes["@mozilla.org/network/sync-stream-listener;1"].createInstance(Components.interfaces.nsISyncStreamListener);
- var uri = message.folder.getUriForMsg(message);
- messenger.messageServiceFromURI(uri)
- .streamMessage(uri, listener, null, null, false, "");
- var folder = message.folder;
- messagebody = folder.getMsgTextFromStream(listener.inputStream,message.Charset,65536,32768,false,true,{})
- }
- else
- {
- messagebody = getMessageBrowser().docShell.contentViewer.DOMDocument.body.textContent;
- }
- //gives the selected email message body in html format
- msghtmlbody = ""// getMessageBrowser().docShell.contentViewer.DOMDocument.body.innerHTML;
-
- //set the initial information for the selected email
- setSenderEmail(senderemail);
- setSenderName(sendername);
- setReceiverEmail(receiveremail);
- setSubject(subject);
- setReceivedDate(receivedDate);
- setCCList(cclist);
- setMessageBody(messagebody);
- getPref().setCharPref('displayName','');
- getPref().setCharPref('attachmentdata','');
- name = [];
- test = [];
- getPref().setCharPref('attachmentlength',currentAttachments.length);
- //retrieving the information for the selected email's attachment
- if(currentAttachments.length > 0){
- for(i=0;i<currentAttachments.length;i++){
- contentType[i] = currentAttachments[i].contentType;
- uri = currentAttachments[i].uri;
- url[i] = currentAttachments[i].url;
- name[i] = currentAttachments[i].displayName;
- var obj = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
- obj.initWithPath(path)
- //saving the attachment files in system's temp folder
- test[i] = messenger.saveAttachmentToFolder(contentType[i],url[i],name[i],uri,obj);
- }
- //function to read the attachment file contents
- att =getAttachValue()
- window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes");
- createInstance(name,test)
-
- }
- else
- {
- window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes");
- }
-}
-
-
-function url_for(model, id) {
- var base = getWebServerURL(),
- db = getDbName(),
- login = getusername(),
- password = getPassword();
-
- return base + '/web/webclient/login?db='+db+'&login='+login+'&key='+password+'#model='+model+'&id='+id;
-
-}
-
-var openPartnerHandler = {
- onResult: function(client, context, result) {
- netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess');
- // var sendername = getSenderEmail();
- var arrIdList = result.QueryInterface(Components.interfaces.nsISupportsArray);
- var count = arrIdList.Count();
- for (var i = 0; i < count; i++) {
- var strlResult = arrIdList.QueryElementAt(i, Components.interfaces.nsISupportsArray);
- var strlSearchResult = strlResult.QueryElementAt(0, Components.interfaces.nsISupportsCString);
- var strlSearchResultValue = strlResult.QueryElementAt(1, Components.interfaces.nsISupportsCString);
- if(strlSearchResult=="email" && strlSearchResultValue=='')
- {
- alert("Partner is not Available.");
- return;
- }
- if(strlSearchResult=="partner_id"){
- partner_id = strlSearchResultValue;
-
- if (parseInt(partner_id) > 0){
- var messenger = Components.classes["@mozilla.org/messenger;1"].createInstance();
- messenger = messenger.QueryInterface(Components.interfaces.nsIMessenger);
- messenger.launchExternalURL(url_for('res.partner', partner_id));
- }
- else{
- alert("Partner is not Available.");
- return;
- }
- }
- }
- },
- onFault: function (client, ctxt, fault) {
-
- },
-
- onError: function (client, ctxt, status, errorMsg) {
-
- }
-
-}
-
-function searchPartner(email)
-{
- var branchobj = getPref();
- setServerService('xmlrpc/object');
- netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess');
- arrFinalList = [];
- var xmlRpcClient = getXmlRpc();
- var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{});
- strDbName.data = branchobj.getCharPref("serverdbname");
- var struid = xmlRpcClient.createType(xmlRpcClient.INT,{});
- struid.data = branchobj.getIntPref('userid');
- var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{});
- strpass.data = branchobj.getCharPref("password");
- var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{});
- strobj.data = 'thunderbird.partner';
- var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{});
- strmethod.data = 'search_contact';
- var strname = xmlRpcClient.createType(xmlRpcClient.STRING,{});
- strname.data = email;
- xmlRpcClient.asyncCall(openPartnerHandler,null,'execute',[ strDbName,struid,strpass,strobj,strmethod,strname ],6);
-}
-
-
-function open_partner()
-{
- if (check() == false){
- return true
- }
- var prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);
- var version_obj = prefService.getBranch("extensions.");
- version_obj.QueryInterface(Components.interfaces.nsIPrefBranch2);
- version = version_obj.getCharPref("lastAppVersion");
- version = parseInt(version[0])
-
- file = getPredefinedFolder(2);
-
- if (version > 2)
- {
- var emlsArray = gFolderDisplay.selectedMessages;
- }
- else
- {
- var emlsArray = GetSelectedMessages();
- }
-
- IETtotal = emlsArray.length;
- IETexported = 0;
- var msguri = emlsArray[0];
-
-
- //gives the selected email uri
- var messageUri= gDBView.URIForFirstSelectedMessage;
-
-
- var messenger = Components.classes['@mozilla.org/messenger;1'].createInstance(Components.interfaces.nsIMessenger);
-
- //gives the selected email object
- var message = messenger.messageServiceFromURI(messageUri).messageURIToMsgHdr(messageUri);
-
- //functionality to split the author name and email
- if(message.author.charAt(0) == '"'){
- sendername = message.author.split('"')[1].split('"')[0];
- }
- else if(message.author.indexOf('<')!=-1){
- sendername = message.author.split('<')[0];
- }
- else{
- sendername = message.author;
- }
- if(message.author.indexOf('<')!=-1){
- senderemail = message.author.split('<')[1].split('>')[0];
- }
- else{
- senderemail = message.author
- }
- searchPartner(senderemail);
-}
-
-
-var listDocumentHandler = {
- onResult: function(client, context, result) {
- netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess');
- var res = result.QueryInterface(Components.interfaces.nsISupportsArray);
- res_id = res.QueryElementAt(1, Components.interfaces.nsISupportsPRInt32);
- model = res.QueryElementAt(0, Components.interfaces.nsISupportsCString);
- if(res_id==0)
- {
- alert("Document is not available.");
- return;
- }
- else
- {
-
- var messenger = Components.classes["@mozilla.org/messenger;1"].createInstance();
- messenger = messenger.QueryInterface(Components.interfaces.nsIMessenger);
- messenger.launchExternalURL(url_for(model, res_id));
- }
-
- },
- onFault: function (client, ctxt, fault) {
-
- },
-
- onError: function (client, ctxt, status, errorMsg) {
-
- }
-}
-
-//function to archive the mail content through xmlrpc request
-function parse_eml(){
- var fpath =""
- var dirService = Components.classes["@mozilla.org/file/directory_service;1"].
- getService(Components.interfaces.nsIProperties).get("Home", Components.interfaces.nsIFile);
- var homeDir = dirService.path;
- fpath = ((homeDir.search(/\\/) != -1) ? homeDir + "\\" : homeDir + "/")
- name = fpath + getPref().getCharPref('fname') +".eml"
- var file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
- file.initWithPath( name );
- if ( file.exists() == false ) {
- return null;
- } else {
- var is = Components.classes["@mozilla.org/network/file-input-stream;1"].createInstance( Components.interfaces.nsIFileInputStream );
- is.init( file,0x01, 00004, null);
- var sis = Components.classes["@mozilla.org/scriptableinputstream;1"].createInstance( Components.interfaces.nsIScriptableInputStream );
- sis.init( is );
- var output = sis.read( sis.available() );
- return output
- }
-
-}
-function open_document()
-{
- if (check() == false){
- return true
- }
- var prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);
- var version_obj = prefService.getBranch("extensions.");
- version_obj.QueryInterface(Components.interfaces.nsIPrefBranch2);
- version = version_obj.getCharPref("lastAppVersion");
- version = parseInt(version[0])
- file = getPredefinedFolder(2);
- if (version > 2)
- {
- var emlsArray = gFolderDisplay.selectedMessages;
- }
- else
- {
- var emlsArray = GetSelectedMessages();
- }
- IETtotal = emlsArray.length;
- IETexported = 0;
- var msguri = emlsArray[0];
- //gives the selected email uri
- var messageUri= gDBView.URIForFirstSelectedMessage;
- var messenger = Components.classes['@mozilla.org/messenger;1'].createInstance(Components.interfaces.nsIMessenger);
- //gives the selected email object
- var message = messenger.messageServiceFromURI(messageUri).messageURIToMsgHdr(messageUri);
- if (version > 2)
- {
- m_uri = message.folder.getUriForMsg(message);
- saveMsgAsEML(m_uri,file,false,emlsArray,null);
- }
- else
- {
- saveMsgAsEML(msguri,file,false,emlsArray,null);
- }
- //gives the received email date
- var stdate = new Date(message.date / 1000);
- var branchobj = getPref();
- setServerService('xmlrpc/object');
- netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess');
- var xmlRpcClient = getXmlRpc();
- var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{});
- strDbName.data = branchobj.getCharPref("serverdbname");
- var struids = xmlRpcClient.createType(xmlRpcClient.INT,{});
- struids.data = branchobj.getIntPref('userid');
- var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{});
- strpass.data = branchobj.getCharPref("password");
- var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{});
- strmethod.data = 'search_message';
- var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{});
- strobj.data = 'thunderbird.partner';
- var eml_string = parse_eml()
- var a = ['message'];
- var b = [eml_string];
- var arrofarr = dictcontact(a,b);
- xmlRpcClient.asyncCall(listDocumentHandler,null,'execute',[strDbName,struids,strpass,strobj,strmethod,arrofarr],6);
-}
-
-function open_contact()
-{
- if (check() == false){
- return true
- }
-
- var prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);
- var version_obj = prefService.getBranch("extensions.");
- version_obj.QueryInterface(Components.interfaces.nsIPrefBranch2);
- version = version_obj.getCharPref("lastAppVersion");
- version = parseInt(version[0])
-
- file = getPredefinedFolder(2);
-
- if (version > 2)
- {
- var emlsArray = gFolderDisplay.selectedMessages;
- }
- else
- {
- var emlsArray = GetSelectedMessages();
- }
-
- IETtotal = emlsArray.length;
- IETexported = 0;
- var msguri = emlsArray[0];
-
-
- //gives the selected email uri
- var messageUri= gDBView.URIForFirstSelectedMessage;
-
- var messenger = Components.classes['@mozilla.org/messenger;1'].createInstance(Components.interfaces.nsIMessenger);
-
- //gives the selected email object
- var message = messenger.messageServiceFromURI(messageUri).messageURIToMsgHdr(messageUri);
-
- //functionality to split the author name and email
- if(message.author.charAt(0) == '"'){
- sendername = message.author.split('"')[1].split('"')[0];
- }
- else if(message.author.indexOf('<')!=-1){
- sendername = message.author.split('<')[0];
- }
- else{
- sendername = message.author;
- }
- if(message.author.indexOf('<')!=-1){
- senderemail = message.author.split('<')[1].split('>')[0];
- }
- else{
- senderemail = message.author
- }
-
- //set the initial information for the selected email
- setSenderEmail(senderemail);
- setSenderName(sendername);
- setPartnerName("");
- setStreet("");
- setStreet2("");
- setZipCode("");
- setCity("");
- setOfficenumber("");
- setFax("");
- setMobilenumber("");
- searchContact();
-}
-
-
-//function to open the configuration window
-var Config = {
- onLoad: function() {
- // initialization code
- this.initialized = true;
- },
-
- onMenuItemCommand: function() {
- window.open("chrome://openerp_plugin/content/config.xul", "", "chrome");
- }
-};
-window.addEventListener("load", function(e) { Config.onLoad(e); }, false);
-
-//function to open the plugin window for searching the records for a particular object
-var Plugin = {
- onLoad: function() {
- this.initialized = true;
- },
-
- onMenuItemCommand: function() {
- window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes");
- }
-};
-window.addEventListener("load", function(e) { Plugin.onLoad(e); }, false);
-
-//function to open the window for creating a new partner contact
-var Create = {
- onLoad: function(){
- this.initialized=true;
- },
-
- onMenuItemCommand: function(){
- window.open("chrome://openerp_plugin/content/create.xul", "", "chrome");
- }
-};
-window.addEventListener("load", function(e) { Create.onLoad(e); }, false);
-
-var Address = {
- onLoad: function(){
- this.initialized=true;
- },
-
- onMenuItemCommand: function(){
- open_contact();
-
- }
-};
-
-
-//function to open the window for selecting the partner for a new contact creation
-var Select = {
- onLoad: function(){
- this.initialized=true;
- },
-
- onMenuItemCommand: function(){
- // document.getElementById("txtselectpartner").value="";
- window.open("chrome://openerp_plugin/content/selectpartner.xul", "", "chrome");
- }
-};
-
-
-var CreatePartner = {
- onLoad: function(){
- this.initialized=true;
- },
-
- onMenuItemCommand: function(){
- window.open("chrome://openerp_plugin/content/createpartner.xul", "", "chrome");
- }
-};
-window.addEventListener("load", function(e) { CreatePartner.onLoad(e); }, false);
-
diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.xul b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.xul deleted file mode 100644 index 93ba843b947..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.xul +++ /dev/null @@ -1,96 +0,0 @@ -<?xml version="1.0"?>
-<?xml-stylesheet href="chrome://openerp_plugin/skin/overlay.css" type="text/css"?>
-<!DOCTYPE overlay SYSTEM "chrome://openerp_plugin/locale/overlay.dtd">
-<overlay id="tiny-overlay"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- xmlns:html="http://www.w3.org/1999/xhtml">
-<script type="text/javascript" src="chrome://openerp_plugin/content/tiny_xmlrpc.js"></script>
-<script type="text/javascript" src="chrome://openerp_plugin/content/overlay.js"></script>
-<script type="text/javascript" src="chrome://openerp_plugin/content/exportTools.js"></script>
-
-<menubar id="mail-menubar" >
- <menu insertafter="messageMenu" id="menu_openerp" label="&openerpMenu.label;" accesskey="&openerpMenu.accesskey;">
- <menupopup id="taskPopup">
- <menuitem id="tiny-plugin3" label="&tinyplugin;"
- oncommand="Config.onMenuItemCommand(event);"
- image="&menuicon.settings;"
- class="menuitem-iconic"
- tooltiptext="&pluginconfig.value;"
- />
- <menuseparator/>
- <menuitem id="tiny-plugin4" label="&tinypluginconfig;"
- oncommand="searchmail();"
- image="&menuicon.value;"
- class="menuitem-iconic"
- tooltiptext="&pluginconfigvalue.value;"
- />
- <menuseparator/>
- <menuitem id="tiny-openpartner" label="&openpartner.value;"
- oncommand="open_partner();"
- image="&menuicon.value;"
- class="menuitem-iconic"
- tooltiptext="&openpartnertooltip.value;"
- />
-
- <menuitem id="tiny-opendocument" label="&opendocument.value;"
- oncommand="open_document();"
- image="&menuicon.value;"
- class="menuitem-iconic"
- tooltiptext="&opendocumenttooltip.value;"
- />
-
- </menupopup>
- </menu>
-</menubar>
-
-<!--<menupopup id="taskPopup">-->
-<!-- <menuitem id="tiny-plugin2" label="&tinyplugin;"-->
-<!-- oncommand="Config.onMenuItemCommand(event);"-->
-<!-- image="&menuicon.value;"-->
-<!-- class="menuitem-iconic"-->
-<!-- tooltiptext="&pluginconfig.value;"/>-->
-<!--</menupopup>-->
-
-<!--<menupopup id="taskPopup">-->
-<!-- <menuitem id="tiny-plugin1" label="&tinypluginconfig;"-->
-<!-- oncommand="searchmail();"-->
-<!-- image="&menuicon.value;"-->
-<!-- class="menuitem-iconic"-->
-<!-- tooltiptext="&pluginconfigvalue.value;"/>-->
-<!--</menupopup>-->
-
-<popup id="threadPaneContext">
- <menuitem id="threadPaneContext-saveAsMultiple"
- insertbefore="threadPaneContext-print"
- class="menuitem-iconic"
- image="&menuicon.value;"
- label="Archive To OpenERP"
- accesskey="T"
- oncommand="searchmail();"/>
-</popup>
-
-<toolbarpalette id="MailToolbarPalette">
- <toolbarbutton id="GA-button"
- class="toolbarbutton-1"
- image="&menuicon.value;"
- label= "Push"
- oncommand="searchmail();" />
-</toolbarpalette>
-
-<toolbarpalette id="MailToolbarPalette">
- <toolbarbutton id="GA-button2"
- class="toolbarbutton-1"
- image="&partnericon.value;"
- label= "Partner"
- oncommand="open_partner();"
- />
-</toolbarpalette>
-<toolbarpalette id="MailToolbarPalette">
- <toolbarbutton id="GA-button3"
- class="toolbarbutton-1"
- image="&imagearchive.value;"
- label= "Document"
- oncommand="open_document();" />
-</toolbarpalette>
-
-</overlay>
diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/plugin.xul b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/plugin.xul deleted file mode 100644 index 823856fa6fa..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/plugin.xul +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0"?> -<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> -<!DOCTYPE window SYSTEM "chrome://openerp_plugin/locale/plugin.dtd"> -<window id="pluginwindows" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" - xmlns:html="http://www.w3.org/1999/xhtml" - title="&title.label;" onload="myPrefObserver.loaddata()" height="560" width="960"> - -<script type="text/javascript" src="chrome://openerp_plugin/content/tiny_xmlrpc.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/config.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/loaddata.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/static.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/overlay.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/exportTools.js"></script> -<description></description> -<hbox id="root" height="10" width="800" > -</hbox> -<hbox id="root1" height="380" width="800" > -<vbox> - <caption label="&gptinyobj.label;" /> - <groupbox id="existsobjectgroup" style="border:1px solid black"> - <separator class="groove-thin" orient="horizontal" width="400"/> - <hbox> - <label id="lblsearch" control="txtvalueobj" value="&search.label;"/> - <textbox id="txtvalueobj" size="30"/> - <button label="&bsearch.label;" oncommand="searchCheckbox()" image="&imagesearch.value;" accesskey="s"/> - </hbox> - <vbox align="left" id="checkbox-dynamic" > - </vbox> - <hbox align="left"> - <image src='chrome://openerp_plugin/skin/perform.gif'/> - <checkbox id="cbxselectall" oncommand="selectAllCheckbox();" label="&cbxselectall.label;" checked="false"/> - - </hbox> - <hbox> - <caption label="&document.label;" /> - </hbox> - <vbox> - - <listbox height="250" width="100%" id="listSearchBox" style="border:1px solid red" seltype="multiple"> - <listhead> - <listheader label="&listSearchBox.header;"/> -<!-- <listheader label="&listSearchBox.header2;"/>--> - </listhead> - <listcols> - <listcol flex="1"/> - </listcols> - </listbox> - </vbox> - <hbox align="right" width="480"> - <button label="&attach.label;" accesskey="u" image="&imagearchive.value;" oncommand="attachmentWidnowOpen('upload');"/> - </hbox> - <separator class="groove-thin" orient="horizontal" width="480"/> - </groupbox> - - </vbox> - - <vbox> - <caption label="&newobject.label;" /> - <groupbox id="newobjectgroup" align="left" style="border:1px solid black;" height="100" > - <separator class="groove-thin" orient="horizontal" width="400" height="30"/> - <hbox align="left"> - <vbox> - <label id="lblex3" align="right" width="135" control="section" value="&object.label;"/> - </vbox> - <vbox> - <menulist id="section" width="150"> - <menupopup> - <menuitem label="" value=""/> - </menupopup> - </menulist> - </vbox> - <vbox> - <button width="50" label="&archive.label;" accesskey="c" image="&imagearchive.value;" oncommand="attachmentWidnowOpen('create');"/> - </vbox> - </hbox> - <separator class="groove-thin" orient="horizontal" width="180" height="100"/> - </groupbox> - <caption label="&newcontact.label;" /> - <groupbox id="newcontactgroup" align="left" style="border:1px solid black;"> - <separator class="groove-thin" orient="horizontal" width="400" height="30"/> - <hbox align="left"> - <vbox> - <label align="right" width="135" id="lblsection" control="section" value="&partner.label;"/> - </vbox> - <vbox> - <button label="&create.label;" image="&imagecreate.value;" oncommand="Create.onMenuItemCommand(event);"/> - </vbox> - </hbox> - <separator class="groove-thin" orient="horizontal" width="180" height="215"/> - </groupbox> - - </vbox> - </hbox> - <hbox height="60" align="right" width="800"> - <button label="&close.label;" accesskey="l" image="&imagecancel.value;" oncommand="win_close();"/> - </hbox> -</window> diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/selectpartner.xul b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/selectpartner.xul deleted file mode 100644 index ca35f02cc2a..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/selectpartner.xul +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0"?> -<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> -<!DOCTYPE window SYSTEM "chrome://openerp_plugin/locale/selectpartner.dtd"> -<window id="partnerwindowsid" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml" onload="getPartnerList()" - title="&title.label;" height="500" width="375"> -<script type="text/javascript" src="chrome://openerp_plugin/content/tiny_xmlrpc.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/config.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/loaddata.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/static.js"></script> -<script type="text/javascript" src="chrome://openerp_plugin/content/overlay.js"></script> -<groupbox id="gpPartner"> - <hbox> - <textbox id="txtselectpartner"/> - <spacer width="25"/> - <button label="&bsearch.label;" image="&imagesearch.value;" oncommand="getPartnerList();"/> - </hbox> -</groupbox> -<listbox id="listPartnerBox" flex="1" rows="5"> - <listhead> - <listheader label="&listPartnerName.header;"/> - </listhead> - <listcols> - <listcol flex="1"/> - </listcols> -</listbox> -<description></description> -<hbox> - <button label="Create Partner" image="&imagecreate.value;" oncommand="CreatePartner.onMenuItemCommand(event);"/> - <spacer width="45"/> - <button label="&cancel.label;" image="&imagecancel.value;" oncommand="close();" /> - <button label="&select.label;" image="&imageok.value;" oncommand="selectPartner();close();"/> -</hbox> - -</window> diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/static.js b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/static.js deleted file mode 100644 index c44c5bf7bb4..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/static.js +++ /dev/null @@ -1,19 +0,0 @@ - -//function to check all the checkbox -function selectAllCheckbox() -{ - var objectlist = preferenceBranch.getCharPref("object").split(','); - if(objectlist.length == 1 && objectlist[0]==''){ - return false; - } - for (var i=1;i<=objectlist.length;i++) - { - var checkboxobj = document.getElementById('cbx'+i); - if (!checkboxobj) - continue - if(document.getElementById('cbxselectall').checked == true) - checkboxobj.checked = true; - else - checkboxobj.checked = false; - } -} diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/tiny_xmlrpc.js b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/tiny_xmlrpc.js deleted file mode 100644 index 4661478b31b..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/tiny_xmlrpc.js +++ /dev/null @@ -1,2147 +0,0 @@ -/************************************************************ -* OpenERP, Open Source Management Solution -* Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). -* -* 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/>. -***************************************************************/ - -var xmlRpcClient; - -//Service name on server like /common,/db etc... -var strServerService; - -//temporary variables -var strobject; - -//Array -var arrDbList = new Array(); -var arrPartnerList = new Array(); -var arrFinalList = new Array(); - - -var contentType = new Array(); -var uri = new Array(); -var url = new Array(); -var name = new Array(); -var attach_eml ="no"; -var popup_display = "yes" -var rpc= { - servers: {}, - addserver: function(name,ip,port,path) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - this.servers[name]= { - ip: ip, - port: port, - path: path, - avaible: true, - sock: Components.classes['@mozilla.org/xml-rpc/client;1'].createInstance(Components.interfaces.nsIXmlRpcClient)}; - }, - getany: function(rpcval,n) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var t = ['PRUint8','PRUint16','PRInt16','PRInt32','PRBool','Char','CString','Float','Double','PRTime','InputStream','Array','Dictionary']; - for (var i=0; i<t.length; i++) - try { return [t[i],this.Iget(rpcval,Components.interfaces[((i==10 || i==12)? 'nsI': 'nsISupports')+t[i]],n)]; } catch(e) {} - return [false,'error getany','Undefined type']; - }, - onfault: function(t) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - return (t.constructor==Array && t.length==3 && !t[0] && (t[1].substr(0,5)=='error' || t[1].substr(0,5)=='fault'))? - true : false; - }, - getall: function(rpcval,n) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var t = this.getany(rpcval,n); - if (this.onfault(t)) return t; - if (t[0]=='PRBool') return (t[1]=='true'); - if (t[0]=='PRInt32') return parseInt(t[1]+''); - if (t[0]=='PRTime') { - dte= new Date("January 1, 1970, 00:00:00"); - dte.setUTCMilliseconds(t[1]+''); - return dte; } - if (t[0]=='Double' || t[0]=='Float') return parseFloat(t[1]+''); - if (t[0]=='Char' || t[0]=='CString') return (t[1]+'').replace(/¬/g,'€'); - if (t[0]=='Array') { - var a=[]; - for (var i=0; i<t[1].Count(); i++) a[i]= this.getall(t[1],i); - } else if (t[0]=='Dictionary') { - var a={}; - var keys = t[1].getKeys({}); - for (var k = 0; k < keys.length; k++) - a[keys[k]]= this.getall(t[1],keys[k]); - } else return t[1]; - return a; - }, - Iget: function(rpcval,itype,n) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - if (n == undefined) return rpcval.QueryInterface(itype); - else if (n==parseInt(n)) return rpcval.QueryElementAt(n,itype); - else return rpcval.getValue(n).QueryInterface(itype); - }, - checktype: function(val) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - if (val != undefined) { - switch (val.constructor) { - case Number: return (val==parseInt(val))? 1:4; - case Boolean: return 2; - case String: return 3; - case Date: return 5; - case Object: return 7; - case Array: return 6; - - } - } - return 7; - - }, - set: function(rpcobj,param) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - if (param==undefined) return [false,'error set','Undefined parameter']; - var itype= this.checktype(param); - if (this.onfault(itype)) return itype; - var p = this.servers[rpcobj].sock.createType(itype,{}); - if (itype==6) { - if (param.length>0) - for (var i=0; i<param.length; i++) p.AppendElement( this.set(rpcobj,param[i]) ); - } else if (itype==7) { - for (var i in param) p.setValue( i, this.set(rpcobj,param[i]) ); - } else if (itype==4) { - p.data=(''+param).replace(',','.'); - } else p.data=param; - return p; - }, - ask: function(rpcobj,method,params,func_out) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var a=this.disableNset(rpcobj) ; - if (this.onfault(a)) return a; - var handler = { - onResult: function(client, async, result) { - rpc.servers[rpcobj].avaible= true; - func_out(rpc.getall(result)); }, - onFault: function (client, async, faute) {alert("in ask infault"+result) - rpc.servers[rpcobj].avaible= true; func_out([false,'fault',faute]); }, - onError: function (client, async, status, msg) { - rpc.servers[rpcobj].avaible= true; - if (status=='2147500037') { - status= "no network or no server"; - msg= "1. Check your network connection."; - msg+= "\n2. Check your server connection parameters:"; - msg+= "\n\t"+rpc.servers[rpcobj].ip+":"+rpc.servers[rpcobj].port+"=>"+params[0]; - msg+= "\n3. Your server may not be launched or connected to the network."; - } - func_out([false,'error '+status,msg]); - } }; - var p = []; - for (var i=0; i<params.length; i++) - p[i]= this.set(rpcobj,params[i]); - try { this.servers[rpcobj].sock.asyncCall(handler, null, method, p, p.length); - } catch(e) { - this.servers[rpcobj].avaible= true; - this.servers[rpcobj].sock= Components.classes['@mozilla.org/xml-rpc/client;1'].createInstance(Components.interfaces.nsIXmlRpcClient) ; - func_out([false,'error catch',e]); } - return true; - }, - disableNset: function(rpcobj) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - if (this.servers[rpcobj]) { - this.servers[rpcobj].avaible= false;//alert('http://'+this.servers[rpcobj].ip+':'+this.servers[rpcobj].port+this.servers[rpcobj].path); - server_path=this.servers[rpcobj].ip+':'+this.servers[rpcobj].port+this.servers[rpcobj].path - this.servers[rpcobj].sock.init(server_path); - - return true; } - return [false,'error disableNset','Server vars not set']; - } -} -function handler_function( result ) { - if ( rpc.onfault( result ) ) { alert( result[0] + "\n" + result[1] ); return; } - else{ - alert("got result"+result) - } -} - -//Sets the preference service -function getPref(){ - var prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService); - var branchobj = prefService.getBranch("extensions.tiny."); - branchobj.QueryInterface(Components.interfaces.nsIPrefBranch2); - return branchobj -} - -function setFileName(fname){ - getPref().setCharPref('fname',fname); -} - -//set attachment file save or not -function setAttachment(argAttac){ - getPref().setCharPref('attachment',argAttac); -} - -//set preference value for server url -function setServer(argServer){ - getPref().setCharPref('serverurl',argServer); -} - -//set preference value for server port -function setPort(argPort){ - getPref().setCharPref('serverport',argPort) -} - -//set preference value of database name for data searching and selection -function setDbName(argDbName){ - getPref().setCharPref('serverdbname',argDbName); -} - -//set webserver url -function setWebServerURL(argWebServerURL){ - getPref().setCharPref('webserverurl',argWebServerURL); -} -//set preference value of username for login -function setUsername(argUsername){ - getPref().setCharPref('username',argUsername); -} - -//set preference value of password for login -function setPassword(argPassword){ - getPref().setCharPref('password',argPassword); -} - -//set preference value for storing partner id -function setPartnerId(argPartnerId){ - getPref().setCharPref('partnerid',argPartnerId) -} - -//set preference value for Resource Id -function setResourceId(argResourceId){ - getPref().setCharPref('res_id',argResourceId) -} -//set server service -function setServerService(argServerService){ - strServerService = argServerService; -} - -//set preference value for sender email -function setSenderEmail(argSenderEmail){ - getPref().setCharPref('senderemail',argSenderEmail) -} - -//set preference value for receiver email -function setReceiverEmail(argReceiverEmail){ - getPref().setCharPref('receiveremail',argReceiverEmail) -} - -//set preference value for sender name -function setSenderName(argSenderName){ - getPref().setCharPref('sendername',argSenderName) -} - -//set preference value for email subject -function setSubject(argSubject){ - getPref().setCharPref('subject',argSubject) -} - -//set preference value for email received date -function setReceivedDate(argReceivedDate){ - getPref().setCharPref('receiveddate',argReceivedDate) -} - -//set preference value for storing contact id which is used while storing mail contents after creating a new partner contact -function setContactId(argContactId){ - getPref().setCharPref('contactid',argContactId) -} - -//set preference value for storing attachment option in config -function setAttachValue(argAttachValue){ - getPref().setCharPref('attachvalue',argAttachValue) -} - -//set preference value for email cclist -function setCCList(argCCList){ - getPref().setCharPref('cclist',argCCList) -} - -//set preference value for email message body -function setMessageBody(argMessageBody){ - getPref().setCharPref('messagebody',argMessageBody) -} - -//set preference value for Partner Name -function setPartnerName(argPartnerName){ - getPref().setCharPref('partnername',argPartnerName) -} - -//set preference value for Contact Name -function setContactName(argContactName){ - getPref().setCharPref('contactname',argContactName) -} - -//set preference value for street -function setStreet(argStreet){ - getPref().setCharPref('street',argStreet) -} - -//set preference value for street2 -function setStreet2(argStreet2){ - getPref().setCharPref('street2',argStreet2) -} - -//set preference value for zipcode -function setZipCode(argZipcode){ - getPref().setCharPref('zipcode',argZipcode) -} - -//set preference value for Office Number -function setOfficenumber(argOfficenumber){ - getPref().setCharPref('officeno',argOfficenumber) -} - -//set preference value for Phone Number -function setMobilenumber(argMobilenumber){ - getPref().setCharPref('phoneno',argMobilenumber) -} - -//set preference value for Fax -function setFax(argFax){ - getPref().setCharPref('fax',argFax) -} - -//set preference value for city -function setCity(argCity){ - getPref().setCharPref('city',argCity) -} - -//set preference value for country -function setCountry(argCountry){ - getPref().setCharPref('country',argCountry) -} - -//set preference value for state -function setState(argState){ - getPref().setCharPref('state',argState) -} - - -//set the value for the whole server url -function setServerUrl(argServerUrl) -{ - var seperateUrl = argServerUrl.split(':'); - setServer(seperateUrl.slice(0,seperateUrl.length-1).join(":")); - setPort(seperateUrl[seperateUrl.length-1]); -} - -//set preference value for storing user id -function setUserId(argUserId){ - getPref().setIntPref('userid',argUserId); -} - -//set database list is displaye or not -function setDBList(argDBList){ - getPref().setCharPref('db_list',argDBList) -} - -//set server connect or not -function setconnect_server(argconnect_server){ - getPref().setCharPref('connect_server',argconnect_server) -} - -//set module install or not -function setmodule_install(argconnect_module){ - getPref().setCharPref('module_install',argconnect_module) -} - -//get module install or not -function getmodule_install(){ - return getPref().getCharPref('module_install'); -} - - -//get server connect or not -function getconnect_server(){ - return getPref().getCharPref('connect_server'); -} - - -//get partner id -function getPartnerId(){ - return getPref().getCharPref('partnerid'); -} -//get database list is displaye or not -function getDBList(){ - return getPref().getCharPref('db_list'); -} - -function getFileName(){ - return getPref().getCharPref('fname'); -} - -//get attachment save or not -function getAttachment(){ - return getPref().getCharPref('attachment'); -} - -//get serverurl -function getServer(){ - return getPref().getCharPref('serverurl'); -} - -//get server port -function getPort(){ - return getPref().getCharPref('serverport'); -} - -//get database name -function getDbName(){ - return getPref().getCharPref('serverdbname'); -} - -//get webserver url -function getWebServerURL(){ - return getPref().getCharPref('webserverurl'); -} - -//get webserver port -function getwebPort(){ - return getPref().getCharPref('webserverport'); -} - -//get username from config settings -function getUsername(){ - return getPref().getCharPref('username'); -} - -//get password from config settings -function getPassword(){ - return getPref().getCharPref('password'); -} - -//get serverservice -function getServerService(){ - return strServerService; - -} - -//get sender email -function getSenderEmail(){ - return getPref().getCharPref('senderemail'); -} - -//get receiver email -function getReceiverEmail(){ - return getPref().getCharPref('receiveremail'); -} - -//get resource id -function getResourceId(){ - return getPref().getCharPref('res_id'); -} - - -//get sender name -function getSenderName(){ - str = getPref().getCharPref('sendername'); - if(!str.toString().match(/=?utf-8?q?/)) - { - return str; - } - else - { - - string = str.replace(/[\'Š',\'Ž',\'š',\'ž',\'Ÿ',\'À',\'Á',\'Â',\'Ã',\'Ä',\'Å',\'Ç',\'È',\'É',\'Ê',\'Ë',\'Ì',\'Í',\'Î',\'Ï',\'Ñ',\'Ò',\'Ó',\'Ô',\'Õ',\'Ö',\'Ø',\'Ù',\'Ú',\'Û',\'Ü',\'Ý',\'à',\'á',\'â',\'ã',\'ä',\'å',\'ç',\'è',\'é',\'ê',\'ë',\'ì',\'í',\'î',\'ï',\'ñ',\'ò',\'ó',\'ô',\'õ',\'ö',\'ø',\'ù',\'ú',\'û',\'ü',\'ý',\'ÿ',\'Þ',\'þ',\'Ð',\'ð',\'ß',\'Œ',\'œ',\'Æ',\'æ',\'µ']/g,'"',"'",'“','”',"\n","\r",'_/',"'S','Z','s','z','Y','A','A','A','A','A','A','C','E','E','E','E','I','I','I','I','N','O','O','O','O','O','O','U','U','U','U','Y','a','a','a','a','a','a','c','e','e','e','e','i','i','i','i','n','o','o','o','o','o','o','u','u','u','u','y','y','TH','th','DH','dh','ss','OE','oe','AE','ae','u','','','','','','','-'"); - - var utftext = ""; - var encoded_string = ""; - var convertedString = ""; - for (var n = 0; n < string.length; n++) - { - var c = string.charCodeAt(n); - if (c < 128) { - utftext += String.fromCharCode(c); - } - } - - encoded_string = encode64(utftext); - return encoded_string; - } -} - - -//get partner name -function getPartnerName(){ - return getPref().getCharPref('partnername'); -} - -//get contact name -function getContactName(){ - return getPref().getCharPref('contactname'); -} - - -//get street name -function getStreet(){ - return getPref().getCharPref('street'); -} - -//get street2 name -function getStreet2(){ - return getPref().getCharPref('street2'); -} - -//get zip code -function getZipCode(){ - return getPref().getCharPref('zipcode'); -} - -//get city name -function getCity(){ - return getPref().getCharPref('city'); -} - -//get country name -function getCountry(){ - return getPref().getCharPref('country'); -} - -//get state name -function getState(){ - return getPref().getCharPref('state'); -} - -//get office no -function getOfficenumber(){ - return getPref().getCharPref('officeno'); -} - -//get mobile no -function getMobilenumber(){ - return getPref().getCharPref('phoneno'); -} - -//get fax no -function getFax(){ - return getPref().getCharPref('fax'); -} - - -//get email subject -function getSubject(){ - return getPref().getCharPref('subject'); -} - -//get email received date -function getReceivedDate(){ - return getPref().getCharPref('receiveddate'); -} - -//get contact id which is used while storing mail contents after creating a new partner contact -function getContactId(){ - return getPref().getCharPref('contactid'); -} - -//get attachment option information from the configuration settings -function getAttachValue(){ - return getPref().getCharPref('attachvalue'); -} - -//get email cclist information -function getCCList(){ - return getPref().getCharPref('cclist'); -} - -//get email message body -function getMessageBody(){ - return getPref().getCharPref('messagebody'); -} - -//get the whole server path -function getServerUrl(){ - return getServer()+":"+getPort()+"/"+getServerService(); -} - -//get user id for the xmlrpc request -function getUserId(){ - return getPref().getIntPref('userid'); -} - -//Creates and returns and instance of the XML-RPC client -function getClient() { - // Enable correct security - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - return Components.classes['@mozilla.org/xml-rpc/client;1'].createInstance(Components.interfaces.nsIXmlRpcClient); -} - -//returns the xmlrpc client instance -function getXmlRpc() { - if (!xmlRpcClient) { - xmlRpcClient = getClient(); - } - - // Initialize the client with the URL - xmlRpcClient.init(getServerUrl()); - return xmlRpcClient; -} - -// function to get all basic parameters -function getBasicList(){ - var branchobj = getPref(); - arrBasicList = []; - arrBasicList[0] = branchobj.getCharPref("serverdbname"); - arrBasicList[1] = branchobj.getIntPref('userid'); - arrBasicList[2] = branchobj.getCharPref("password"); - arrBasicList[3] = getServer() - arrBasicList[4] = getPort() - return arrBasicList -} - -function createMenuItem_db(aLabel) { - const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; - var item = document.createElementNS(XUL_NS, "menuitem"); // create a new XUL menuitem - item.setAttribute("label", aLabel); - item.setAttribute("value", aLabel); - return item; -} - -//xmlrpc request handler for getting the list of database -var listDbHandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var arrMethodList = result.QueryInterface(Components.interfaces.nsISupportsArray); - // Set the number of results - var count = arrMethodList.Count(); - // Loop through the results, adding items to the list - for (i = 0; i < count; i++) { - var strlDbName = arrMethodList.QueryElementAt(i, Components.interfaces.nsISupportsCString); - arrDbList[i] = strlDbName.data; - } - var database = "" - if (count > 0) - { - setDBList("true"); - var label = document.getElementById("database_option"); - var vbox = document.createElement("vbox"); - var hbox = document.createElement("hbox"); - var label1 = document.createElement("label"); - label1.setAttribute("width","80"); - label1.setAttribute("value","Database:"); - label1.setAttribute("id","label111"); - var menu1 = document.createElement("menulist"); - var menupopup1 = document.createElement("menupopup"); - menu1.setAttribute("id","DBlist"); - menu1.setAttribute("width","300"); - var menuitem1 = document.createElement("menuitem"); - database = arrDbList[0] - menuitem1.setAttribute("label", arrDbList[0]); - menuitem1.setAttribute("value", arrDbList[0]); - menupopup1.appendChild(menuitem1); - menu1.appendChild(menupopup1) - hbox.appendChild(label1); - hbox.appendChild(menu1); - vbox.appendChild(hbox); - label.appendChild(vbox); - - var d = document.getElementById("first"); - var d_nested = document.getElementById("lbldb_list1"); - var throwawayNode = d.removeChild(d_nested); - var d_nested = document.getElementById("DBlist_text"); - var throwawayNode = d.removeChild(d_nested); - - - } - else - { - setDBList("false"); - } - // Loop through the results, adding items to the list - if (count) - { - const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; - var popup = document.getElementById("DBlist"); // a <menupopup> element - var arrsec=new Array() - for (var i=0;i<popup.menupopup.childNodes.length;i++) { - arrsec.push(popup.menupopup.childNodes[i].label) - } - for (i=0;i<arrDbList.length;i++){ - - if (arrsec.indexOf(arrDbList[i])==-1) { - if (arrDbList[i] != database){ - popup.menupopup.appendChild(createMenuItem_db(arrDbList[i])); - } - } - } - } - }, - - - onFault: function (client, ctxt, fault) { - setDBList("false"); - }, - - onError: function (client, ctxt, status, errorMsg) { - setDBList("false"); - } -}; -//function to get the database list -function getDbList(argControl) -{ - setDBList("false"); - setconnect_server("true"); - // Enable correct security - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - // Get the instance of the XML-RPC client - var xmlRpcClient = getXmlRpc(); - arrDbList = []; - var cmbDbList = document.getElementById(argControl); - - xmlRpcClient.asyncCall(listDbHandler,cmbDbList,'list',[],0); - return arrDbList; -} - -function createMenuItem_partner(aLabel, aValue) { - const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; - var item = document.createElementNS(XUL_NS, "menuitem"); // create a new XUL menuitem - item.setAttribute("label", aLabel); - item.setAttribute("value", aValue); - return item; -} - -//xmlrpc request handler for getting the list of All objects -var listAllDocumentHandler = { - - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var arrIdList = result.QueryInterface(Components.interfaces.nsISupportsArray); - // Set the number of results - var count = arrIdList.Count(); - - // Loop through the results, adding items to the list - for (i = 0; i < count; i++) { - var strlResult = arrIdList.QueryElementAt(i, Components.interfaces.nsISupportsArray); - var resultcount = strlResult.Count(); - var arrDataPair = new Array(); - arrDataPair[0] = strlResult.QueryElementAt(0, Components.interfaces.nsISupportsCString); - arrDataPair[1] = strlResult.QueryElementAt(1, Components.interfaces.nsISupportsCString); - arrPartnerList[i] = arrDataPair; - } - if (context) - { - const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; - var popup = document.getElementById("section"); // a <menupopup> element - for (i=0;i<arrPartnerList.length;i++){ - popup.menupopup.appendChild(createMenuItem_partner(arrPartnerList[i][1],arrPartnerList[i][0])); - } - } - popup_display = "no" - searchCheckbox() - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } -} - -var listAllCountryHandler = { - - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var arrIdList = result.QueryInterface(Components.interfaces.nsISupportsArray); - var count = arrIdList.Count(); - // Loop through the results, adding items to the list - for (i = 0; i < count; i++) { - var strlResult = arrIdList.QueryElementAt(i, Components.interfaces.nsISupportsArray); - var resultcount = strlResult.Count(); - var arrDataPair = new Array(); - arrDataPair[0] = strlResult.QueryElementAt(0, Components.interfaces.nsISupportsPRInt32); - - arrDataPair[1] = strlResult.QueryElementAt(1, Components.interfaces.nsISupportsCString); - arrPartnerList[i] = arrDataPair; - } - if (!context) - { - const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; - var popup = document.getElementById("country"); // a <menupopup> element - for (i=0;i<arrPartnerList.length;i++){ - popup.menupopup.appendChild(createMenuItem_partner(arrPartnerList[i][1],arrPartnerList[i][0])); - } - } - - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } -} - -var listAllStateHandler = { - - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var arrIdList = result.QueryInterface(Components.interfaces.nsISupportsArray); - // Set the number of results - var count = arrIdList.Count(); - - // Loop through the results, adding items to the list - for (i = 0; i < count; i++) { - var strlResult = arrIdList.QueryElementAt(i, Components.interfaces.nsISupportsArray); - var resultcount = strlResult.Count(); - var arrDataPair = new Array(); - arrDataPair[0] = strlResult.QueryElementAt(0, Components.interfaces.nsISupportsPRInt32); - arrDataPair[1] = strlResult.QueryElementAt(1, Components.interfaces.nsISupportsCString); - arrPartnerList1[i] = arrDataPair; - - - } - if (!context) - { - const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; - - var popup = document.getElementById("state"); - // a <menupopup> element - for (i=0;i<arrPartnerList1.length;i++){ - popup.menupopup.appendChild(createMenuItem_partner(arrPartnerList1[i][1],arrPartnerList1[i][0])); - - } - // popup.menupopup.selectedItem = popup.menupopup.firstChild; - } - - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } -} - - -//function to get the list of All object -function getAllDocument(){ - var branchobj = getPref(); - setServerService('xmlrpc/object'); - var xmlRpcClient = getXmlRpc(); - arrPartnerList = []; - var end = document.getElementById("section") - length = end.itemCount - for (i = 0; i < length; i++) { - end.removeItemAt(0) - } - var cmdObjectList = document.getElementById("section"); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struid = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struid.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'list_alldocument'; - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'thunderbird.partner'; - var strvalue = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strvalue.data = "" - xmlRpcClient.asyncCall(listAllDocumentHandler,cmdObjectList,'execute',[ strDbName,struid,strpass,strobj,strmethod,strvalue ],6); -} - -function getAllCountry(){ - var branchobj = getPref(); - setServerService('xmlrpc/object'); - var xmlRpcClient = getXmlRpc(); - arrPartnerList = []; - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struid = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struid.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'list_allcountry'; - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'thunderbird.partner'; - var strvalue = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strvalue.data = document.getElementById("country").value; - xmlRpcClient.asyncCall(listAllCountryHandler,null,'execute',[ strDbName,struid,strpass,strobj,strmethod,strvalue ],6); -} - -function getAllState(){ - var branchobj = getPref(); - setServerService('xmlrpc/object'); - var xmlRpcClient = getXmlRpc(); - arrPartnerList1 = []; - var state = document.getElementById('state').menupopup; - while (state.firstChild) - { - //The list is LIVE so it will re-index each call - state.removeChild(state.firstChild); - }; - - - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struid = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struid.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'list_allstate'; - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'thunderbird.partner'; - var strvalue = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strvalue.data = document.getElementById("country").value; - xmlRpcClient.asyncCall(listAllStateHandler,null,'execute',[ strDbName,struid,strpass,strobj,strmethod,strvalue ],6); -} - - -//function to create array object to pass as an parameter for xmlrpc request -function dictcreation(value,checkboxobj){ - var temp = xmlRpcClient.createType(xmlRpcClient.ARRAY,{}); - var test = xmlRpcClient.createType(xmlRpcClient.ARRAY,{}); - var strkey = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strkey.data = value; - test.AppendElement(strkey); - temp.AppendElement(test); - var test1 = xmlRpcClient.createType(xmlRpcClient.ARRAY,{}); - for(i=0;i<checkboxobj.length;i++){ - var strvalue = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strvalue.data = checkboxobj[i]; - test1.AppendElement(strvalue); - } - if(checkboxobj.length>0){ - temp.AppendElement(test1); - } - return temp; -} - -//function to search and fillup section selection box -function createMenuItem(aLabel) { - const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; - var item = document.createElementNS(XUL_NS, "menuitem"); // create a new XUL menuitem - item.setAttribute("label", aLabel[1]); - item.setAttribute("value", aLabel[0]); - return item; -} - - -var listinstallmodulehandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var arrIdList = result.QueryInterface(Components.interfaces.nsISupportsArray); - var count = arrIdList.Count(); - if (count > 0) - { - setmodule_install('yes') - } - - }, - onFault: function (client, ctxt, fault) { - setmodule_install('no') - }, - - onError: function (client, ctxt, status, errorMsg) { - setmodule_install('no') - } -} - -function module_install() -{ - setmodule_install("no") - var branchobj = getPref(); - setServerService('xmlrpc/object'); - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var xmlRpcClient = getXmlRpc(); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struid = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struid.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'name_search'; - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'ir.model'; - var strvalue = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strvalue.data = 'thunderbird.partner'; - xmlRpcClient.asyncCall(listinstallmodulehandler,null,'execute',[ strDbName,struid,strpass,strobj,strmethod, strvalue],6); -} - - - -var listSearchContactHandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var sendername = getSenderEmail(); - var arrIdList = result.QueryInterface(Components.interfaces.nsISupportsArray); - var count = arrIdList.Count(); - for (i = 0; i < count; i++) { - var strlResult = arrIdList.QueryElementAt(i, Components.interfaces.nsISupportsArray); - var strlSearchResult = strlResult.QueryElementAt(0, Components.interfaces.nsISupportsCString); - var strlSearchResultValue = strlResult.QueryElementAt(1, Components.interfaces.nsISupportsCString); - if(strlSearchResult=="partner_name"){ - setPartnerName(strlSearchResultValue); - var t = getPartnerName();} - - if(strlSearchResult=="contactname"){ - setSenderName(strlSearchResultValue); - var t = getSenderName();} - - if(strlSearchResult=="street"){ - setStreet(strlSearchResultValue); - var t = getStreet();} - - if(strlSearchResult=="street2"){ - setStreet2(strlSearchResultValue); - var t = getStreet2();} - - if(strlSearchResult=="zip"){ - setZipCode(strlSearchResultValue); - var t = getZipCode();} - - if(strlSearchResult=="city"){ - setCity(strlSearchResultValue); - var t = getCity();} - - if(strlSearchResult=="phone"){ - setOfficenumber(strlSearchResultValue); - var t = getOfficenumber();} - - if(strlSearchResult=="fax"){ - setFax(strlSearchResultValue); - var t = getFax();} - - if(strlSearchResult=="mobile"){ - setMobilenumber(strlSearchResultValue); - var t = getMobilenumber();} - - if(strlSearchResult=="email" && strlSearchResultValue!=''){ - setSenderEmail(strlSearchResultValue); - var t = getSenderEmail(); - window.open("chrome://openerp_plugin/content/address.xul", "", "chrome, resizable=yes");} - - if(strlSearchResult=="email" && strlSearchResultValue==''){ - alert("Contact is not available."); - } - - if(strlSearchResult=="res_id"){ - setResourceId(strlSearchResultValue); - var t = getResourceId();} - } - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } - -} - -var listSearchContactdetailHandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - // var sendername = getSenderEmail(); - var sendername = document.getElementById("txtemail").value - var arrIdList = result.QueryInterface(Components.interfaces.nsISupportsArray); - var count = arrIdList.Count(); - for (i = 0; i < count; i++) { - var strlResult = arrIdList.QueryElementAt(i, Components.interfaces.nsISupportsArray); - var strlSearchResult = strlResult.QueryElementAt(0, Components.interfaces.nsISupportsCString); - var strlSearchResultValue = strlResult.QueryElementAt(1, Components.interfaces.nsISupportsCString); - if(strlSearchResult=="email" && strlSearchResultValue=='') - { - alert("Contact is not Available.") - document.getElementById("txtemail").value = sendername; - } - if(strlSearchResult=="partner_name"){ - document.getElementById("txtselectpartner").value =strlSearchResultValue;} - - if(strlSearchResult=="contactname"){ - document.getElementById("txtcontactname").value =strlSearchResultValue;} - - if(strlSearchResult=="street"){ - document.getElementById("txtstreet").value =strlSearchResultValue;} - - if(strlSearchResult=="street2"){ - document.getElementById("txtstreet2").value =strlSearchResultValue;} - if(strlSearchResult=="zip"){ - document.getElementById("txtzip").value =strlSearchResultValue;} - - if(strlSearchResult=="city"){ - document.getElementById("txtcity").value =strlSearchResultValue;} - if(strlSearchResult=="phone"){ - document.getElementById("txtoffice").value =strlSearchResultValue;} - - if(strlSearchResult=="fax"){ - document.getElementById("txtfax").value =strlSearchResultValue;} - - if(strlSearchResult=="mobile"){ - document.getElementById("txtmobile").value =strlSearchResultValue;} - - if(strlSearchResult=="email"&& strlSearchResultValue!=''){ - alert("Contact is Available.") - document.getElementById("txtemail").value =strlSearchResultValue;} - - if(strlSearchResult=="res_id"){ - setResourceId(strlSearchResultValue); - var t = getResourceId();} - - } - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } - -} - -function searchContactdetail() -{ - var branchobj = getPref(); - setServerService('xmlrpc/object'); - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - arrFinalList = []; - var xmlRpcClient = getXmlRpc(); - var cmbSearchList = document.getElementById('listSearchBox'); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struid = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struid.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'thunderbird.partner'; - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'search_contact'; - var strname = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strname.data = document.getElementById("txtemail").value; - xmlRpcClient.asyncCall(listSearchContactdetailHandler,cmbSearchList,'execute',[ strDbName,struid,strpass,strobj,strmethod,strname ],6); -} - -//xmlrpc request handler for getting the search results for the particular selected check box object -var listSearchCheckboxHandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var arrMethodList = result.QueryInterface(Components.interfaces.nsISupportsArray); - // Set the number of results - var count = arrMethodList.Count(); - var close=0; - if(count == 0 && popup_display != "no"){ - alert("No Records Found"); - return false; - } - else if(count ==2 ) - { - if (arrMethodList.QueryElementAt(0, Components.interfaces.nsISupportsCString)=="error") - { - close =1; - } - } - popup_display = "yes" - // Loop through the results, adding items to the list - var arr1 = new Array(); - var arr2 = new Array(); - var flag1 = 0; - var flag2 = 0; - var er =""; - var er_val =new Array(); - for (i = 0; i < count; i++) - { - if(i%2==0){ - if (arrMethodList.QueryElementAt(i, Components.interfaces.nsISupportsCString)=="error") - { - er = arrMethodList.QueryElementAt(i, Components.interfaces.nsISupportsCString); - er_val[0] =arrMethodList.QueryElementAt(i+1, Components.interfaces.nsISupportsArray); - i +=1; - continue; - } - arr1[flag1] = arrMethodList.QueryElementAt(i, Components.interfaces.nsISupportsCString); - flag1++; - } - else{ - arr2[flag2] = arrMethodList.QueryElementAt(i, Components.interfaces.nsISupportsArray); - flag2++; - } - } - if (er) - { - var arrSearchList1 = new Array(); - for(j=0;j<er_val[0].Count();j++) - { - var arrDataPair = new Array(); - arrDataPair[0] = er_val[0].QueryElementAt(j, Components.interfaces.nsISupportsCString) - arrSearchList1[j]=arrDataPair; - } - alert( arrSearchList1 + " Model not exists") - if (close == 1) - { - alert("No Records Found"); - return false; - } - } - for (i = 0; i < arr2.length; i++) { - var arrSearchList1 = new Array(); - for(j=0;j<arr2[i].Count();j++){ - var strlSearchResult = arr2[i].QueryElementAt(j, Components.interfaces.nsISupportsArray); - var resultcount = strlSearchResult.Count(); - var arrDataPair = new Array(); - arrDataPair[0] = strlSearchResult.QueryElementAt(0, Components.interfaces.nsISupportsPRInt32); - arrDataPair[1] = strlSearchResult.QueryElementAt(1, Components.interfaces.nsISupportsCString); - arrDataPair[2] = arr1[i]; - arrSearchList1[j] = arrDataPair; - } - arrFinalList[i]=arrSearchList1; - } - if (context) - { - - var row_count = context.getRowCount(); - var cmbSearchList = document.getElementById('listSearchBox'); - for (i=0;i<row_count;i++) - { - context.removeItemAt(0); - } - for (i=0;i<arrFinalList.length;i++) - { - for(j=0;j<arrFinalList[i].length;j++){ - //creates the dynamic listbox which shows the searched records for the selected object in checkbox - var listcell = document.createElement("listcell"); - var listItem = document.createElement("listitem"); - - var objectcharpref = getPref().getCharPref("object").split(','); - var imagecharpref = getPref().getCharPref("imagename").split(','); - var imagename = '' - for(k=0;k<objectcharpref.length;k++){ - if(arr1[i] == objectcharpref[k]){ - imagename = imagecharpref[k] - } - } - - listcell.setAttribute("image",imagename); // stores the image of the object - listcell.setAttribute("class","listcell-iconic"); - listcell.setAttribute("width",12); - listcell.setAttribute("height",12); - listcell.setAttribute("label",arrFinalList[i][j][1]); //stores the name ofthe record - listItem.appendChild(listcell); - listItem.value = arrFinalList[i][j][0]; //stores the id of the record - listItem.label = arr1[i]; // stores the value of the object - cmbSearchList.appendChild(listItem); - } - } - } - }, - - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } -}; - -//function to search the records of selected checkbox object -function searchCheckbox() -{ - var checkboxlist = getnamesearch(); - if(checkboxlist.length == 0){ - alert("Please Select One or More Document"); - return false; - } - var branchobj = getPref(); - setServerService('xmlrpc/object'); - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - arrFinalList = []; - var xmlRpcClient = getXmlRpc(); - var end = document.getElementById('listSearchBox').getRowCount(); - for(i=0; i< end; i++){ - document.getElementById('listSearchBox').removeItemAt(0); - } - var cmbSearchList = document.getElementById('listSearchBox'); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struid = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struid.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'search_checkbox'; - var strname = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strname.data = document.getElementById('txtvalueobj').value; - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'thunderbird.partner'; - var arrofarr = dictcreation(strname,checkboxlist); - xmlRpcClient.asyncCall(listSearchCheckboxHandler,cmbSearchList,'execute',[ strDbName,struid,strpass,strobj,strmethod,arrofarr ],6); -} - -function searchContact() -{ - var branchobj = getPref(); - setServerService('xmlrpc/object'); - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - arrFinalList = []; - var xmlRpcClient = getXmlRpc(); - var cmbSearchList = document.getElementById('listSearchBox'); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struid = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struid.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'thunderbird.partner'; - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'search_contact'; - var strname = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strname.data = getSenderEmail(); - - xmlRpcClient.asyncCall(listSearchContactHandler,cmbSearchList,'execute',[ strDbName,struid,strpass,strobj,strmethod,strname ],6); -} - -//xmlrpc request handler for getting the list of partners -var listPartnerHandler = { - - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var arrIdList = result.QueryInterface(Components.interfaces.nsISupportsArray); - // Set the number of results - var count = arrIdList.Count(); - // Loop through the results, adding items to the list - for (i = 0; i < count; i++) { - var strlResult = arrIdList.QueryElementAt(i, Components.interfaces.nsISupportsArray); - var resultcount = strlResult.Count(); - var arrDataPair = new Array(); - arrDataPair[0] = strlResult.QueryElementAt(0, Components.interfaces.nsISupportsPRInt32); - arrDataPair[1] = strlResult.QueryElementAt(1, Components.interfaces.nsISupportsCString); - arrPartnerList[i] = arrDataPair; - } - if (context) - { - var row_count = context.getRowCount(); - var cmdPartnerList = document.getElementById('listPartnerBox'); - for (i=0;i<row_count;i++) - { - context.removeItemAt(0); - } - for (i=0;i<arrPartnerList.length;i++) - { - var listcell = document.createElement("listcell"); - var listItem = document.createElement("listitem"); - listcell.setAttribute("label",arrPartnerList[i][1]); - listItem.appendChild(listcell); - listItem.value = arrPartnerList[i][0]; - cmdPartnerList.appendChild(listItem); - } - } - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } -} - -//function to get the list of partners -function getPartnerList(){ - var branchobj = getPref(); - window.opener.document.getElementById('txtselectpartner').setAttribute('value',''); - setServerService('xmlrpc/object'); - var xmlRpcClient = getXmlRpc(); - arrPartnerList = []; - var end = document.getElementById('listPartnerBox').getRowCount(); - for(i=0; i< end; i++){ - document.getElementById('listPartnerBox').removeItemAt(0); - } - var cmdPartnerList = document.getElementById('listPartnerBox'); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struid = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struid.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'name_search'; - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'res.partner'; - var strvalue = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strvalue.data = document.getElementById('txtselectpartner').value; - xmlRpcClient.asyncCall(listPartnerHandler,cmdPartnerList,'execute',[ strDbName,struid,strpass,strobj,strmethod,strvalue ],6); -} - -//function to create the xmlrpc supported variables for xmlrpc request -function dictcontact(a,b){ - var temp = xmlRpcClient.createType(xmlRpcClient.ARRAY,{}); - for(i=0;i<a.length;i++){ - var strkey = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strkey.data = a[i] - var strvalue = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strvalue.data = b[i] - var test = xmlRpcClient.createType(xmlRpcClient.ARRAY,{}); - test.AppendElement(strkey); - test.AppendElement(strvalue); - temp.AppendElement(test); - } - return temp; -} - -//xmlrpc request handler for creating the record of mail -var listArchiveHandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - list_documents = document.getElementById('listSearchBox') - var createId = result.QueryInterface(Components.interfaces.nsISupportsPRInt32); - createId = parseInt(createId); - if(createId==0) - { - alert("Mail is Already Pushed."); - } - else if (createId<0) - { - alert("sorry Mail is not Pushed."); - - } - - else if (createId>=1) - { - alert("Mail is Successfully Pushed."); - } - window.close(); - - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } -} - -//function to archive the mail content through xmlrpc request -function upload_archivemail() -{ - list_documents = document.getElementById('listSearchBox') - var context = [] - var cnt = list_documents.selectedCount - var ref_ids = ""; - var branchobj = getPref(); - setServerService('xmlrpc/object'); - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var xmlRpcClient = getXmlRpc(); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struids = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struids.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'history_message'; - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'thunderbird.partner'; - var resobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - - - for(i=0;i<cnt;i++) - { - var object = list_documents.getSelectedItem(i); - var eml_string = parse_eml(); - ref_ids += object.label; - ref_ids += ","; - ref_ids += object.value; - if (i < cnt-1){ref_ids += ";";} - - } - var a = ['ref_ids','message']; - var b = [ref_ids, eml_string]; - var arrofarr = dictcontact(a,b); - xmlRpcClient.asyncCall(listArchiveHandler,null,'execute',[strDbName,struids,strpass,strobj,strmethod,arrofarr],6); - -} - -var listArchiveDocumentHandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var createId = result.QueryInterface(Components.interfaces.nsISupportsPRInt32); - var popup = document.getElementById("section").selectedItem; - alert("Document Created Successfully For " +" " + ":" + " "+ popup.label); - window.close(); - - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } -} - -function create_archivemail(){ - var popup = document.getElementById("section").selectedItem; - // a <menupopup> element - - if (String(popup) != "null"){ - object=popup.value; - if (object == undefined) { alert("select At Least one Document !")} - else{ - var branchobj = getPref(); - setServerService('xmlrpc/object'); - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var xmlRpcClient = getXmlRpc(); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struids = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struids.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'process_email'; - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'thunderbird.partner'; - var eml_string = parse_eml() - var a = ['model', 'message']; - var b = [object, eml_string]; - var arrofarr = dictcontact(a,b); - xmlRpcClient.asyncCall(listArchiveDocumentHandler,null,'execute',[strDbName,struids,strpass,strobj,strmethod,arrofarr],6); - //alert("Document Created Successfully For " +" " + ":" + " "+ popup.label); - } - //window.close(); - } - else - { - alert(" select At Least one Document !") - } -} - - -//xmlrpc request handler for creating a new contact -var listCreateContactHandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var createId = result.QueryInterface(Components.interfaces.nsISupportsPRInt32); - setContactId(createId); - alert("Contact Created Successfully."); - window.close(); - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } -} - -var listUpdateContactHandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - alert("Contact Update Successfully."); - window.close(); - var partnerId = result.QueryInterface(Components.interfaces.nsISupportsPRInt32); - setResourceId(partnerId); - window.close(); - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } -} - -//function to create a new contact -function createContact(){ - var branchobj = getPref(); - setServerService('xmlrpc/object'); - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var xmlRpcClient = getXmlRpc(); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struids = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struids.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'create_contact'; - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'thunderbird.partner'; - var a = ['partner_id','name','street','street2','zip','city','country_id','state_id','phone','fax','mobile','email']; - var b = [getPartnerId(),document.getElementById("txtname").value,document.getElementById("txtstreet").value,document.getElementById("txtstreet2").value,document.getElementById("txtzip").value, document.getElementById("txtcity").value,document.getElementById("country").value,document.getElementById("state").value,document.getElementById("txtoffice").value,document.getElementById("txtfax").value,document.getElementById("txtmobile").value,document.getElementById("txtemail").value]; - var arrofarr = dictcontact(a,b); - xmlRpcClient.asyncCall(listCreateContactHandler,null,'execute',[strDbName,struids,strpass,strobj,strmethod,arrofarr],6); -} - -function UpdateContact(){ - var branchobj = getPref(); - setServerService('xmlrpc/object'); - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var xmlRpcClient = getXmlRpc(); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struids = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struids.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'update_contact'; - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'thunderbird.partner'; - var a = ['res_id','partner_id','name','street','street2','zip','city','country_id','state_id','phone','fax','mobile','email']; - var b = [getResourceId(),document.getElementById("txtselectpartner").value,document.getElementById("txtcontactname").value,document.getElementById("txtstreet").value,document.getElementById("txtstreet2").value,document.getElementById("txtzip").value, document.getElementById("txtcity").value,document.getElementById("country").value,document.getElementById("state").value,document.getElementById("txtoffice").value,document.getElementById("txtfax").value,document.getElementById("txtmobile").value,document.getElementById("txtemail").value]; - var arrofarr = dictcontact(a,b); - xmlRpcClient.asyncCall(listUpdateContactHandler,null,'execute',[strDbName,struids,strpass,strobj,strmethod,arrofarr],6); -} - -//xmlrpc request handler for creating a attachment record -var listAttachHandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var createId = result.QueryInterface(Components.interfaces.nsISupportsPRInt32); - - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } -} - - -//function to encode the string into base64 -var base64chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(""); -function base64_encode (s) - { - // the result/encrypted string, the padding string, and the pad count - var r = ""; var p = ""; var c = s.length % 3; - - // add a right zero pad to make this string a multiple of 3 characters - if (c > 0) { for (; c < 3; c++) { p += '='; s += "\0"; } } - - // increment over the length of the string, three characters at a time - for (c = 0; c < s.length; c += 3) { - - // we add newlines after every 76 output characters, according to the MIME specs - if (c > 0 && (c / 3 * 4) % 76 == 0) { r += "\r\n"; } - - // these three 8-bit (ASCII) characters become one 24-bit number - var n = (s.charCodeAt(c) << 16) + (s.charCodeAt(c+1) << 8) + s.charCodeAt(c+2); - - // this 24-bit number gets separated into four 6-bit numbers - n = [(n >>> 18) & 63, (n >>> 12) & 63, (n >>> 6) & 63, n & 63]; - - // those four 6-bit numbers are used as indices into the base64 character list - r += base64chars[n[0]] + base64chars[n[1]] + base64chars[n[2]] + base64chars[n[3]]; - - // add the actual padding string, after removing the zero pad - } return r.substring(0, r.length - p.length) + p; - } - -//function to encode the string into base64 -var keyStr = "ABCDEFGHIJKLMNOP" + - "QRSTUVWXYZabcdef" + - "ghijklmnopqrstuv" + - "wxyz0123456789+/" + - "="+"-_.!~*'()"; - -function encode64(input) { -var output = ""; -var chr1, chr2, chr3 = ""; -var enc1, enc2, enc3, enc4 = ""; -var i = 0; - -do { - chr1 = input.charCodeAt(i++); - chr2 = input.charCodeAt(i++); - chr3 = input.charCodeAt(i++); - - enc1 = chr1 >> 2; - enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); - enc3 = ((chr2 & 15) << 2) | (chr3 >> 6); - enc4 = chr3 & 63; - - if (isNaN(chr2)) { - enc3 = enc4 = 64; - } else if (isNaN(chr3)) { - enc4 = 64; - } - - output = output + - keyStr.charAt(enc1) + - keyStr.charAt(enc2) + - keyStr.charAt(enc3) + - keyStr.charAt(enc4); - chr1 = chr2 = chr3 = ""; - enc1 = enc2 = enc3 = enc4 = ""; -} while (i < input.length); - -return output; -} - - -//function to read the contents of the attachment files from the temp folder -function createInstance(name,test){ - var encoded_string = ''; - var file_name = '' - - for(i=0;i<test.length;i++){ - var stream = Components.classes["@mozilla.org/network/file-input-stream;1"].createInstance(Components.interfaces.nsIFileInputStream); - stream.init(test[i], 0x01, 00004, 0); - var bstream = Components.classes["@mozilla.org/binaryinputstream;1"].createInstance(Components.interfaces.nsIBinaryInputStream); - bstream.setInputStream(stream); - var r = new Array(); - var fileContents = bstream.readByteArray(bstream.available(),r); - bstream.close(); - var printstring = ''; - for(j=0;j<fileContents.length;j++) - { - printstring += String.fromCharCode(fileContents[j]); - } - encoded_string += encode64(printstring)+','; - file_name += name[i]+','; - test[i].remove(true); - } - encoded_string = encoded_string.substring(0,encoded_string.length-1); - file_name = file_name.substring(0,file_name.length-1); - getPref().setCharPref('displayName',file_name); - getPref().setCharPref('attachmentdata',encoded_string); - - -} - -//xmlrpc request handler for handling the login information -function check_module_install(count){ - if (getmodule_install() == "no") - { - if (count <= 0){ return false; } - count = count - 1; - return check_module_install(count) - } - return true -} - -var listLoginHandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var login = result.QueryInterface(Components.interfaces.nsISupportsPrimitive) - if(login.type == 12){ - login = result.QueryInterface(Components.interfaces.nsISupportsPRInt32) - setUserId(login.data); - module_install(); - alert('Successfully Login To OpenERP.'); - window.close(); - } - else{ - alert("Login Failed"); - } - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - alert("Database does not Exist!\n\n Please specify proper database name."); - } -} - - -//function to check the login information -function testConnection(){ - if (getconnect_server() == "false") - { - alert("Server is Not Running...Please check it!!"+" "+getServer()) - return false; - } - if (getDBList()=="false") - { - if (document.getElementById('DBlist_text').value =='') - { - alert("You Must Enter Database Name."); - return false; - } - setDbName(document.getElementById('DBlist_text').value); - } - else - { - if (document.getElementById('DBlist').value == 0 || document.getElementById('DBlist').value =="--select--") - { - alert("You Must Select Database Name."); - return false; - } - setDbName(document.getElementById('DBlist').value); - } - var branchobj = getPref(); - setServer(document.getElementById('txturl').value); - var s = document.getElementById('txturl').value; - var a =s.split(':'); - setPort(a[a.length-1]); - setUsername(document.getElementById('txtusername').value); - setPassword(document.getElementById('txtpassword').value); - setServerService('xmlrpc/common'); - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var xmlRpcClient = getXmlRpc(); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = getPref().getCharPref('serverdbname'); - var strusername = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strusername.data = getPref().getCharPref('username'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = getPref().getCharPref('password'); - xmlRpcClient.asyncCall(listLoginHandler,null,'login',[strDbName,strusername,strpass],3); - -} - -function testConnection_web(){ - var branchobj = getPref(); - weburl = getWebServerURL(); - var messenger = Components.classes["@mozilla.org/messenger;1"].createInstance(); - messenger = messenger.QueryInterface(Components.interfaces.nsIMessenger); - messenger.launchExternalURL(weburl); - -} - -//xmlrpc request handler for handling the login information -var listcreateLoginHandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var login = result.QueryInterface(Components.interfaces.nsISupportsPrimitive) - setconnect_server("true") - if(login.type == 12){ - login = result.QueryInterface(Components.interfaces.nsISupportsPRInt32) - setUserId(login.data); - } - else{ - alert("Login Failed."); - } - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - setconnect_server("false") - } -} - -//function to check the login information -function createConnection(){ - setconnect_server("true"); - var branchobj = getPref(); - setServerService('xmlrpc/common'); - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var xmlRpcClient = getXmlRpc(); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = getPref().getCharPref('serverdbname'); - var strusername = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strusername.data = getPref().getCharPref('username'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = getPref().getCharPref('password'); - xmlRpcClient.asyncCall(listcreateLoginHandler,null,'login',[strDbName,strusername,strpass],3); -} - -//xmlrpc request handler for handling the partner information -var listCreatePartnerHandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var createId = result.QueryInterface(Components.interfaces.nsISupportsPRInt32); - setPartnerId(createId); - txtselectpartner = document.getElementById('txtselectpartner') - if(typeof(createId.data) == 'number' && createId!=0){ - window.opener.document.getElementById('txtselectpartner').setAttribute('value',txtselectpartner.value); - window.close(); - } - if(createId == 0){ - alert("Partner Already Exist."); - } - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } -} -//function to create the tiny partner object -function createPartner(){ - var branchobj = getPref(); - txtselectpartner = document.getElementById('txtselectpartner') - setServerService('xmlrpc/object'); - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var xmlRpcClient = getXmlRpc(); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struids = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struids.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'create_partner'; - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'thunderbird.partner'; - if(document.getElementById('txtselectpartner').value ==''){ - alert("You Must Enter Partner Name."); - return false; - } - setPartnerId(txtselectpartner.value) - var a = ['partner_id','name']; - var b = [getPartnerId(),txtselectpartner.value]; - var arrofarr = dictcontact(a,b); - xmlRpcClient.asyncCall(listCreatePartnerHandler,null,'execute',[strDbName,struids,strpass,strobj,strmethod,arrofarr],6); -} -//xmlrpc request handler for handling the object information -var listSearchDocumentHandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var searchResult = result.QueryInterface(Components.interfaces.nsISupportsPRInt32); - if(searchResult.data == 0){ - alert("Document Does Not Exist."); - return false; - } - var objvalue = getPref().getCharPref("listobject"); - var objectvalue = getPref().getCharPref("object"); - var imagevalue = getPref().getCharPref("imagename"); - - var objcharpref = getPref().getCharPref("listobject").split(','); - var objectcharpref = getPref().getCharPref("object").split(','); - var imagecharpref = getPref().getCharPref("imagename").split(','); - - - if(objectcharpref.indexOf(document.getElementById("txtobject").value) != -1){ - alert("Document already in List."); - } - else{ - var listItem = document.createElement("listitem"); - var listcell1 = document.createElement("listcell"); - var listcell2 = document.createElement("listcell"); - var listcell3 = document.createElement("listcell"); - listcell1.setAttribute("label",document.getElementById("txtobj").value); - listcell2.setAttribute("label",document.getElementById("txtobject").value); - listcell3.setAttribute("image",'file://'+document.getElementById("txtimagename").value); - listcell3.setAttribute("class","listcell-iconic") - listcell3.setAttribute("width",16) - listcell3.setAttribute("height",16) - listItem.appendChild(listcell1); - listItem.appendChild(listcell2); - listItem.appendChild(listcell3); - document.getElementById("listObjectListBox").appendChild(listItem) - if(getPref().getCharPref("object")!=''){ - getPref().setCharPref("listobject",objvalue+','+document.getElementById("txtobj").value); - getPref().setCharPref("object",objectvalue+','+document.getElementById("txtobject").value); - getPref().setCharPref("imagename",imagevalue+','+"file://"+document.getElementById("txtimagename").value); - } - else{ - getPref().setCharPref("listobject",document.getElementById("txtobj").value); - getPref().setCharPref("object",document.getElementById("txtobject").value); - getPref().setCharPref("imagename","file://"+document.getElementById("txtimagename").value); - } - } - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } -} - -//function to search the tiny objects for configuration settings -function searchDocument(){ - var branchobj = getPref(); - setServerService('xmlrpc/object'); - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var xmlRpcClient = getXmlRpc(); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struids = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struids.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'search_document'; - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'thunderbird.partner'; - if(document.getElementById('txtobj').value =='' ){ - alert("You Must Enter Document."); - return false; - } - if(document.getElementById('txtobject').value =='' ){ - alert("You Must Enter Document Name."); - return false; - } - var a = ['model']; - var b = [document.getElementById('txtobject').value]; - var arrofarr = dictcontact(a,b); - xmlRpcClient.asyncCall(listSearchDocumentHandler,null,'execute',[strDbName,struids,strpass,strobj,strmethod,arrofarr],6); -} - -//xmlrpc request handler for list of search object exist in database or not. -var listsearchAttachmentHandler = { - onResult: function(client, context, result) { - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var objectlist = result.QueryInterface(Components.interfaces.nsISupportsCString); - getPref().setCharPref('tempobject',objectlist) - //document.getElementById("txtvalueobj").value= getSenderEmail(); - var checkbox = document.getElementById("checkbox-dynamic"); - - var object = preferenceBranch.getCharPref("listobject").split(','); - var obj = preferenceBranch.getCharPref("tempobject").split(','); - var imagelist = preferenceBranch.getCharPref("imagename").split(','); - - count = 0 - if (object[0]!=''){ - for(var i=0; i<object.length; i++){ - if (obj[i] == "null") - { - continue - } - - if(count%3==0){ - var vbox = document.createElement("hbox"); - } - count += 1 - var hbox = document.createElement("vbox"); - var checkbox1 = document.createElement("checkbox"); - - checkbox1.setAttribute("label",object[i]); - checkbox1.setAttribute("id","cbx"+(i+1)); - checkbox1.setAttribute("width",150) - if (obj[i] =="res.partner.address") - { - checkbox1.setAttribute("checked",true); - } - if(i==0){ - checkbox1.setAttribute("checked",true); - } - - var image1 = document.createElement("image"); - image1.setAttribute("src",imagelist[i]); - image1.setAttribute("width",16) - image1.setAttribute("height",16) - - vbox.appendChild(image1); - hbox.appendChild(checkbox1); - vbox.appendChild(hbox); - checkbox.appendChild(vbox); - } - } - setTimeout("getAllDocument()", 0) - exis_grp = document.getElementById("existsobjectgroup") - new_grp = document.getElementById("newobjectgroup") - - new_grp.height = parseInt(parseInt(new_grp.height) + parseInt((count /3) * 23.5)) - win = document.getElementById("pluginwindows").setAttribute("height",1000) - - }, - onFault: function (client, ctxt, fault) { - - }, - - onError: function (client, ctxt, status, errorMsg) { - - } -} - -//function to create a new attachment record -function listSearchDocumentAttachment(){ - var branchobj = getPref(); - setServerService('xmlrpc/object'); - netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess'); - var xmlRpcClient = getXmlRpc(); - var strDbName = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strDbName.data = branchobj.getCharPref("serverdbname"); - var struids = xmlRpcClient.createType(xmlRpcClient.INT,{}); - struids.data = branchobj.getIntPref('userid'); - var strpass = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strpass.data = branchobj.getCharPref("password"); - var strmethod = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strmethod.data = 'search_document_attachment'; - var strobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - strobj.data = 'thunderbird.partner'; - var resobj = xmlRpcClient.createType(xmlRpcClient.STRING,{}); - var popup = document.getElementById("section").selectedItem; // a <menupopup> element - object=popup.value; - resobj.data = object; - var a = ['object']; - var b = [getPref().getCharPref("object")]; - var arrofarr = dictcontact(a,b); - xmlRpcClient.asyncCall(listsearchAttachmentHandler,null,'execute',[strDbName,struids,strpass,strobj,strmethod,arrofarr],6); -} - - -//function to create a new attachment record - -function win_close() -{ - var fpath ="" - if(navigator.userAgent.indexOf('Linux')!= -1){ - fpath ="/tmp/" - } - else if(navigator.userAgent.indexOf('Win')!= -1){ - fpath ="C:\\" - } - else if(navigator.userAgent.indexOf('Mac OS X')!= -1){ - fpath ="/tmp/" - } - try - { - name = fpath + getFileName() +".eml" - - var file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile); - file.initWithPath( name ); - file.remove(true); - window.close(); - } - catch(err) - { - window.close(); - } -} - -function attachmentWidnowOpen(msg) -{ - - if (msg=="create") - { - var popup = document.getElementById("section").selectedItem; // a <menupopup> element - if (String(popup) != "null"){ - object=popup.value; - if (object=="" || object == undefined) { alert("select at least one document !")} - else{ - create_archivemail() - } - } - else - { - alert("select at least one Document !") - } - } - else if (msg=="upload") - { - if(document.getElementById('listSearchBox').selectedItem) - { - upload_archivemail() - } - else{ - alert("Please select at least one record"); - } - } -} diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/address.dtd b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/address.dtd deleted file mode 100644 index 3dd37445ada..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/address.dtd +++ /dev/null @@ -1,26 +0,0 @@ -<!ENTITY title.label "Open Contact"> -<!ENTITY name.value "Partner Name:"> -<!ENTITY contactname.value "Contact Name:"> -<!ENTITY street.value "Street:"> -<!ENTITY street2.value "Street2:"> -<!ENTITY zip.value "Zip:"> -<!ENTITY city.value "City:"> -<!ENTITY country.value "Country:"> -<!ENTITY state.value "State:"> -<!ENTITY office.value "Office:"> -<!ENTITY fax.value "Fax:"> -<!ENTITY mobile.value "Mobile:"> -<!ENTITY email.value "Email:"> -<!ENTITY emailid.value "Email ID:"> -<!ENTITY communication.value "Communication:"> -<!ENTITY postaladdress.value "Postal Address:"> -<!ENTITY ok.label "Save"> -<!ENTITY partner.label "Create New Contact :"> -<!ENTITY create.label "New Contact"> -<!ENTITY cancel.label "Close"> -<!ENTITY newpartner.label "New Partner"> -<!ENTITY bsearch.label "Search Contact"> -<!ENTITY imagecancel.value "chrome://openerp_plugin/skin/Error.gif"> -<!ENTITY imageok.value "chrome://openerp_plugin/skin/Success.gif"> -<!ENTITY imagecreate.value "chrome://openerp_plugin/skin/Create.png"> -<!ENTITY imagesearch.value "chrome://openerp_plugin/skin/Search.gif"> diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config.dtd b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config.dtd deleted file mode 100644 index 711190962a6..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config.dtd +++ /dev/null @@ -1,56 +0,0 @@ -<!ENTITY title.label "OpenERP Configuration">
-<!ENTITY separate.label "Configuration Login for OpenERP!">
-<!ENTITY close.label "Close">
-<!ENTITY database.label "Database:">
-<!ENTITY ok.label "OK">
-<!ENTITY connection.label "Connect">
-<!ENTITY setconnection.label "Change">
-<!ENTITY openconnection.label "Open">
-<!ENTITY txturl.label "Server: ">
-<!ENTITY txtweburl.label "Server: ">
-<!ENTITY txtwebport.label "Port: ">
-<!ENTITY image.label "Image : ">
-<!ENTITY obj.label "Document : ">
-<!ENTITY username.label "Username: ">
-<!ENTITY password.label "Password: ">
-<!ENTITY setdb.label "Move >">
-<!ENTITY getdblist.label "Change">
-<!ENTITY gpConnection.label "Connection Parameters">
-<!ENTITY webConnection.label "Webserver Parameters">
-<!ENTITY listDBListBox.header "Available DBs">
-<!ENTITY listDocument.header "Document">
-<!ENTITY listDocumentListBox.header "Document Name">
-<!ENTITY document.label "Document Name : ">
-<!ENTITY documentcreate.label "Add">
-<!--<!ENTITY objectdelete.label "Delete Selected Object From The List"> -->
-<!ENTITY documentdelete.label "Delete">
-<!ENTITY gpArchive.label "Archived Email Attachment Options">
-<!ENTITY rdAlwaysAttached.label "Always Send Email Attachments to OpenERP">
-<!ENTITY rdPromptAttached.label "Prompt Before Sending Email Attachments">
-<!ENTITY rdNeverAttached.label "Never Send Email attachments to OpenERP">
-<!ENTITY reserve.value "Copyright © 2006-TODAY OpenERP SA All Rights Reserved.
-OpenERP is a trademark of the OpenERP SA Company. OpenERP Web is jointly developed by OpenERP SA and Axelor.\n
-Licenced under the terms of OpenERP Public License (OEPL) v1.1 ">
-<!ENTITY openerp.value "http://www.openerp.com/">
-<!ENTITY axelor.value "http://www.axelor.com">
-<!ENTITY tinyerp.value "http://tiny.be/">
-
-<!ENTITY openerp.paresent "This Thunderbird Plugin for OpenERP presently (2010-today) developed by OpenERP SA.">
-
-<!ENTITY openerp_s.value "OpenERP">
-<!ENTITY axelor_s.value "The Axelor Company">
-<!ENTITY tinyerp_s.value "The Tiny Company">
-
-<!ENTITY imageicon.value "chrome://openerp_plugin/skin/NEWT1.png">
-<!ENTITY gpAbout.label "OpenERP Thunderbird Plugin :">
-<!ENTITY develop.value "Based on original work, copyright 2003-2009, by Tiny & Axelor ">
-<!ENTITY information.value "For more information, please visit our website">
-<!ENTITY contact.label "Contact Us">
-<!ENTITY contact.value "info@axelor.com">
-<!ENTITY imageok.value "chrome://openerp_plugin/skin/Success.gif">
-<!ENTITY imagecancel.value "chrome://openerp_plugin/skin/Error.gif">
-<!ENTITY imagesearch.value "chrome://openerp_plugin/skin/Search.gif">
-<!ENTITY imagemove.value "chrome://openerp_plugin/skin/Move.gif">
-<!ENTITY imagemoveleft.value "chrome://openerp_plugin/skin/MoveLeft.png">
-<!ENTITY imagemovedown.value "chrome://openerp_plugin/skin/MoveDown.png">
-<!ENTITY addfile.label "Load Image">
diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config_change.dtd b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config_change.dtd deleted file mode 100644 index 19558a9f077..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config_change.dtd +++ /dev/null @@ -1,6 +0,0 @@ -<!ENTITY lblurl.label " Server: ">
-<!ENTITY lblport.label " Port: ">
-<!ENTITY lblheading.label "Openerp Connection">
-<!ENTITY imagecancel.value "chrome://openerp_plugin/skin/Error.gif">
-<!ENTITY imageok.value "chrome://openerp_plugin/skin/Success.gif">
-<!ENTITY lblprotocol.label "Protocol Connection: ">
diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config_change_web.dtd b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config_change_web.dtd deleted file mode 100644 index f241c1893cc..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config_change_web.dtd +++ /dev/null @@ -1,8 +0,0 @@ -<!ENTITY lblurl.label "Server: ">
-<!ENTITY lblport.label "Port: ">
-<!ENTITY lblssl.label "Use SLL ? ">
- -<!ENTITY lblheading.label "Openerp Connection">
-<!ENTITY imagecancel.value "chrome://openerp_plugin/skin/Error.gif">
-<!ENTITY imageok.value "chrome://openerp_plugin/skin/Success.gif">
-
diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/create.dtd b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/create.dtd deleted file mode 100644 index bb5f2c34be6..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/create.dtd +++ /dev/null @@ -1,37 +0,0 @@ -<!ENTITY title.label "Create a new Contact"> -<!ENTITY name.value "Contact Name:"> -<!ENTITY street.value "Street:"> -<!ENTITY street2.value "Street2:"> -<!ENTITY zip.value "Zip:"> -<!ENTITY city.value "City:"> -<!ENTITY country.value "Country:"> -<!ENTITY state.value "State:"> -<!ENTITY office.value "Office:"> -<!ENTITY fax.value "Fax:"> -<!ENTITY mobile.value "Mobile:"> -<!ENTITY email.value "Email:"> -<!ENTITY communication.value "Communication:"> -<!ENTITY postaladdress.value "Postal Address:"> - - -<!ENTITY selectpartner.value "Partner:"> -<!ENTITY listEmail.header "Email"> -<!ENTITY listName.header "Name"> -<!ENTITY bsearch.label "Search"> -<!ENTITY imageicon.value "chrome://openerp_plugin/skin/NEWT1.png"> -<!ENTITY cbxarchive.label "Archive"> -<!ENTITY ok.label "Save"> -<!ENTITY cancel.label "Close"> -<!ENTITY imagesearch.value "chrome://openerp_plugin/skin/Search.gif"> -<!ENTITY imagecancel.value "chrome://openerp_plugin/skin/Error.gif"> -<!ENTITY imageok.value "chrome://openerp_plugin/skin/Success.gif"> - -<!ENTITY title.label "Select Partner"> -<!ENTITY listPartnerName.header "Partner Name"> -<!ENTITY bsearch.label "Search"> -<!ENTITY create.label "Create"> -<!ENTITY select.label "Select"> -<!ENTITY cancel.label "Close"> -<!ENTITY reload.label "Reload"> -<!ENTITY imagecreate.value "chrome://openerp_plugin/skin/Create.png"> -<!ENTITY imagereload.value "chrome://openerp_plugin/skin/Archive.png"> diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/createpartner.dtd b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/createpartner.dtd deleted file mode 100644 index f323277b482..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/createpartner.dtd +++ /dev/null @@ -1,7 +0,0 @@ -<!ENTITY title.label "Create a new Partner"> -<!ENTITY name.value "Name:"> -<!ENTITY imageicon.value "chrome://openerp_plugin/skin/NEWT1.png"> -<!ENTITY ok.label "Save"> -<!ENTITY cancel.label "Close"> -<!ENTITY imagecancel.value "chrome://openerp_plugin/skin/Error.gif"> -<!ENTITY imageok.value "chrome://openerp_plugin/skin/Success.gif"> diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/mboximport.properties b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/mboximport.properties deleted file mode 100644 index 33845423f7d..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/mboximport.properties +++ /dev/null @@ -1,31 +0,0 @@ -nomboxfile=není mbox souborem -folderexists=Není možné importovat: složka se stejným názvem již existuje -fileexists=Není možné importovat: soubor se stejným názvem již existuje -nowritable=Není možné importovat: nemáte právo zápisu do složky -exportOK=Export byl úspěšně dokončen -isNewsgroup=Tato funkce není dostupná: export složky z IMAP účtů nebo diskuzních \nskupin je možný, pouze pokud je nastavené čtení v režimu Offline -nofolder=Nebyla vybrána žádná cílová složka -badfolder=Není možné importovat do této složky (typ IMAP nebo diskuzní skupina) -exportAccount=Export všech složek -exportFolder=Export složky -filePickerImport=Výběr souboru k importu -filePickerExport=Výběr cílové složky -extensions.{3ed8cc52-86fc-4613-9026-c1ef969da4c3}.description=Umožňuje import a export souborů ve formátu mbox a eml -virtualfolder=Toto je virtuální složka. Pro export jejich\nzpráv musíte tyto zprávy nejdříve\nzkopírovat do normální složky. -searchdir=Vyberte složku, ve které budou vyhledány mbox soubory -confirmimport=Chcete importovat soubor? -endscan=Konec prohledávání složek -internalerror=Není možné provést import, protože nastala neznámá chyba -exportstart=Probíhá export, čekejte prosím... -exported=Exportovalo se -msgs=zpráv z -nosubjectmsg=bez_predmetu -messsubdir=zprávy -badfolder2=Není možné importovat do této složky (IMAP nebo diskuzní skupina nebo virtuální složka) -temp_error=Není možné importovat: nastala chyba při vytváření dočasného souboru -importEMLstart=Pobíhá import, čekejte prosím... -numEML=Naimportovány eml soubory: -CSVseparator=, -noEML=No eml file found in this directory -backupWarning=During this operation, the program could be\nunresponsive for some minutes.\nDo you want to go on?\n -noWaring=Don't show again this warning diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/overlay.dtd b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/overlay.dtd deleted file mode 100644 index e649eb92ced..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/overlay.dtd +++ /dev/null @@ -1,18 +0,0 @@ -<!ENTITY tinyplugin "Configuration"> -<!ENTITY tinypluginconfig "Push"> -<!ENTITY tinyarchive "Push to OpenERP"> -<!ENTITY imageicon.value "chrome://openerp_plugin/skin/openerp.png"> -<!ENTITY menuicon.settings "chrome://openerp_plugin/skin/settings.png"> -<!ENTITY menuicon.value "chrome://openerp_plugin/skin/openerp.png"> -<!ENTITY partnericon.value "chrome://openerp_plugin/skin/openerp.png"> -<!ENTITY imagearchive.value "chrome://openerp_plugin/skin/openerp.png"> -<!ENTITY tooltip.value "Add To Archive"> -<!ENTITY pluginconfig.value "OpenERP Configuration Settings"> -<!ENTITY pluginconfigvalue.value "Archieve To OpenERP Settings"> -<!ENTITY openerpMenu.label "OpenERP"> -<!ENTITY openerpMenu.accesskey "OE"> -<!ENTITY openpartner.value "Partner"> -<!ENTITY openpartnertooltip.value "Click to Open Partner Realted to Sender Eamil address."> -<!ENTITY opendocument.value "Document"> -<!ENTITY opendocumenttooltip.value "Click to See the Mail if it is archived to OpenERP."> - diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/plugin.dtd b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/plugin.dtd deleted file mode 100644 index cd00045c22a..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/plugin.dtd +++ /dev/null @@ -1,31 +0,0 @@ -<!ENTITY title.label "Push To OpenERP"> -<!ENTITY gptinyobj.label "Link to an Existing Document"> -<!ENTITY newobject.label "Create a New Documents"> -<!ENTITY document.label "Documents"> -<!ENTITY bsearch.label "Search"> -<!ENTITY close.label "Close"> -<!ENTITY attach.label "Push"> -<!ENTITY create.label "New Contact"> -<!ENTITY archive.label "Create"> -<!ENTITY attach.label "Attach"> -<!ENTITY cbxcontact.label "Contact"> -<!ENTITY cbxinvoice.label "Invoice"> -<!ENTITY cbxproject.label "Project"> -<!ENTITY cbxpartner.label "Partner"> -<!ENTITY cbxproduct.label "Product"> -<!ENTITY cbxaccount.label "Account"> -<!ENTITY cbxsale.label "Sale"> -<!ENTITY cbxcase.label "Case"> -<!ENTITY cbxtask.label "Task"> -<!ENTITY cbxselectall.label "Select All"> -<!ENTITY object.label "Type of Document :"> -<!ENTITY partner.label "Create New Contact :"> -<!ENTITY search.label "Search :"> -<!ENTITY listSearchBox.header "Name"> -<!ENTITY imagesearch.value "chrome://openerp_plugin/skin/Search.gif"> -<!ENTITY imagecancel.value "chrome://openerp_plugin/skin/Error.gif"> -<!ENTITY imagearchive.value "chrome://openerp_plugin/skin/Archive.png"> -<!ENTITY imagecreate.value "chrome://openerp_plugin/skin/Create.png"> -<!ENTITY gptinyobjexe.label "Documents"> -<!ENTITY newcontact.label "Create a New Contact"> -<!ENTITY listSearchBox.header2 "Document Type"> diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/selectpartner.dtd b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/selectpartner.dtd deleted file mode 100644 index d568b96a4ca..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/selectpartner.dtd +++ /dev/null @@ -1,12 +0,0 @@ -<!ENTITY title.label "Select Partner"> -<!ENTITY selectpartner.value "Partner"> -<!ENTITY listPartnerName.header "Partner Name"> -<!ENTITY bsearch.label "Search"> -<!ENTITY create.label "Create"> -<!ENTITY imageicon.value "chrome://openerp_plugin/skin/NEWT1.png"> -<!ENTITY select.label "Select"> -<!ENTITY cancel.label "Close"> -<!ENTITY imagesearch.value "chrome://openerp_plugin/skin/Search.gif"> -<!ENTITY imagecancel.value "chrome://openerp_plugin/skin/Error.gif"> -<!ENTITY imageok.value "chrome://openerp_plugin/skin/Success.gif"> -<!ENTITY imagecreate.value "chrome://openerp_plugin/skin/Create.png"> diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Account.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Account.png Binary files differdeleted file mode 100644 index b13f2b0f523..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Account.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Archive.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Archive.png Binary files differdeleted file mode 100644 index 5aa6a958d37..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Archive.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Case.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Case.png Binary files differdeleted file mode 100644 index 9b950b8ea9d..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Case.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Contact.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Contact.png Binary files differdeleted file mode 100644 index 9bd6f9f6059..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Contact.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Create.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Create.png Binary files differdeleted file mode 100644 index 1ab240c32cb..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Create.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Error.gif b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Error.gif Binary files differdeleted file mode 100644 index 38c3523781b..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Error.gif +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Invoice.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Invoice.png Binary files differdeleted file mode 100644 index 4551107ec3b..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Invoice.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Move.gif b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Move.gif Binary files differdeleted file mode 100644 index 401bf861213..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Move.gif +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/MoveDown.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/MoveDown.png Binary files differdeleted file mode 100644 index 3761ff1e747..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/MoveDown.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/MoveLeft.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/MoveLeft.png Binary files differdeleted file mode 100644 index 031d7532673..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/MoveLeft.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Partner.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Partner.png Binary files differdeleted file mode 100644 index c661339598e..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Partner.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Product.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Product.png Binary files differdeleted file mode 100644 index 51451e422ae..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Product.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Project.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Project.png Binary files differdeleted file mode 100644 index 0f8ea2af8f5..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Project.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Sale.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Sale.png Binary files differdeleted file mode 100644 index 1b0b44f890e..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Sale.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Search.gif b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Search.gif Binary files differdeleted file mode 100644 index b29c3cf1054..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Search.gif +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Success.gif b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Success.gif Binary files differdeleted file mode 100644 index fb3bff729c5..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Success.gif +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Task.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Task.png Binary files differdeleted file mode 100644 index 52056b1e713..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/Task.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/developped_by.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/developped_by.png Binary files differdeleted file mode 100644 index e4004e3d178..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/developped_by.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/logo.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/logo.png Binary files differdeleted file mode 100644 index d6dbd9d83d1..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/logo.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/openerp.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/openerp.png Binary files differdeleted file mode 100644 index 326798df2ec..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/openerp.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/overlay.css b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/overlay.css deleted file mode 100644 index 1f71b8fdcbe..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/overlay.css +++ /dev/null @@ -1,3 +0,0 @@ -menuitem#tiny-plugin {
- color: red !important;
-} diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/perform.gif b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/perform.gif Binary files differdeleted file mode 100644 index 16cc3873858..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/perform.gif +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/settings.png b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/settings.png Binary files differdeleted file mode 100644 index ad0298af667..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/settings.png +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/tinyerp-icon.ico b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/tinyerp-icon.ico Binary files differdeleted file mode 100644 index 0057dc4c879..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/skin/tinyerp-icon.ico +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/components/nsXmlRpcClient.js b/addons/thunderbird/plugin/openerp_plugin/components/nsXmlRpcClient.js deleted file mode 100644 index 40347a9993d..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/components/nsXmlRpcClient.js +++ /dev/null @@ -1,1039 +0,0 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is Mozilla XML-RPC Client component. - * - * The Initial Developer of the Original Code is - * Digital Creations 2, Inc. - * Portions created by the Initial Developer are Copyright (C) 2000 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Martijn Pieters <mj@digicool.com> (original author) - * Samuel Sieb <samuel@sieb.net> - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -/* - * nsXmlRpcClient XPCOM component - * Version: $Revision: 1.39 $ - * - * $Id: nsXmlRpcClient.js,v 1.39 2006/10/24 16:02:01 silver%warwickcompsoc.co.uk Exp $ - */ - -/* - * Constants - */ -const XMLRPCCLIENT_CONTRACTID = '@mozilla.org/xml-rpc/client;1'; -const XMLRPCCLIENT_CID = - Components.ID('{4d7d15c0-3747-4f7f-b6b3-792a5ea1a9aa}'); -const XMLRPCCLIENT_IID = Components.interfaces.nsIXmlRpcClient; - -const XMLRPCFAULT_CONTRACTID = '@mozilla.org/xml-rpc/fault;1'; -const XMLRPCFAULT_CID = - Components.ID('{691cb864-0a7e-448c-98ee-4a7f359cf145}'); -const XMLRPCFAULT_IID = Components.interfaces.nsIXmlRpcFault; - -const XMLHTTPREQUEST_CONTRACTID = '@mozilla.org/xmlextras/xmlhttprequest;1'; - -const NSICHANNEL = Components.interfaces.nsIChannel; - -const DEBUG = false; -const DEBUGPARSE = false; - -const DOMNode = Components.interfaces.nsIDOMNode; -/* - * Class definitions - */ - -/* The nsXmlRpcFault class constructor. */ -function nsXmlRpcFault() {} - -/* the nsXmlRpcFault class def */ -nsXmlRpcFault.prototype = { - faultCode: 0, - faultString: '', - - init: function(faultCode, faultString) { - this.faultCode = faultCode; - this.faultString = faultString; - }, - - toString: function() { - return '<XML-RPC Fault: (' + this.faultCode + ') ' + - this.faultString + '>'; - }, - - // nsISupports interface - QueryInterface: function(iid) { - if (!iid.equals(Components.interfaces.nsISupports) && - !iid.equals(XMLRPCFAULT_IID)) - throw Components.results.NS_ERROR_NO_INTERFACE; - return this; - } -}; - -/* The nsXmlRpcClient class constructor. */ -function nsXmlRpcClient() {} - -/* the nsXmlRpcClient class def */ -nsXmlRpcClient.prototype = { - _serverUrl: null, - _useAuth: false, - - init: function(serverURL) { - this._serverUrl = serverURL; - this._encoding = "UTF-8"; - }, - - setAuthentication: function(username, password){ - if ((typeof username == "string") && - (typeof password == "string")){ - this._useAuth = true; - this._username = username; - this._password = password; - } - }, - - clearAuthentication: function(){ - this._useAuth = false; - }, - - setEncoding: function(encoding){ - this._encoding = encoding; - }, - - get serverUrl() { return this._serverUrl; }, - - // Internal copy of the status - _status: null, - _listener: null, - - asyncCall: function(listener, context, methodName, methodArgs, count) { - debug('asyncCall'); - // Check for call in progress. - if (this._inProgress) - return; - //throw Components.Exception('Call in progress!'); - - // Check for the server URL; - if (!this._serverUrl) - throw Components.Exception('Not initialized'); - - this._inProgress = true; - - // Clear state. - this._foundFault = false; - this._passwordTried = false; - this._result = null; - this._fault = null; - this._status = null; - this._responseStatus = null; - this._responseString = null; - this._listener = listener; - this._seenStart = false; - this._context = context; - - debug('Arguments: ' + methodArgs); - - // Generate request body - var xmlWriter = new XMLWriter(this._encoding); - this._generateRequestBody(xmlWriter, methodName, methodArgs); - - var requestBody = xmlWriter.data; - - debug('Request: ' + requestBody); - - this.xmlhttp = Components.classes[XMLHTTPREQUEST_CONTRACTID] - .createInstance(Components.interfaces.nsIXMLHttpRequest); - if (this._useAuth) { - this.xmlhttp.open('POST', this._serverUrl, true, - this._username, this._password); - } else { - this.xmlhttp.open('POST', this._serverUrl); - } - this.xmlhttp.onload = this._onload; - this.xmlhttp.onerror = this._onerror; - this.xmlhttp.parent = this; - this.xmlhttp.setRequestHeader('Content-Type','text/xml'); - this.xmlhttp.send(requestBody); - var chan = this.xmlhttp.channel.QueryInterface(NSICHANNEL); - chan.notificationCallbacks = this; - }, - - _onload: function(e) { - var result; - var parent = e.target.parent; - parent._inProgress = false; - parent._responseStatus = e.target.status; - parent._responseString = e.target.statusText; - if (!e.target.responseXML) { - if (e.target.status) { - try { - parent._listener.onError(parent, parent._context, - Components.results.NS_ERROR_FAILURE, - 'Server returned status ' + e.target.status); - } catch (ex) { - debug('Exception in listener.onError: ' + ex); - } - } else { - try { - parent._listener.onError(parent, parent._context, - Components.results.NS_ERROR_FAILURE, - 'Unknown network error'); - } catch (ex) { - debug('Exception in listener.onError: ' + ex); - } - } - return; - } - try { - e.target.responseXML.normalize(); - result = parent.parse(e.target.responseXML); - } catch (ex) { - try { - parent._listener.onError(parent, parent._context, - ex.result, ex.message); - } catch (ex) { - debug('Exception in listener.onError: ' + ex); - } - return; - } - if (parent._foundFault) { - parent._fault = result; - try { - parent._listener.onFault(parent, parent._context, result); - } catch(ex) { - debug('Exception in listener.onFault: ' + ex); - } - } else { - parent._result = result.value; - try { - parent._listener.onResult(parent, parent._context, - result.value); - } catch (ex) { - debug('Exception in listener.onResult: ' + ex); - } - } - }, - - _onerror: function(e) { - var parent = e.target.parent; - parent._inProgress = false; - try { - parent._listener.onError(parent, parent._context, - Components.results.NS_ERROR_FAILURE, - 'Unknown network error'); - } catch (ex) { - debug('Exception in listener.onError: ' + ex); - } - }, - - _foundFault: false, - - _fault: null, - _result: null, - _responseStatus: null, - _responseString: null, - - get fault() { return this._fault; }, - get result() { return this._result; }, - get responseStatus() { return this._responseStatus; }, - get responseString() { return this._responseString; }, - - /* Convenience. Create an appropriate XPCOM object for a given type */ - INT: 1, - BOOLEAN: 2, - STRING: 3, - DOUBLE: 4, - DATETIME: 5, - ARRAY: 6, - STRUCT: 7, - BASE64: 8, // Not part of nsIXmlRpcClient interface, internal use. - createType: function(type, uuid) { - const SUPPORTSID = '@mozilla.org/supports-'; - switch(type) { - case this.INT: - uuid.value = Components.interfaces.nsISupportsPRInt32 - return createInstance(SUPPORTSID + 'PRInt32;1', - 'nsISupportsPRInt32'); - - case this.BOOLEAN: - uuid.value = Components.interfaces.nsISupportsPRBool - return createInstance(SUPPORTSID + 'PRBool;1', - 'nsISupportsPRBool'); - - case this.STRING: - uuid.value = Components.interfaces.nsISupportsCString - return createInstance(SUPPORTSID + 'cstring;1', - 'nsISupportsCString'); - - case this.DOUBLE: - uuid.value = Components.interfaces.nsISupportsDouble - return createInstance(SUPPORTSID + 'double;1', - 'nsISupportsDouble'); - - case this.DATETIME: - uuid.value = Components.interfaces.nsISupportsPRTime - return createInstance(SUPPORTSID + 'PRTime;1', - 'nsISupportsPRTime'); - - case this.ARRAY: - uuid.value = Components.interfaces.nsISupportsArray - return createInstance(SUPPORTSID + 'array;1', - 'nsISupportsArray'); - - case this.STRUCT: - uuid.value = Components.interfaces.nsIDictionary - return createInstance('@mozilla.org/dictionary;1', - 'nsIDictionary'); - - default: throw Components.Exception('Unsupported type'); - } - }, - - // nsISupports interface - QueryInterface: function(iid) { - if (!iid.equals(Components.interfaces.nsISupports) && - !iid.equals(XMLRPCCLIENT_IID) && - !iid.equals(Components.interfaces.nsIInterfaceRequestor)) - throw Components.results.NS_ERROR_NO_INTERFACE; - return this; - }, - - // nsIInterfaceRequester interface - getInterface: function(iid, result){ - if (iid.equals(Components.interfaces.nsIAuthPrompt)){ - return this; - } - Components.returnCode = Components.results.NS_ERROR_NO_INTERFACE; - return null; - }, - - // nsIAuthPrompt interface - _passwordTried: false, - promptUsernameAndPassword: function(dialogTitle, text, passwordRealm, - savePassword, user, pwd){ - - if (this._useAuth){ - if (this._passwordTried){ - return false; - } - user.value = this._username; - pwd.value = this._password; - this._passwordTried = true; - return true; - } - return false; - }, - - /* Generate the XML-RPC request body */ - _generateRequestBody: function(writer, methodName, methodArgs) { - writer.startElement('methodCall'); - - writer.startElement('methodName'); - writer.write(methodName); - writer.endElement('methodName'); - - writer.startElement('params'); - for (var i = 0; i < methodArgs.length; i++) { - writer.startElement('param'); - this._generateArgumentBody(writer, methodArgs[i]); - writer.endElement('param'); - } - writer.endElement('params'); - - writer.endElement('methodCall'); - }, - - /* Write out a XML-RPC parameter value */ - _generateArgumentBody: function(writer, obj) { - writer.startElement('value'); - var sType = this._typeOf(obj); - switch (sType) { - case 'PRUint8': - case 'PRUint16': - case 'PRInt16': - case 'PRInt32': - obj=obj.QueryInterface(Components.interfaces['nsISupports' + - sType]); - writer.startElement('i4'); - writer.write(obj.toString()); - writer.endElement('i4'); - break; - - case 'PRBool': - obj=obj.QueryInterface(Components.interfaces.nsISupportsPRBool); - writer.startElement('boolean'); - writer.write(obj.data ? '1' : '0'); - writer.endElement('boolean'); - break; - - case 'Char': - case 'CString': - obj=obj.QueryInterface(Components.interfaces['nsISupports' + - sType]); - writer.startElement('string'); - writer.write(obj.toString()); - writer.endElement('string'); - break; - - case 'Float': - case 'Double': - obj=obj.QueryInterface(Components.interfaces['nsISupports' + - sType]); - writer.startElement('double'); - writer.write(obj.toString()); - writer.endElement('double'); - break; - - case 'PRTime': - obj = obj.QueryInterface( - Components.interfaces.nsISupportsPRTime); - var date = new Date(obj.data) - writer.startElement('dateTime.iso8601'); - writer.write(iso8601Format(date)); - writer.endElement('dateTime.iso8601'); - break; - - case 'InputStream': - obj = obj.QueryInterface(Components.interfaces.nsIInputStream); - obj = toScriptableStream(obj); - writer.startElement('base64'); - streamToBase64(obj, writer); - writer.endElement('base64'); - break; - - case 'Array': - obj = obj.QueryInterface( - Components.interfaces.nsISupportsArray); - writer.startElement('array'); - writer.startElement('data'); - for (var i = 0; i < obj.Count(); i++) - this._generateArgumentBody(writer, obj.GetElementAt(i)); - writer.endElement('data'); - writer.endElement('array'); - break; - - case 'Dictionary': - obj = obj.QueryInterface(Components.interfaces.nsIDictionary); - writer.startElement('struct'); - var keys = obj.getKeys({}); - for (var k = 0; k < keys.length; k++) { - writer.startElement('member'); - writer.startElement('name'); - writer.write(keys[k]); - writer.endElement('name'); - this._generateArgumentBody(writer, obj.getValue(keys[k])); - writer.endElement('member'); - } - writer.endElement('struct'); - break; - - default: - throw Components.Exception('Unsupported argument', null, null, - obj); - } - - writer.endElement('value'); - }, - - /* Determine type of a nsISupports primitive, array or dictionary. */ - _typeOf: function(obj) { - // XPConnect alows JS to pass in anything, because we are a regular - // JS object to it. So we have to test rigorously. - if (typeof obj != 'object') return 'Unknown'; - - // Anything else not nsISupports is not allowed. - if (typeof obj.QueryInterface != 'function') return 'Unknown'; - - // Now we will have to eliminate by trying all possebilities. - try { - obj.QueryInterface(Components.interfaces.nsISupportsPRUint8); - return 'PRUint8'; - } catch(e) {} - - try { - obj.QueryInterface(Components.interfaces.nsISupportsPRUint16); - return 'PRUint16'; - } catch(e) {} - - try { - obj.QueryInterface(Components.interfaces.nsISupportsPRInt16); - return 'PRInt16'; - } catch(e) {} - - try { - obj.QueryInterface(Components.interfaces.nsISupportsPRInt32); - return 'PRInt32'; - } catch(e) {} - - try { - obj.QueryInterface(Components.interfaces.nsISupportsPRBool); - return 'PRBool'; - } catch(e) {} - - try { - obj.QueryInterface(Components.interfaces.nsISupportsChar); - return 'Char'; - } catch(e) {} - - try { - obj.QueryInterface(Components.interfaces.nsISupportsCString); - return 'CString'; - } catch(e) {} - - try { - obj.QueryInterface(Components.interfaces.nsISupportsFloat); - return 'Float'; - } catch(e) {} - - try { - obj.QueryInterface(Components.interfaces.nsISupportsDouble); - return 'Double'; - } catch(e) {} - - try { - obj.QueryInterface(Components.interfaces.nsISupportsPRTime); - return 'PRTime'; - } catch(e) {} - - try { - obj.QueryInterface(Components.interfaces.nsIInputStream); - return 'InputStream'; - } catch(e) {} - - try { - obj.QueryInterface(Components.interfaces.nsISupportsArray); - return 'Array'; - } catch(e) {} - - try { - obj.QueryInterface(Components.interfaces.nsIDictionary); - return 'Dictionary'; - } catch(e) {} - - // Not a supported type - return 'Unknown'; - }, - - // Response parsing state - _valueStack: [], - _currValue: null, - _cdata: null, - - parse: function(doc) { - var node = doc.firstChild; - var result; - if (node.nodeType == DOMNode.TEXT_NODE) - node = node.nextSibling; - if ((node.nodeType != DOMNode.ELEMENT_NODE) || - (node.nodeName != 'methodResponse')) { - throw Components.Exception('Expecting a methodResponse', null, null, - doc); - } - node = node.firstChild; - if (node.nodeType == DOMNode.TEXT_NODE) - node = node.nextSibling; - if (node.nodeType != DOMNode.ELEMENT_NODE) - throw Components.Exception('Expecting a params or fault', null, - null, doc); - if (node.nodeName == 'params') { - node = node.firstChild; - if (node.nodeType == DOMNode.TEXT_NODE) - node = node.nextSibling; - if ((node.nodeType != DOMNode.ELEMENT_NODE) || - (node.nodeName != 'param')) { - throw Components.Exception('Expecting a param', null, null, - doc); - } - result = this.parseValue(node.firstChild); - } else if (node.nodeName == 'fault') { - this._foundFault = true; - result = this.parseFault(node.firstChild); - } else { - throw Components.Exception('Expecting a params or fault', null, - null, doc); - } - debug('Parse finished'); - return result; - }, - - parseValue: function(node) { - var cValue = new Value(); - if (node && (node.nodeType == DOMNode.TEXT_NODE)) - node = node.nextSibling; - if (!node || (node.nodeType != DOMNode.ELEMENT_NODE) || - (node.nodeName != 'value')) { - throw Components.Exception('Expecting a value', null, null, node); - } - node = node.firstChild; - if (!node) - return cValue; - if (node.nodeType == DOMNode.TEXT_NODE){ - if (!node.nextSibling) { - cValue.value = node.nodeValue; - return cValue; - } else { - node = node.nextSibling; - } - } - if (node.nodeType != DOMNode.ELEMENT_NODE) - throw Components.Exception('Expecting a value type', null, null, - node); - switch (node.nodeName) { - case 'string': - cValue.value = this.parseString(node.firstChild); - break; - case 'i4': - case 'int': - cValue.type = this.INT; - cValue.value = this.parseString(node.firstChild); - break; - case 'boolean': - cValue.type = this.BOOLEAN; - cValue.value = this.parseString(node.firstChild); - break; - case 'double': - cValue.type = this.DOUBLE; - cValue.value = this.parseString(node.firstChild); - break; - case 'dateTime.iso8601': - cValue.type = this.DATETIME; - cValue.value = this.parseString(node.firstChild); - break; - case 'base64': - cValue.type = this.BASE64; - cValue.value = this.parseString(node.firstChild); - break; - case 'struct': - cValue.type = this.STRUCT; - this.parseStruct(cValue, node.firstChild); - break; - case 'array': - cValue.type = this.ARRAY; - this.parseArray(cValue, node.firstChild); - break; - default: - throw Components.Exception('Expecting a value type', null, null, - node); - } - return cValue; - }, - - parseString: function(node) { - value = ''; - while (node) { - if (node.nodeType != DOMNode.TEXT_NODE) - throw Components.Exception('Expecting a text node', null, null, - node); - value += node.nodeValue; - node = node.nextSibling; - } - return value; - }, - - parseStruct: function(struct, node) { - while (node) { - if (node.nodeType == DOMNode.TEXT_NODE) - node = node.nextSibling; - if (!node) - return; - if ((node.nodeType != DOMNode.ELEMENT_NODE) || - (node.nodeName != 'member')) { - throw Components.Exception('Expecting a member', null, null, - node); - } - this.parseMember(struct, node.firstChild); - node = node.nextSibling; - } - }, - - parseMember: function(struct, node) { - var cValue; - if (node.nodeType == DOMNode.TEXT_NODE) - node = node.nextSibling; - if (!node || (node.nodeType != DOMNode.ELEMENT_NODE) || - (node.nodeName != 'name')) { - throw Components.Exception('Expecting a name', null, null, node); - } - struct.name = this.parseString(node.firstChild); - cValue = this.parseValue(node.nextSibling); - struct.appendValue(cValue.value); - }, - - parseArray: function(array, node) { - if (node.nodeType == DOMNode.TEXT_NODE) - node = node.nextSibling; - if (!node || (node.nodeType != DOMNode.ELEMENT_NODE) || - (node.nodeName != 'data')) { - throw Components.Exception('Expecting array data', null, null, node); - } - for (node = node.firstChild; node; node = node.nextSibling) { - if (node.nodeType == DOMNode.TEXT_NODE) - continue; - array.appendValue(this.parseValue(node).value); - } - }, - - parseFault: function(node) { - var fault = createInstance(XMLRPCFAULT_CONTRACTID, 'nsIXmlRpcFault'); - var cValue = this.parseValue(node); - if ((cValue.type != this.STRUCT) || - (!cValue.value.hasKey('faultCode')) || - (!cValue.value.hasKey('faultString'))) { - throw Components.Exception('Invalid fault', null, null, node); - } - fault.init(cValue.value.getValue('faultCode').data, - cValue.value.getValue('faultString').data); - return fault; - } -}; - -/* The XMLWriter class constructor */ -function XMLWriter(encoding) { - if (!encoding) - encoding = "UTF-8"; - this.data = '<?xml version="1.0" encoding="' + encoding + '"?>'; -} - -/* The XMLWriter class def */ -XMLWriter.prototype = { - data: '', - - startElement: function(element) { - this.data += '<' + element + '>'; - }, - - endElement: function(element) { - this.data += '</' + element + '>'; - }, - - write: function(text) { - for (var i = 0; i < text.length; i++) { - var c = text[i]; - switch (c) { - case '<': - this.data += '<'; - break; - case '&': - this.data += '&'; - break; - default: - this.data += c; - } - } - }, - - markup: function(text) { this.data += text } -}; - -/* The Value class contructor */ -function Value() { this.type = this.STRING; }; - -/* The Value class def */ -Value.prototype = { - INT: nsXmlRpcClient.prototype.INT, - BOOLEAN: nsXmlRpcClient.prototype.BOOLEAN, - STRING: nsXmlRpcClient.prototype.STRING, - DOUBLE: nsXmlRpcClient.prototype.DOUBLE, - DATETIME: nsXmlRpcClient.prototype.DATETIME, - ARRAY: nsXmlRpcClient.prototype.ARRAY, - STRUCT: nsXmlRpcClient.prototype.STRUCT, - BASE64: nsXmlRpcClient.prototype.BASE64, - - _createType: nsXmlRpcClient.prototype.createType, - - name: null, - - _value: null, - get value() { return this._value; }, - set value(val) { - // accepts [0-9]+ or x[0-9a-fA-F]+ and returns the character. - function entityTrans(substr, code) { - return String.fromCharCode("0" + code); - } - - switch (this.type) { - case this.STRING: - val = val.replace(/&#([0-9]+);/g, entityTrans); - val = val.replace(/&#(x[0-9a-fA-F]+);/g, entityTrans); - val = val.replace(/</g, '<'); - val = val.replace(/>/g, '>'); - val = val.replace(/&/g, '&'); - this._value.data = val; - break; - - case this.BOOLEAN: - this._value.data = (val == 1); - break; - - case this.DATETIME: - this._value.data = Date.UTC(val.slice(0, 4), - val.slice(4, 6) - 1, val.slice(6, 8), val.slice(9, 11), - val.slice(12, 14), val.slice(15)); - break; - - case this.BASE64: - this._value.data = base64ToString(val); - break; - - default: - this._value.data = val; - } - }, - - _type: null, - get type() { return this._type; }, - set type(type) { - this._type = type; - if (type == this.BASE64) - this._value = this._createType(this.STRING, {}); - else this._value = this._createType(type, {}); - }, - - appendValue: function(val) { - switch (this.type) { - case this.ARRAY: - this.value.AppendElement(val); - break; - - case this.STRUCT: - this.value.setValue(this.name, val); - break; - } - } -}; - -/* - * Objects - */ - -/* nsXmlRpcClient Module (for XPCOM registration) */ -var nsXmlRpcClientModule = { - registerSelf: function(compMgr, fileSpec, location, type) { - compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar); - - compMgr.registerFactoryLocation(XMLRPCCLIENT_CID, - 'XML-RPC Client JS component', - XMLRPCCLIENT_CONTRACTID, - fileSpec, - location, - type); - compMgr.registerFactoryLocation(XMLRPCFAULT_CID, - 'XML-RPC Fault JS component', - XMLRPCFAULT_CONTRACTID, - fileSpec, - location, - type); - }, - - getClassObject: function(compMgr, cid, iid) { - if (!cid.equals(XMLRPCCLIENT_CID) && !cid.equals(XMLRPCFAULT_CID)) - throw Components.results.NS_ERROR_NO_INTERFACE; - - if (!iid.equals(Components.interfaces.nsIFactory)) - throw Components.results.NS_ERROR_NOT_IMPLEMENTED; - - if (cid.equals(XMLRPCCLIENT_CID)) - return nsXmlRpcClientFactory - else return nsXmlRpcFaultFactory; - }, - - canUnload: function(compMgr) { return true; } -}; - -/* nsXmlRpcClient Class Factory */ -var nsXmlRpcClientFactory = { - createInstance: function(outer, iid) { - if (outer != null) - throw Components.results.NS_ERROR_NO_AGGREGATION; - - if (!iid.equals(XMLRPCCLIENT_IID) && - !iid.equals(Components.interfaces.nsISupports)) - throw Components.results.NS_ERROR_INVALID_ARG; - - return new nsXmlRpcClient(); - } -} - -/* nsXmlRpcFault Class Factory */ -var nsXmlRpcFaultFactory = { - createInstance: function(outer, iid) { - if (outer != null) - throw Components.results.NS_ERROR_NO_AGGREGATION; - - if (!iid.equals(XMLRPCFAULT_IID) && - !iid.equals(Components.interfaces.nsISupports)) - throw Components.results.NS_ERROR_INVALID_ARG; - - return new nsXmlRpcFault(); - } -} - -/* - * Functions - */ - -/* module initialisation */ -function NSGetModule(comMgr, fileSpec) { return nsXmlRpcClientModule; } - -/* Create an instance of the given ContractID, with given interface */ -function createInstance(contractId, intf) { - return Components.classes[contractId] - .createInstance(Components.interfaces[intf]); -} - -/* Get a pointer to a service indicated by the ContractID, with given interface */ -function getService(contractId, intf) { - return Components.classes[contractId] - .getService(Components.interfaces[intf]); -} - -/* Convert an inputstream to a scriptable inputstream */ -function toScriptableStream(input) { - var SIStream = Components.Constructor( - '@mozilla.org/scriptableinputstream;1', - 'nsIScriptableInputStream', 'init'); - return new SIStream(input); -} - -/* format a Date object into a iso8601 datetime string, UTC time */ -function iso8601Format(date) { - var datetime = date.getUTCFullYear(); - var month = String(date.getUTCMonth() + 1); - datetime += (month.length == 1 ? '0' + month : month); - var day = date.getUTCDate(); - datetime += (day < 10 ? '0' + day : day); - - datetime += 'T'; - - var hour = date.getUTCHours(); - datetime += (hour < 10 ? '0' + hour : hour) + ':'; - var minutes = date.getUTCMinutes(); - datetime += (minutes < 10 ? '0' + minutes : minutes) + ':'; - var seconds = date.getUTCSeconds(); - datetime += (seconds < 10 ? '0' + seconds : seconds); - - return datetime; -} - -/* Convert a stream to Base64, writing it away to a string writer */ -const BASE64CHUNK = 255; // Has to be dividable by 3!! -function streamToBase64(stream, writer) { - while (stream.available()) { - var data = []; - while (data.length < BASE64CHUNK && stream.available()) { - var d = stream.read(1).charCodeAt(0); - // reading a 0 results in NaN, compensate. - data = data.concat(isNaN(d) ? 0 : d); - } - writer.write(toBase64(data)); - } -} - -/* Convert data (an array of integers) to a Base64 string. */ -const toBase64Table = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' + - '0123456789+/'; -const base64Pad = '='; -function toBase64(data) { - var result = ''; - var length = data.length; - var i; - // Convert every three bytes to 4 ascii characters. - for (i = 0; i < (length - 2); i += 3) { - result += toBase64Table[data[i] >> 2]; - result += toBase64Table[((data[i] & 0x03) << 4) + (data[i+1] >> 4)]; - result += toBase64Table[((data[i+1] & 0x0f) << 2) + (data[i+2] >> 6)]; - result += toBase64Table[data[i+2] & 0x3f]; - } - - // Convert the remaining 1 or 2 bytes, pad out to 4 characters. - if (length%3) { - i = length - (length%3); - result += toBase64Table[data[i] >> 2]; - if ((length%3) == 2) { - result += toBase64Table[((data[i] & 0x03) << 4) + (data[i+1] >> 4)]; - result += toBase64Table[(data[i+1] & 0x0f) << 2]; - result += base64Pad; - } else { - result += toBase64Table[(data[i] & 0x03) << 4]; - result += base64Pad + base64Pad; - } - } - - return result; -} - -/* Convert Base64 data to a string */ -const toBinaryTable = [ - -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, - -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, - -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,62, -1,-1,-1,63, - 52,53,54,55, 56,57,58,59, 60,61,-1,-1, -1, 0,-1,-1, - -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10, 11,12,13,14, - 15,16,17,18, 19,20,21,22, 23,24,25,-1, -1,-1,-1,-1, - -1,26,27,28, 29,30,31,32, 33,34,35,36, 37,38,39,40, - 41,42,43,44, 45,46,47,48, 49,50,51,-1, -1,-1,-1,-1 -]; -function base64ToString(data) { - var result = ''; - var leftbits = 0; // number of bits decoded, but yet to be appended - var leftdata = 0; // bits decoded, but yet to be appended - - // Convert one by one. - for (var i = 0; i < data.length; i++) { - var c = toBinaryTable[data.charCodeAt(i) & 0x7f]; - var padding = (data[i] == base64Pad); - // Skip illegal characters and whitespace - if (c == -1) continue; - - // Collect data into leftdata, update bitcount - leftdata = (leftdata << 6) | c; - leftbits += 6; - - // If we have 8 or more bits, append 8 bits to the result - if (leftbits >= 8) { - leftbits -= 8; - // Append if not padding. - if (!padding) - result += String.fromCharCode((leftdata >> leftbits) & 0xff); - leftdata &= (1 << leftbits) - 1; - } - } - - // If there are any bits left, the base64 string was corrupted - if (leftbits) - throw Components.Exception('Corrupted base64 string'); - - return result; -} - -if (DEBUG) debug = function(msg) { - dump(' -- XML-RPC client -- : ' + msg + '\n'); -}; -else debug = function() {} - -// vim:sw=4:sr:sta:et:sts: diff --git a/addons/thunderbird/plugin/openerp_plugin/components/xml-rpc.xpt b/addons/thunderbird/plugin/openerp_plugin/components/xml-rpc.xpt Binary files differdeleted file mode 100644 index 8e59aa20c85..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/components/xml-rpc.xpt +++ /dev/null diff --git a/addons/thunderbird/plugin/openerp_plugin/defaults/preferences/tiny.js b/addons/thunderbird/plugin/openerp_plugin/defaults/preferences/tiny.js deleted file mode 100644 index 741f4896fe9..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/defaults/preferences/tiny.js +++ /dev/null @@ -1,59 +0,0 @@ -pref("network.protocol-handler.app.http","/usr/bin/firefox"); -pref("network.protocol-handler.app.https","/usr/bin/firefox"); -pref("extensions.tiny.serverurl", "http://localhost"); -pref("extensions.tiny.serverport", "8069"); -pref("extensions.tiny.webserverurl", "http://localhost:8080"); -pref("extensions.tiny.webserverport", "8080"); -pref("extensions.tiny.serverdbname", "terp"); -pref("extensions.tiny.username","admin"); -pref("extensions.tiny.password","admin"); -pref("extensions.tiny.senderemail",""); -pref("extensions.tiny.sendername",""); -pref("extensions.tiny.receiveremail",""); -pref("extensions.tiny.subject",""); -pref("extensions.tiny.receiveddate",""); -pref("extensions.tiny.partnerid",""); -pref("extensions.tiny.contactid",""); -pref("extensions.tiny.attachvalue",""); -pref("extensions.tiny.cclist",""); -pref("extensions.tiny.messagebody",""); -pref("extensions.tiny.displayName",""); -pref("extensions.tiny.attachmentdata",""); -pref("extensions.tiny.userid",3); -pref("extensions.tiny.partnername",""); -pref("extensions.tiny.officeno",""); -pref("extensions.tiny.phoneno",""); -pref("extensions.tiny.address",""); -pref("extensions.tiny.listobject","Partner,Account Invoice,Product,Sale Order,Lead and opportunities"); -pref("extensions.tiny.object","res.partner,account.invoice,product.product,sale.order,crm.lead"); -pref("extensions.tiny.imagename","chrome://openerp_plugin/skin/Partner.png,chrome://openerp_plugin/skin/Invoice.png,chrome://openerp_plugin/skin/Product.png,chrome://openerp_plugin/skin/Sale.png,chrome://openerp_plugin/skin/Case.png"); -pref("extensions.tiny.attachmentlength",""); -pref("extensions.tiny.attachment",""); -pref("extensions.tiny.db_list","false"); -pref("extensions.tiny.connect_server","false"); -pref("extensions.tiny.module_install","yes"); -pref("extensions.tiny.serverprotocol", "false"); - - - -pref("mboximport.export.filenames_toascii", false); -pref("mboximport.export.overwrite", false); -pref("mboximport.confirm.before_mbox_import", true); -pref("mboximport.clipboard.always_just_text", false); -pref("mboximport.export.HTML_as_displayed", false); -pref("mboximport.exportEML.filename_format", 0); -pref("mboximport.delay.clean_statusbar", 5000); -pref("mboximport.subject.max_length", 50); -pref("mboximport.author.max_length", 50); -pref("mboximport.recipients.max_length", 50); -pref("extensions.{3ed8cc52-86fc-4613-9026-c1ef969da4c3}.description", "chrome://mboximport/locale/mboximport.properties"); -pref("mboximport.export.set_filetime", false); -pref("mboximport.exportEML.use_dir", false); -pref("mboximport.exportMBOX.use_dir", false); -pref("mboximport.exportMSG.use_dir", false); -pref("mboximport.export.filenames_addtime", false); -pref("mboximport.export_all.warning1", true); -pref("mboximport.export_all.warning2", true); - -pref("mboximport.exportMSG.dir", "/tmp"); - diff --git a/addons/thunderbird/plugin/openerp_plugin/install.js b/addons/thunderbird/plugin/openerp_plugin/install.js deleted file mode 100644 index 50e4b301e32..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/install.js +++ /dev/null @@ -1,105 +0,0 @@ -// constants -const APP_DISPLAY_NAME = "OpenERP Thunderbird Plugins"; -const APP_NAME = "OpenERP"; -const APP_VERSION = "1.0"; -const WARNING = "WARNING: You need administrator privileges to install OpenERP Thunderbird Plugin. It will be installed in the application directory for all users."; -const VERSION_ERROR = "This extension can only be installed in a version higher than 2.0"; -const NOT_WRITABLE_ERROR = "This extension requires write access to the application directory to install properly." -const locales = [ - "en-US", - null -]; - -// Gecko 1.7 doesn't support custom button labels -var incompatible = (typeof Install.BUTTON_POS_0 == "undefined"); -if (incompatible) - alert(VERSION_ERROR); - -if (!incompatible) { - // Check whether all directories can be accessed - var dirList = [ - getFolder("Components"), - getFolder(getFolder("Program", "defaults"), "pref") - ]; - for (var i = 0; i < dirList.length; i++) - if (!File.isWritable(dirList[i])) - incompatible = true; - - if (incompatible) - alert(NOT_WRITABLE_ERROR); -} - -if (!incompatible && confirm(WARNING, APP_DISPLAY_NAME)) { - /* Pre-Install Cleanup (for prior versions) */ - - // List of files to be checked - var checkFiles = [ - [getFolder("Components"), "nsXmlRpcClient.js"], // Root component - [getFolder("Components"), "xml-rpc.xpt"], // Component interface - ]; - - // Remove any existing files - initInstall("pre-install", "/rename", "0.0"); // open dummy-install - for (var i = 0 ; i < checkFiles.length ; i++) { - var currentDir = checkFiles[i][0]; - var name = checkFiles[i][1]; - var oldFile = getFolder(currentDir, name); - - // Find a name to rename the file into - var newName = name + "-uninstalled"; - for (var n = 1; File.exists(oldFile) && File.exists(getFolder(currentDir, newName)); n++) - newName = name + n + "-uninstalled"; - - if (File.exists(oldFile)) - File.rename(oldFile, newName); - } - performInstall(); // commit renamed files - - /* Main part of the installation */ - - var chromeType = DELAYED_CHROME; - - var files = [ - ["components/nsXmlRpcClient.js", getFolder("Components")], - ["components/xml-rpc.xpt", getFolder("Components")], - ["defaults/preferences/tiny.js", getFolder(getFolder("Program", "defaults"), "pref")], - ]; - - // initialize our install - initInstall(APP_NAME, APP_PACKAGE, APP_VERSION); - - // Add files - for (var i = 0; i < files.length; i++) - addFile(APP_NAME, APP_VERSION, files[i][0], files[i][1], null); - - try { - var err = registerChrome(CONTENT | chromeType, jar, "content/"); - if (err != SUCCESS) - throw "Chrome registration for content failed (error code " + err + ")."; - - err = registerChrome(SKIN | chromeType, jar, "skin/classic/"); - if (err != SUCCESS) - throw "Chrome registration for skin failed (error code " + err + ")."; - - for (i = 0; i < locales.length; i++) { - if (!locales[i]) - continue; - - err = registerChrome(LOCALE | chromeType, jar, "locale/" + locales[i] + "/"); - if (err != SUCCESS) - throw "Chrome registration for " + locales[i] + " locale failed (error code " + err + ")."; - } - - var err = performInstall(); - if (err != SUCCESS && err != 999) - throw "Committing installation failed (error code " + err + ")."; - - alert("OpenERP Thunderbird Plugin " + APP_VERSION + " is now installed.\n" + - "It will become active after you restart your browser."); - } - catch (ex) { - alert("Installation failed: " + ex + "\n" + - "You probably don't have the necessary permissions (log in as system administrator)."); - cancelInstall(err); - } -} diff --git a/addons/thunderbird/plugin/openerp_plugin/install.rdf b/addons/thunderbird/plugin/openerp_plugin/install.rdf deleted file mode 100644 index b46c10c433b..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/install.rdf +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0"?>
-<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:em="http://www.mozilla.org/2004/em-rdf#">
- <Description about="urn:mozilla:install-manifest">
- <em:id>{d57f315a-9f5d-4366-a530-a769a4a8c949}</em:id>
- <em:iconURL>chrome://openerp_plugin/skin/tinyerp-icon.ico</em:iconURL>
- <em:name>OpenERP Plugin</em:name>
- <em:version>1.0</em:version>
- <em:description>OpenERP Thunderbird Integration</em:description>
- <em:creator>OpenERP SA</em:creator>
- <!-- optional items -->
- <em:homepageURL>http://openerp.com</em:homepageURL>
- <!-- Thunderbird -->
- <em:targetApplication>
- <Description>
- <em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
- <em:minVersion>2.0</em:minVersion>
- <em:maxVersion>3.1.*</em:maxVersion>
- </Description>
- </em:targetApplication>
- </Description>
-</RDF>
diff --git a/addons/thunderbird/plugin/openerp_plugin/makefile b/addons/thunderbird/plugin/openerp_plugin/makefile deleted file mode 100644 index 17ed0319bcc..00000000000 --- a/addons/thunderbird/plugin/openerp_plugin/makefile +++ /dev/null @@ -1,11 +0,0 @@ -all: xpi - -jar: - jar cvf chrome/openerp_plugin.jar -C chrome/openerp_plugin/ . - -xpi: jar - zip -r ../openerp_plugin.xpi * - -clean: - rm ../openerp_plugin.xpi - rm chrome/openerp_plugin.jar diff --git a/addons/thunderbird/security/ir.model.access.csv b/addons/thunderbird/security/ir.model.access.csv deleted file mode 100644 index df19161a518..00000000000 --- a/addons/thunderbird/security/ir.model.access.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
-access_thunderbird_ir_actions_todo,ir.actions.todo.thunderbird.installer,base.model_ir_actions_todo,base.group_sale_manager,1,0,0,0
diff --git a/addons/thunderbird/thunderbird_installer.xml b/addons/thunderbird/thunderbird_installer.xml deleted file mode 100644 index 2fb5d3177c3..00000000000 --- a/addons/thunderbird/thunderbird_installer.xml +++ /dev/null @@ -1,81 +0,0 @@ -<openerp> - <data> - - <record id="view_thunderbird_installer" model="ir.ui.view"> - <field name="name">thunderbird.installer.view</field> - <field name="model">thunderbird.installer</field> - <field name="type">form</field> - <field name="inherit_id" ref="base.res_config_installer"/> - <field name="arch" type="xml"> - <data> - <form position="attributes"> - <attribute name="string">Install Thunderbird Plug-In</attribute> - </form> - <separator string="title" position="attributes"> - <attribute name="string">Install Thunderbird Plug-In</attribute> - </separator> - <xpath expr="//label[@string='description']" position="attributes"> - <attribute name="string">This plug-in allows you to link your e-mail to OpenERP's documents. You can attach it to any existing one in OpenERP or create a new one.</attribute> - </xpath> - <xpath expr="//button[@string='Install Modules']" position="replace"> - <button colspan="1" icon="gtk-close" special="cancel" string="_Close"/> - </xpath> - <xpath expr="//button[@string='Cancel']" position="replace"> - </xpath> - <xpath expr="//separator[@string="vsep"]" position="attributes"> - <attribute name="string"/> - <attribute name="rowspan">15</attribute> - </xpath> - <group colspan="8" position="replace"> - <group colspan="8" height="450" width="750"> - <field name="thunderbird" invisible="1"/> - <field name="name" invisible="1"/> - <field name="pdf_name" invisible="1"/> - <newline/> - - <field name="plugin_file" filename="name"/> - <newline/> - <field name="pdf_file" filename="pdf_name" widget="url"/> - <newline/> - <separator string="Installation and Configuration Steps" colspan="4"/> - <field name="description" nolabel="1" colspan="8"/> - </group> - </group> - </data> - </field> - </record> - - <record id="action_thunderbird_installer" model="ir.actions.act_window"> - <field name="name">Install Thunderbird Plug-In</field> - <field name="type">ir.actions.act_window</field> - <field name="res_model">thunderbird.installer</field> - <field name="view_id" ref="view_thunderbird_installer"/> - <field name="view_type">form</field> - <field name="view_mode">form</field> - <field name="target">new</field> - </record> - - <record id="thunderbird_installer_todo" model="ir.actions.todo"> - <field name="action_id" ref="action_thunderbird_installer"/> - <field name="category_id" ref="base.category_sales_management_config"/> - <field name="sequence">3</field> - <field name="type">automatic</field> - </record> - - - <record id="action_thunderbird_wizard" model="ir.actions.act_window"> - <field name="name">Install Thunderbird Plug-In</field> - <field name="type">ir.actions.act_window</field> - <field name="res_model">thunderbird.installer</field> - <field name="view_id" ref="view_thunderbird_installer"/> - <field name="view_type">form</field> - <field name="view_mode">form</field> - <field name="target">new</field> - <field name="context">{'menu':True}</field> - </record> - - <menuitem id="base.menu_base_config_plugins" name="Plugins" parent="base.menu_base_config" sequence="10"/> - <menuitem id="menu_base_config_plugins_thunderbird" action="action_thunderbird_wizard" parent="base.menu_base_config_plugins" sequence="10"/> - - </data> -</openerp> |
