From 50200f9aaf9aa176f4fbdfa048964e0f2ae9c681 Mon Sep 17 00:00:00 2001 From: Florian da Costa Date: Mon, 1 Aug 2016 13:26:02 +0200 Subject: [PATCH] Migrate and rename attachment_metadata to attachment_base_synchronize --- attachment_base_synchronize/README.rst | 84 ++++++ attachment_base_synchronize/__init__.py | 1 + attachment_base_synchronize/__openerp__.py | 23 ++ attachment_base_synchronize/data/cron.xml | 18 ++ attachment_base_synchronize/i18n/de.po | 242 +++++++++++++++++ attachment_base_synchronize/i18n/en.po | 242 +++++++++++++++++ attachment_base_synchronize/i18n/es.po | 242 +++++++++++++++++ attachment_base_synchronize/i18n/fi.po | 242 +++++++++++++++++ attachment_base_synchronize/i18n/fr.po | 243 ++++++++++++++++++ attachment_base_synchronize/i18n/it.po | 242 +++++++++++++++++ attachment_base_synchronize/i18n/pt_BR.po | 242 +++++++++++++++++ attachment_base_synchronize/i18n/ru.po | 242 +++++++++++++++++ attachment_base_synchronize/i18n/sl.po | 243 ++++++++++++++++++ attachment_base_synchronize/i18n/tr.po | 242 +++++++++++++++++ attachment_base_synchronize/i18n/zh_CN.po | 242 +++++++++++++++++ .../models/__init__.py | 1 + .../models/attachment.py | 104 ++++++++ .../security/ir.model.access.csv | 2 + .../views/attachment_view.xml | 112 ++++++++ 19 files changed, 3009 insertions(+) create mode 100644 attachment_base_synchronize/README.rst create mode 100644 attachment_base_synchronize/__init__.py create mode 100644 attachment_base_synchronize/__openerp__.py create mode 100644 attachment_base_synchronize/data/cron.xml create mode 100644 attachment_base_synchronize/i18n/de.po create mode 100644 attachment_base_synchronize/i18n/en.po create mode 100644 attachment_base_synchronize/i18n/es.po create mode 100644 attachment_base_synchronize/i18n/fi.po create mode 100644 attachment_base_synchronize/i18n/fr.po create mode 100644 attachment_base_synchronize/i18n/it.po create mode 100644 attachment_base_synchronize/i18n/pt_BR.po create mode 100644 attachment_base_synchronize/i18n/ru.po create mode 100644 attachment_base_synchronize/i18n/sl.po create mode 100644 attachment_base_synchronize/i18n/tr.po create mode 100644 attachment_base_synchronize/i18n/zh_CN.po create mode 100644 attachment_base_synchronize/models/__init__.py create mode 100644 attachment_base_synchronize/models/attachment.py create mode 100644 attachment_base_synchronize/security/ir.model.access.csv create mode 100644 attachment_base_synchronize/views/attachment_view.xml diff --git a/attachment_base_synchronize/README.rst b/attachment_base_synchronize/README.rst new file mode 100644 index 000000000..5abfa0cc4 --- /dev/null +++ b/attachment_base_synchronize/README.rst @@ -0,0 +1,84 @@ + +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +==================== +Attachment Metadata +==================== + +This module extend ir.attachment model with some new fields for a better control +for import and export of files. + +The main feature is an integrity file check with a hash. + +A file hash is short representation (signature) computed from file data. +Hashes computed before send file and after received file can be compared to be +sure of the content integrity. + +An example of the use of this module, can be found in the external_file_location. + + +Usage +===== + +Go the menu Settings > Attachments + +You can create / see standard attachments with additional fields + + + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/149/8.0 + + +Known issues / Roadmap +====================== + +The purpose of this module is not to import the data of the file but only exchange files with external application. + + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smashing it by providing a detailed and welcomed `feedback +`_. + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + + +Contributors +------------ + +* Valentin CHEMIERE +* Sebastien BEAU +* Joel Grand-Guillaume Camptocamp +* initOS + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/attachment_base_synchronize/__init__.py b/attachment_base_synchronize/__init__.py new file mode 100644 index 000000000..0650744f6 --- /dev/null +++ b/attachment_base_synchronize/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/attachment_base_synchronize/__openerp__.py b/attachment_base_synchronize/__openerp__.py new file mode 100644 index 000000000..1e5c38119 --- /dev/null +++ b/attachment_base_synchronize/__openerp__.py @@ -0,0 +1,23 @@ +# coding: utf-8 +# @ 2015 Florian DA COSTA @ Akretion +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + 'name': 'Attachment Base Synchronize', + 'version': '9.0.1.0.0', + 'author': 'Akretion,Odoo Community Association (OCA)', + 'website': 'www.akretion.com', + 'license': 'AGPL-3', + 'category': 'Generic Modules', + 'depends': [ + 'base', + ], + 'data': [ + 'views/attachment_view.xml', + 'security/ir.model.access.csv', + 'data/cron.xml', + ], + 'installable': True, + 'application': False, + 'images': [], +} diff --git a/attachment_base_synchronize/data/cron.xml b/attachment_base_synchronize/data/cron.xml new file mode 100644 index 000000000..031d594dc --- /dev/null +++ b/attachment_base_synchronize/data/cron.xml @@ -0,0 +1,18 @@ + + + + + + Run Attachments Metadata + 30 + minutes + -1 + False + + ir.attachment.metadata + run_attachment_metadata_scheduler + ([]) + + + + diff --git a/attachment_base_synchronize/i18n/de.po b/attachment_base_synchronize/i18n/de.po new file mode 100644 index 000000000..fe88b281c --- /dev/null +++ b/attachment_base_synchronize/i18n/de.po @@ -0,0 +1,242 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * attachment_metadata +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-06-09 18:30+0000\n" +"PO-Revision-Date: 2016-06-01 09:37+0000\n" +"Last-Translator: <>\n" +"Language-Team: German (http://www.transifex.com/oca/OCA-server-tools-8-0/language/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Attachment" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,name:0 +msgid "Attachment Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,attachment_id:0 +msgid "Attachment id" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_tree +msgid "Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Binary" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,type:0 +msgid "Binary File or URL" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,company_id:0 +msgid "Company" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_uid:0 +msgid "Created by" +msgstr "Erstellt von" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_date:0 +msgid "Created on" +msgstr "Erstellt am:" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Creation Month" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,db_datas:0 +msgid "Database Data" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,description:0 +msgid "Description" +msgstr "Beschreibung" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,display_name:0 +msgid "Display Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,external_hash:0 +msgid "External hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas:0 +msgid "File Content" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas_fname:0 +msgid "File Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,file_size:0 +msgid "File Size" +msgstr "" + +#. module: attachment_metadata +#: code:addons/attachment_metadata/models/attachment.py:43 +#, python-format +msgid "" +"File corrupted: Something was wrong with the retrieved file, please relaunch" +" the task." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,external_hash:0 +msgid "" +"File hash comes from the external owner of the file.\n" +"If provided allow to check than downloaded file is the exact copy of the original file." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,internal_hash:0 +msgid "" +"File hash computed with file data to be compared to external hash when " +"provided." +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,file_type:0 +msgid "File type" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Filter on my documents" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Group By" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,id:0 +msgid "ID" +msgstr "ID" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,internal_hash:0 +msgid "Internal hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,__last_update:0 +msgid "Last Modified on" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_uid:0 +msgid "Last Updated by" +msgstr "Zuletzt aktualisiert von" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_date:0 +msgid "Last Updated on" +msgstr "Zuletzt aktualisiert am" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,attachment_id:0 +msgid "Link to ir.attachment model " +msgstr "" + +#. module: attachment_metadata +#: model:ir.actions.act_window,name:attachment_metadata.action_attachment +#: model:ir.ui.menu,name:attachment_metadata.menu_ir_attachment +msgid "Meta data Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "My Document(s)" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Owner" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_id:0 +msgid "Resource ID" +msgstr "Ressourcen-ID" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_model:0 +msgid "Resource Model" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_name:0 +msgid "Resource Name" +msgstr "Ressourcenname" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,store_fname:0 +msgid "Stored Filename" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_model:0 +msgid "The database object this attachment will be attached to" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,file_type:0 +msgid "" +"The file type determines an import method to be used to parse and transform " +"data before their import in ERP" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_id:0 +msgid "The record id this is attached to" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,type:0 +msgid "Type" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "URL" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,url:0 +msgid "Url" +msgstr "" diff --git a/attachment_base_synchronize/i18n/en.po b/attachment_base_synchronize/i18n/en.po new file mode 100644 index 000000000..fd7b04edf --- /dev/null +++ b/attachment_base_synchronize/i18n/en.po @@ -0,0 +1,242 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * attachment_metadata +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-06-09 18:30+0000\n" +"PO-Revision-Date: 2016-06-01 09:37+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: English (http://www.transifex.com/oca/OCA-server-tools-8-0/language/en/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Attachment" +msgstr "Attachment" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,name:0 +msgid "Attachment Name" +msgstr "Attachment Name" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,attachment_id:0 +msgid "Attachment id" +msgstr "Attachment id" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_tree +msgid "Attachments" +msgstr "Attachments" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Binary" +msgstr "Binary" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,type:0 +msgid "Binary File or URL" +msgstr "Binary File or URL" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,company_id:0 +msgid "Company" +msgstr "Company" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_uid:0 +msgid "Created by" +msgstr "Created by" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_date:0 +msgid "Created on" +msgstr "Created on" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Creation Month" +msgstr "Creation Month" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,db_datas:0 +msgid "Database Data" +msgstr "Database Data" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,description:0 +msgid "Description" +msgstr "Description" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,display_name:0 +msgid "Display Name" +msgstr "Display Name" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,external_hash:0 +msgid "External hash" +msgstr "External hash" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas:0 +msgid "File Content" +msgstr "File Content" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas_fname:0 +msgid "File Name" +msgstr "File Name" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,file_size:0 +msgid "File Size" +msgstr "File Size" + +#. module: attachment_metadata +#: code:addons/attachment_metadata/models/attachment.py:43 +#, python-format +msgid "" +"File corrupted: Something was wrong with the retrieved file, please relaunch" +" the task." +msgstr "File corrupted: Something was wrong with the retrieved file, please relaunch the task." + +#. module: attachment_metadata +#: help:ir.attachment.metadata,external_hash:0 +msgid "" +"File hash comes from the external owner of the file.\n" +"If provided allow to check than downloaded file is the exact copy of the original file." +msgstr "File hash comes from the external owner of the file.\nIf provided allow to check than downloaded file is the exact copy of the original file." + +#. module: attachment_metadata +#: help:ir.attachment.metadata,internal_hash:0 +msgid "" +"File hash computed with file data to be compared to external hash when " +"provided." +msgstr "File hash computed with file data to be compared to external hash when provided." + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,file_type:0 +msgid "File type" +msgstr "File type" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Filter on my documents" +msgstr "Filter on my documents" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Group By" +msgstr "Group By" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,id:0 +msgid "ID" +msgstr "ID" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,internal_hash:0 +msgid "Internal hash" +msgstr "Internal hash" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,__last_update:0 +msgid "Last Modified on" +msgstr "Last Modified on" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_uid:0 +msgid "Last Updated by" +msgstr "Last Updated by" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_date:0 +msgid "Last Updated on" +msgstr "Last Updated on" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,attachment_id:0 +msgid "Link to ir.attachment model " +msgstr "Link to ir.attachment model " + +#. module: attachment_metadata +#: model:ir.actions.act_window,name:attachment_metadata.action_attachment +#: model:ir.ui.menu,name:attachment_metadata.menu_ir_attachment +msgid "Meta data Attachments" +msgstr "Meta data Attachments" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "My Document(s)" +msgstr "My Document(s)" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Owner" +msgstr "Owner" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_id:0 +msgid "Resource ID" +msgstr "Resource ID" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_model:0 +msgid "Resource Model" +msgstr "Resource Model" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_name:0 +msgid "Resource Name" +msgstr "Resource Name" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,store_fname:0 +msgid "Stored Filename" +msgstr "Stored Filename" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_model:0 +msgid "The database object this attachment will be attached to" +msgstr "The database object this attachment will be attached to" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,file_type:0 +msgid "" +"The file type determines an import method to be used to parse and transform " +"data before their import in ERP" +msgstr "The file type determines an import method to be used to parse and transform data before their import in ERP" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_id:0 +msgid "The record id this is attached to" +msgstr "The record id this is attached to" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,type:0 +msgid "Type" +msgstr "Type" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "URL" +msgstr "URL" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,url:0 +msgid "Url" +msgstr "Url" diff --git a/attachment_base_synchronize/i18n/es.po b/attachment_base_synchronize/i18n/es.po new file mode 100644 index 000000000..21d731b59 --- /dev/null +++ b/attachment_base_synchronize/i18n/es.po @@ -0,0 +1,242 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * attachment_metadata +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-06-09 18:30+0000\n" +"PO-Revision-Date: 2016-06-01 09:37+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Attachment" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,name:0 +msgid "Attachment Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,attachment_id:0 +msgid "Attachment id" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_tree +msgid "Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Binary" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,type:0 +msgid "Binary File or URL" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,company_id:0 +msgid "Company" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_uid:0 +msgid "Created by" +msgstr "Creado por" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_date:0 +msgid "Created on" +msgstr "Creado el" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Creation Month" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,db_datas:0 +msgid "Database Data" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,description:0 +msgid "Description" +msgstr "Descripción" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,display_name:0 +msgid "Display Name" +msgstr "Nombre a mostrar" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,external_hash:0 +msgid "External hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas:0 +msgid "File Content" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas_fname:0 +msgid "File Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,file_size:0 +msgid "File Size" +msgstr "" + +#. module: attachment_metadata +#: code:addons/attachment_metadata/models/attachment.py:43 +#, python-format +msgid "" +"File corrupted: Something was wrong with the retrieved file, please relaunch" +" the task." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,external_hash:0 +msgid "" +"File hash comes from the external owner of the file.\n" +"If provided allow to check than downloaded file is the exact copy of the original file." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,internal_hash:0 +msgid "" +"File hash computed with file data to be compared to external hash when " +"provided." +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,file_type:0 +msgid "File type" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Filter on my documents" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Group By" +msgstr "Agrupar por" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,id:0 +msgid "ID" +msgstr "ID" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,internal_hash:0 +msgid "Internal hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,__last_update:0 +msgid "Last Modified on" +msgstr "Última actualización por" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_uid:0 +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_date:0 +msgid "Last Updated on" +msgstr "Última actualización el" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,attachment_id:0 +msgid "Link to ir.attachment model " +msgstr "" + +#. module: attachment_metadata +#: model:ir.actions.act_window,name:attachment_metadata.action_attachment +#: model:ir.ui.menu,name:attachment_metadata.menu_ir_attachment +msgid "Meta data Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "My Document(s)" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Owner" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_id:0 +msgid "Resource ID" +msgstr "ID del recurso" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_model:0 +msgid "Resource Model" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_name:0 +msgid "Resource Name" +msgstr "Nombre del recurso" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,store_fname:0 +msgid "Stored Filename" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_model:0 +msgid "The database object this attachment will be attached to" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,file_type:0 +msgid "" +"The file type determines an import method to be used to parse and transform " +"data before their import in ERP" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_id:0 +msgid "The record id this is attached to" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,type:0 +msgid "Type" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "URL" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,url:0 +msgid "Url" +msgstr "" diff --git a/attachment_base_synchronize/i18n/fi.po b/attachment_base_synchronize/i18n/fi.po new file mode 100644 index 000000000..d0f3507c3 --- /dev/null +++ b/attachment_base_synchronize/i18n/fi.po @@ -0,0 +1,242 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * attachment_metadata +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-06-09 18:30+0000\n" +"PO-Revision-Date: 2016-06-06 13:36+0000\n" +"Last-Translator: Jarmo Kortetjärvi \n" +"Language-Team: Finnish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Attachment" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,name:0 +msgid "Attachment Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,attachment_id:0 +msgid "Attachment id" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_tree +msgid "Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Binary" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,type:0 +msgid "Binary File or URL" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,company_id:0 +msgid "Company" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_uid:0 +msgid "Created by" +msgstr "Luonut" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_date:0 +msgid "Created on" +msgstr "Luotu" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Creation Month" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,db_datas:0 +msgid "Database Data" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,description:0 +msgid "Description" +msgstr "Kuvaus" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,display_name:0 +msgid "Display Name" +msgstr "Nimi" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,external_hash:0 +msgid "External hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas:0 +msgid "File Content" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas_fname:0 +msgid "File Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,file_size:0 +msgid "File Size" +msgstr "" + +#. module: attachment_metadata +#: code:addons/attachment_metadata/models/attachment.py:43 +#, python-format +msgid "" +"File corrupted: Something was wrong with the retrieved file, please relaunch" +" the task." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,external_hash:0 +msgid "" +"File hash comes from the external owner of the file.\n" +"If provided allow to check than downloaded file is the exact copy of the original file." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,internal_hash:0 +msgid "" +"File hash computed with file data to be compared to external hash when " +"provided." +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,file_type:0 +msgid "File type" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Filter on my documents" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Group By" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,id:0 +msgid "ID" +msgstr "ID" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,internal_hash:0 +msgid "Internal hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,__last_update:0 +msgid "Last Modified on" +msgstr "Viimeksi muokattu" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_uid:0 +msgid "Last Updated by" +msgstr "Viimeksi päivittänyt" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_date:0 +msgid "Last Updated on" +msgstr "Viimeksi päivitetty" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,attachment_id:0 +msgid "Link to ir.attachment model " +msgstr "" + +#. module: attachment_metadata +#: model:ir.actions.act_window,name:attachment_metadata.action_attachment +#: model:ir.ui.menu,name:attachment_metadata.menu_ir_attachment +msgid "Meta data Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "My Document(s)" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Owner" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_id:0 +msgid "Resource ID" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_model:0 +msgid "Resource Model" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_name:0 +msgid "Resource Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,store_fname:0 +msgid "Stored Filename" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_model:0 +msgid "The database object this attachment will be attached to" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,file_type:0 +msgid "" +"The file type determines an import method to be used to parse and transform " +"data before their import in ERP" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_id:0 +msgid "The record id this is attached to" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,type:0 +msgid "Type" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "URL" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,url:0 +msgid "Url" +msgstr "" diff --git a/attachment_base_synchronize/i18n/fr.po b/attachment_base_synchronize/i18n/fr.po new file mode 100644 index 000000000..49cc26967 --- /dev/null +++ b/attachment_base_synchronize/i18n/fr.po @@ -0,0 +1,243 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * attachment_metadata +# +# Translators: +# Christophe CHAUVET , 2016 +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-06-17 02:42+0000\n" +"PO-Revision-Date: 2016-06-23 09:22+0000\n" +"Last-Translator: Christophe CHAUVET \n" +"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Attachment" +msgstr "Pièce jointe" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,name:0 +msgid "Attachment Name" +msgstr "Nom de la pièce jointe" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,attachment_id:0 +msgid "Attachment id" +msgstr "ID de la pièce jointe" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_tree +msgid "Attachments" +msgstr "Pièces jointes" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Binary" +msgstr "Binaire" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,type:0 +msgid "Binary File or URL" +msgstr "Fichier binaire ou URL" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,company_id:0 +msgid "Company" +msgstr "Société" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_uid:0 +msgid "Created by" +msgstr "Créé par" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_date:0 +msgid "Created on" +msgstr "Créé le" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Creation Month" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,db_datas:0 +msgid "Database Data" +msgstr "Données de la base de données" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,description:0 +msgid "Description" +msgstr "Description" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,display_name:0 +msgid "Display Name" +msgstr "Nom affiché" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,external_hash:0 +msgid "External hash" +msgstr "Empreinte externe" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas:0 +msgid "File Content" +msgstr "Contenu du fichier" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas_fname:0 +msgid "File Name" +msgstr "Nom du fichier" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,file_size:0 +msgid "File Size" +msgstr "Taille du fichier" + +#. module: attachment_metadata +#: code:addons/attachment_metadata/models/attachment.py:43 +#, python-format +msgid "" +"File corrupted: Something was wrong with the retrieved file, please relaunch" +" the task." +msgstr "Fichier corrompu: Quelque chose ne va pas lors de la récupération du fichier, veuillez relancer la tâche." + +#. module: attachment_metadata +#: help:ir.attachment.metadata,external_hash:0 +msgid "" +"File hash comes from the external owner of the file.\n" +"If provided allow to check than downloaded file is the exact copy of the original file." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,internal_hash:0 +msgid "" +"File hash computed with file data to be compared to external hash when " +"provided." +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,file_type:0 +msgid "File type" +msgstr "Type de fichier" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Filter on my documents" +msgstr "Filtrer sur mes documents" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Group By" +msgstr "Grouper par" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,id:0 +msgid "ID" +msgstr "ID" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,internal_hash:0 +msgid "Internal hash" +msgstr "Empreinte interne" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,__last_update:0 +msgid "Last Modified on" +msgstr "Dernière modification le" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_uid:0 +msgid "Last Updated by" +msgstr "Mis à jour par" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_date:0 +msgid "Last Updated on" +msgstr "Mis à jour le" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,attachment_id:0 +msgid "Link to ir.attachment model " +msgstr "Lien ver le modèle ir.attachment" + +#. module: attachment_metadata +#: model:ir.actions.act_window,name:attachment_metadata.action_attachment +#: model:ir.ui.menu,name:attachment_metadata.menu_ir_attachment +msgid "Meta data Attachments" +msgstr "Méta données des pièces jointes" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "My Document(s)" +msgstr "Mes docuement(s)" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Owner" +msgstr "Propriétaire" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_id:0 +msgid "Resource ID" +msgstr "ID de l'enregistrement" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_model:0 +msgid "Resource Model" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_name:0 +msgid "Resource Name" +msgstr "Nom de l'enregistrement" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,store_fname:0 +msgid "Stored Filename" +msgstr "Nom de fichier stocké" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_model:0 +msgid "The database object this attachment will be attached to" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,file_type:0 +msgid "" +"The file type determines an import method to be used to parse and transform " +"data before their import in ERP" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_id:0 +msgid "The record id this is attached to" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,type:0 +msgid "Type" +msgstr "Type" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "URL" +msgstr "URL" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,url:0 +msgid "Url" +msgstr "Url" diff --git a/attachment_base_synchronize/i18n/it.po b/attachment_base_synchronize/i18n/it.po new file mode 100644 index 000000000..8cb84d908 --- /dev/null +++ b/attachment_base_synchronize/i18n/it.po @@ -0,0 +1,242 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * attachment_metadata +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-06-09 18:30+0000\n" +"PO-Revision-Date: 2016-06-01 09:37+0000\n" +"Last-Translator: <>\n" +"Language-Team: Italian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Attachment" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,name:0 +msgid "Attachment Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,attachment_id:0 +msgid "Attachment id" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_tree +msgid "Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Binary" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,type:0 +msgid "Binary File or URL" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,company_id:0 +msgid "Company" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_uid:0 +msgid "Created by" +msgstr "Created by" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_date:0 +msgid "Created on" +msgstr "Created on" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Creation Month" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,db_datas:0 +msgid "Database Data" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,description:0 +msgid "Description" +msgstr "Descrizione" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,display_name:0 +msgid "Display Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,external_hash:0 +msgid "External hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas:0 +msgid "File Content" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas_fname:0 +msgid "File Name" +msgstr "Nome del campo" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,file_size:0 +msgid "File Size" +msgstr "" + +#. module: attachment_metadata +#: code:addons/attachment_metadata/models/attachment.py:43 +#, python-format +msgid "" +"File corrupted: Something was wrong with the retrieved file, please relaunch" +" the task." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,external_hash:0 +msgid "" +"File hash comes from the external owner of the file.\n" +"If provided allow to check than downloaded file is the exact copy of the original file." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,internal_hash:0 +msgid "" +"File hash computed with file data to be compared to external hash when " +"provided." +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,file_type:0 +msgid "File type" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Filter on my documents" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Group By" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,id:0 +msgid "ID" +msgstr "ID" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,internal_hash:0 +msgid "Internal hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,__last_update:0 +msgid "Last Modified on" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_uid:0 +msgid "Last Updated by" +msgstr "Last Updated by" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_date:0 +msgid "Last Updated on" +msgstr "Last Updated on" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,attachment_id:0 +msgid "Link to ir.attachment model " +msgstr "" + +#. module: attachment_metadata +#: model:ir.actions.act_window,name:attachment_metadata.action_attachment +#: model:ir.ui.menu,name:attachment_metadata.menu_ir_attachment +msgid "Meta data Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "My Document(s)" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Owner" +msgstr "Proprietario" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_id:0 +msgid "Resource ID" +msgstr "ID Risorsa" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_model:0 +msgid "Resource Model" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_name:0 +msgid "Resource Name" +msgstr "Nome della Risorsa" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,store_fname:0 +msgid "Stored Filename" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_model:0 +msgid "The database object this attachment will be attached to" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,file_type:0 +msgid "" +"The file type determines an import method to be used to parse and transform " +"data before their import in ERP" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_id:0 +msgid "The record id this is attached to" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,type:0 +msgid "Type" +msgstr "Tipo" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "URL" +msgstr "URL" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,url:0 +msgid "Url" +msgstr "" diff --git a/attachment_base_synchronize/i18n/pt_BR.po b/attachment_base_synchronize/i18n/pt_BR.po new file mode 100644 index 000000000..baa497c5c --- /dev/null +++ b/attachment_base_synchronize/i18n/pt_BR.po @@ -0,0 +1,242 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * attachment_metadata +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-06-09 18:30+0000\n" +"PO-Revision-Date: 2016-06-01 09:37+0000\n" +"Last-Translator: <>\n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-server-tools-8-0/language/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Attachment" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,name:0 +msgid "Attachment Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,attachment_id:0 +msgid "Attachment id" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_tree +msgid "Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Binary" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,type:0 +msgid "Binary File or URL" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,company_id:0 +msgid "Company" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_uid:0 +msgid "Created by" +msgstr "Criado por" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_date:0 +msgid "Created on" +msgstr "Criado em" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Creation Month" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,db_datas:0 +msgid "Database Data" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,description:0 +msgid "Description" +msgstr "Descrição" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,display_name:0 +msgid "Display Name" +msgstr "Nome para Mostrar" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,external_hash:0 +msgid "External hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas:0 +msgid "File Content" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas_fname:0 +msgid "File Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,file_size:0 +msgid "File Size" +msgstr "" + +#. module: attachment_metadata +#: code:addons/attachment_metadata/models/attachment.py:43 +#, python-format +msgid "" +"File corrupted: Something was wrong with the retrieved file, please relaunch" +" the task." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,external_hash:0 +msgid "" +"File hash comes from the external owner of the file.\n" +"If provided allow to check than downloaded file is the exact copy of the original file." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,internal_hash:0 +msgid "" +"File hash computed with file data to be compared to external hash when " +"provided." +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,file_type:0 +msgid "File type" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Filter on my documents" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Group By" +msgstr "Agrupado por" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,id:0 +msgid "ID" +msgstr "Identificação" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,internal_hash:0 +msgid "Internal hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,__last_update:0 +msgid "Last Modified on" +msgstr "Última atualização em" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_uid:0 +msgid "Last Updated by" +msgstr "Última atualização por" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_date:0 +msgid "Last Updated on" +msgstr "Última atualização em" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,attachment_id:0 +msgid "Link to ir.attachment model " +msgstr "" + +#. module: attachment_metadata +#: model:ir.actions.act_window,name:attachment_metadata.action_attachment +#: model:ir.ui.menu,name:attachment_metadata.menu_ir_attachment +msgid "Meta data Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "My Document(s)" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Owner" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_id:0 +msgid "Resource ID" +msgstr "Identificação do Recurso" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_model:0 +msgid "Resource Model" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_name:0 +msgid "Resource Name" +msgstr "Nome do Recurso" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,store_fname:0 +msgid "Stored Filename" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_model:0 +msgid "The database object this attachment will be attached to" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,file_type:0 +msgid "" +"The file type determines an import method to be used to parse and transform " +"data before their import in ERP" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_id:0 +msgid "The record id this is attached to" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,type:0 +msgid "Type" +msgstr "Tipo" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "URL" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,url:0 +msgid "Url" +msgstr "" diff --git a/attachment_base_synchronize/i18n/ru.po b/attachment_base_synchronize/i18n/ru.po new file mode 100644 index 000000000..8c6104c8f --- /dev/null +++ b/attachment_base_synchronize/i18n/ru.po @@ -0,0 +1,242 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * attachment_metadata +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-06-09 18:30+0000\n" +"PO-Revision-Date: 2016-06-01 09:37+0000\n" +"Last-Translator: <>\n" +"Language-Team: Russian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Attachment" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,name:0 +msgid "Attachment Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,attachment_id:0 +msgid "Attachment id" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_tree +msgid "Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Binary" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,type:0 +msgid "Binary File or URL" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,company_id:0 +msgid "Company" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_uid:0 +msgid "Created by" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_date:0 +msgid "Created on" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Creation Month" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,db_datas:0 +msgid "Database Data" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,description:0 +msgid "Description" +msgstr "Описание" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,display_name:0 +msgid "Display Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,external_hash:0 +msgid "External hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas:0 +msgid "File Content" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas_fname:0 +msgid "File Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,file_size:0 +msgid "File Size" +msgstr "" + +#. module: attachment_metadata +#: code:addons/attachment_metadata/models/attachment.py:43 +#, python-format +msgid "" +"File corrupted: Something was wrong with the retrieved file, please relaunch" +" the task." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,external_hash:0 +msgid "" +"File hash comes from the external owner of the file.\n" +"If provided allow to check than downloaded file is the exact copy of the original file." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,internal_hash:0 +msgid "" +"File hash computed with file data to be compared to external hash when " +"provided." +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,file_type:0 +msgid "File type" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Filter on my documents" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Group By" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,id:0 +msgid "ID" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,internal_hash:0 +msgid "Internal hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,__last_update:0 +msgid "Last Modified on" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_uid:0 +msgid "Last Updated by" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_date:0 +msgid "Last Updated on" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,attachment_id:0 +msgid "Link to ir.attachment model " +msgstr "" + +#. module: attachment_metadata +#: model:ir.actions.act_window,name:attachment_metadata.action_attachment +#: model:ir.ui.menu,name:attachment_metadata.menu_ir_attachment +msgid "Meta data Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "My Document(s)" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Owner" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_id:0 +msgid "Resource ID" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_model:0 +msgid "Resource Model" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_name:0 +msgid "Resource Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,store_fname:0 +msgid "Stored Filename" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_model:0 +msgid "The database object this attachment will be attached to" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,file_type:0 +msgid "" +"The file type determines an import method to be used to parse and transform " +"data before their import in ERP" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_id:0 +msgid "The record id this is attached to" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,type:0 +msgid "Type" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "URL" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,url:0 +msgid "Url" +msgstr "" diff --git a/attachment_base_synchronize/i18n/sl.po b/attachment_base_synchronize/i18n/sl.po new file mode 100644 index 000000000..4f442cec3 --- /dev/null +++ b/attachment_base_synchronize/i18n/sl.po @@ -0,0 +1,243 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * attachment_metadata +# +# Translators: +# Matjaž Mozetič , 2016 +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-06-09 18:30+0000\n" +"PO-Revision-Date: 2016-06-01 09:49+0000\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Attachment" +msgstr "Priponka" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,name:0 +msgid "Attachment Name" +msgstr "Naziv priponke" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,attachment_id:0 +msgid "Attachment id" +msgstr "ID priponke" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_tree +msgid "Attachments" +msgstr "Priponke" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Binary" +msgstr "Binarno" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,type:0 +msgid "Binary File or URL" +msgstr "Binarna datoteka ali URL" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,company_id:0 +msgid "Company" +msgstr "Družba" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_uid:0 +msgid "Created by" +msgstr "Ustvaril" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_date:0 +msgid "Created on" +msgstr "Ustvarjeno" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Creation Month" +msgstr "Mesec nastanka" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,db_datas:0 +msgid "Database Data" +msgstr "Podatki o podatkovni bazi" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,description:0 +msgid "Description" +msgstr "Opis" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,display_name:0 +msgid "Display Name" +msgstr "Prikazni naziv" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,external_hash:0 +msgid "External hash" +msgstr "Zunanji hash" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas:0 +msgid "File Content" +msgstr "Vsebina datoteke" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas_fname:0 +msgid "File Name" +msgstr "Naziv datoteke" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,file_size:0 +msgid "File Size" +msgstr "Velikost datoteke" + +#. module: attachment_metadata +#: code:addons/attachment_metadata/models/attachment.py:43 +#, python-format +msgid "" +"File corrupted: Something was wrong with the retrieved file, please relaunch" +" the task." +msgstr "Datoteka okvarjena: Nekaj je narobe s pridobljeno datoteko. Ponovno zaženite opravilo, prosim." + +#. module: attachment_metadata +#: help:ir.attachment.metadata,external_hash:0 +msgid "" +"File hash comes from the external owner of the file.\n" +"If provided allow to check than downloaded file is the exact copy of the original file." +msgstr "Hash datoteke prihaja z zunanjim lastnikom datoteke.\nČe je podano, omogoča preverjanje, če je prenesena datoteke natančna kopija originalne." + +#. module: attachment_metadata +#: help:ir.attachment.metadata,internal_hash:0 +msgid "" +"File hash computed with file data to be compared to external hash when " +"provided." +msgstr "Hash datoteke obdelan s podatki o datoteki za primerjavo z zunanjim hash (če je podan)." + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,file_type:0 +msgid "File type" +msgstr "Tip datoteke" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Filter on my documents" +msgstr "Filtriraj po mojih dokumentih" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Group By" +msgstr "Združi po" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,id:0 +msgid "ID" +msgstr "ID" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,internal_hash:0 +msgid "Internal hash" +msgstr "Interni hash" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,__last_update:0 +msgid "Last Modified on" +msgstr "Zadnjič spremenjeno" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_uid:0 +msgid "Last Updated by" +msgstr "Zadnji posodobil" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_date:0 +msgid "Last Updated on" +msgstr "Zadnjič posodobljeno" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,attachment_id:0 +msgid "Link to ir.attachment model " +msgstr "Povezava do ir.attachment model " + +#. module: attachment_metadata +#: model:ir.actions.act_window,name:attachment_metadata.action_attachment +#: model:ir.ui.menu,name:attachment_metadata.menu_ir_attachment +msgid "Meta data Attachments" +msgstr "Metadata priponk" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "My Document(s)" +msgstr "Moji dokumenti" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Owner" +msgstr "Lastnik" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_id:0 +msgid "Resource ID" +msgstr "ID vira" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_model:0 +msgid "Resource Model" +msgstr "Model vira" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_name:0 +msgid "Resource Name" +msgstr "Naziv vira" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,store_fname:0 +msgid "Stored Filename" +msgstr "Shranjeni naziv datoteke" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_model:0 +msgid "The database object this attachment will be attached to" +msgstr "Objekt podatkovne baze, kamor se bo priponka pripela" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,file_type:0 +msgid "" +"The file type determines an import method to be used to parse and transform " +"data before their import in ERP" +msgstr "Tip datoteke določa metodo uvoza, ki se bo uporabila za razčlenjevanje in pretvorbo podatkov pred uvozom v ERP" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_id:0 +msgid "The record id this is attached to" +msgstr "ID zapisa, kamor je to pripeto" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,type:0 +msgid "Type" +msgstr "Tip" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "URL" +msgstr "URL" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,url:0 +msgid "Url" +msgstr "URL" diff --git a/attachment_base_synchronize/i18n/tr.po b/attachment_base_synchronize/i18n/tr.po new file mode 100644 index 000000000..3d0d6b51f --- /dev/null +++ b/attachment_base_synchronize/i18n/tr.po @@ -0,0 +1,242 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * attachment_metadata +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-06-09 18:30+0000\n" +"PO-Revision-Date: 2016-06-01 09:37+0000\n" +"Last-Translator: <>\n" +"Language-Team: Turkish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Attachment" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,name:0 +msgid "Attachment Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,attachment_id:0 +msgid "Attachment id" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_tree +msgid "Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Binary" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,type:0 +msgid "Binary File or URL" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,company_id:0 +msgid "Company" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_uid:0 +msgid "Created by" +msgstr "Oluşturan" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_date:0 +msgid "Created on" +msgstr "Oluşturuldu" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Creation Month" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,db_datas:0 +msgid "Database Data" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,description:0 +msgid "Description" +msgstr "Açıklama" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,display_name:0 +msgid "Display Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,external_hash:0 +msgid "External hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas:0 +msgid "File Content" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas_fname:0 +msgid "File Name" +msgstr "Dosya adı" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,file_size:0 +msgid "File Size" +msgstr "" + +#. module: attachment_metadata +#: code:addons/attachment_metadata/models/attachment.py:43 +#, python-format +msgid "" +"File corrupted: Something was wrong with the retrieved file, please relaunch" +" the task." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,external_hash:0 +msgid "" +"File hash comes from the external owner of the file.\n" +"If provided allow to check than downloaded file is the exact copy of the original file." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,internal_hash:0 +msgid "" +"File hash computed with file data to be compared to external hash when " +"provided." +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,file_type:0 +msgid "File type" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Filter on my documents" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Group By" +msgstr "Grupla" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,id:0 +msgid "ID" +msgstr "ID" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,internal_hash:0 +msgid "Internal hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,__last_update:0 +msgid "Last Modified on" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_uid:0 +msgid "Last Updated by" +msgstr "Son güncelleyen" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_date:0 +msgid "Last Updated on" +msgstr "Son güncellenme" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,attachment_id:0 +msgid "Link to ir.attachment model " +msgstr "" + +#. module: attachment_metadata +#: model:ir.actions.act_window,name:attachment_metadata.action_attachment +#: model:ir.ui.menu,name:attachment_metadata.menu_ir_attachment +msgid "Meta data Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "My Document(s)" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Owner" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_id:0 +msgid "Resource ID" +msgstr "Kaynak ID" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_model:0 +msgid "Resource Model" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_name:0 +msgid "Resource Name" +msgstr "Kaynak Adı" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,store_fname:0 +msgid "Stored Filename" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_model:0 +msgid "The database object this attachment will be attached to" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,file_type:0 +msgid "" +"The file type determines an import method to be used to parse and transform " +"data before their import in ERP" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_id:0 +msgid "The record id this is attached to" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,type:0 +msgid "Type" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "URL" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,url:0 +msgid "Url" +msgstr "" diff --git a/attachment_base_synchronize/i18n/zh_CN.po b/attachment_base_synchronize/i18n/zh_CN.po new file mode 100644 index 000000000..74aa3c2dc --- /dev/null +++ b/attachment_base_synchronize/i18n/zh_CN.po @@ -0,0 +1,242 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * attachment_metadata +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-06-09 18:30+0000\n" +"PO-Revision-Date: 2016-06-01 09:37+0000\n" +"Last-Translator: <>\n" +"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-server-tools-8-0/language/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Attachment" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,name:0 +msgid "Attachment Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,attachment_id:0 +msgid "Attachment id" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_tree +msgid "Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Binary" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,type:0 +msgid "Binary File or URL" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,company_id:0 +msgid "Company" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_uid:0 +msgid "Created by" +msgstr "创建者" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,create_date:0 +msgid "Created on" +msgstr "创建时间" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Creation Month" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,db_datas:0 +msgid "Database Data" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,description:0 +msgid "Description" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,display_name:0 +msgid "Display Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,external_hash:0 +msgid "External hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas:0 +msgid "File Content" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,datas_fname:0 +msgid "File Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,file_size:0 +msgid "File Size" +msgstr "" + +#. module: attachment_metadata +#: code:addons/attachment_metadata/models/attachment.py:43 +#, python-format +msgid "" +"File corrupted: Something was wrong with the retrieved file, please relaunch" +" the task." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,external_hash:0 +msgid "" +"File hash comes from the external owner of the file.\n" +"If provided allow to check than downloaded file is the exact copy of the original file." +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,internal_hash:0 +msgid "" +"File hash computed with file data to be compared to external hash when " +"provided." +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,file_type:0 +msgid "File type" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Filter on my documents" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Group By" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,id:0 +msgid "ID" +msgstr "ID" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,internal_hash:0 +msgid "Internal hash" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,__last_update:0 +msgid "Last Modified on" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_uid:0 +msgid "Last Updated by" +msgstr "最后更新者" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,write_date:0 +msgid "Last Updated on" +msgstr "上次更新日期" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,attachment_id:0 +msgid "Link to ir.attachment model " +msgstr "" + +#. module: attachment_metadata +#: model:ir.actions.act_window,name:attachment_metadata.action_attachment +#: model:ir.ui.menu,name:attachment_metadata.menu_ir_attachment +msgid "Meta data Attachments" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "My Document(s)" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "Owner" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_id:0 +msgid "Resource ID" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_model:0 +msgid "Resource Model" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,res_name:0 +msgid "Resource Name" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,store_fname:0 +msgid "Stored Filename" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_model:0 +msgid "The database object this attachment will be attached to" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,file_type:0 +msgid "" +"The file type determines an import method to be used to parse and transform " +"data before their import in ERP" +msgstr "" + +#. module: attachment_metadata +#: help:ir.attachment.metadata,res_id:0 +msgid "The record id this is attached to" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +#: field:ir.attachment.metadata,type:0 +msgid "Type" +msgstr "" + +#. module: attachment_metadata +#: view:ir.attachment.metadata:attachment_metadata.view_external_attachment_search +msgid "URL" +msgstr "" + +#. module: attachment_metadata +#: field:ir.attachment.metadata,url:0 +msgid "Url" +msgstr "" diff --git a/attachment_base_synchronize/models/__init__.py b/attachment_base_synchronize/models/__init__.py new file mode 100644 index 000000000..c14c86359 --- /dev/null +++ b/attachment_base_synchronize/models/__init__.py @@ -0,0 +1 @@ +from . import attachment diff --git a/attachment_base_synchronize/models/attachment.py b/attachment_base_synchronize/models/attachment.py new file mode 100644 index 000000000..21064e364 --- /dev/null +++ b/attachment_base_synchronize/models/attachment.py @@ -0,0 +1,104 @@ +# coding: utf-8 +# @ 2015 Florian DA COSTA @ Akretion +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from openerp import models, fields, api, _ +from openerp.exceptions import Warning as UserError +from openerp import sql_db +import hashlib +from base64 import b64decode +import logging + +_logger = logging.getLogger(__name__) + + +class IrAttachmentMetadata(models.Model): + _name = 'ir.attachment.metadata' + _inherits = {'ir.attachment': 'attachment_id'} + + internal_hash = fields.Char( + store=True, compute='_compute_hash', + help="File hash computed with file data to be compared " + "to external hash when provided.") + external_hash = fields.Char( + help="File hash comes from the external owner of the file.\n" + "If provided allow to check than downloaded file " + "is the exact copy of the original file.") + attachment_id = fields.Many2one( + 'ir.attachment', required=True, ondelete='cascade', + help="Link to ir.attachment model ") + file_type = fields.Selection( + selection=[], + string="File type", + help="The file type determines an import method to be used " + "to parse and transform data before their import in ERP or an export") + sync_date = fields.Datetime() + state = fields.Selection([ + ('pending', 'Pending'), + ('failed', 'Failed'), + ('done', 'Done'), + ], readonly=False, required=True, default='pending') + state_message = fields.Text() + + @api.depends('datas', 'external_hash') + def _compute_hash(self): + for attachment in self: + if attachment.datas: + attachment.internal_hash = hashlib.md5( + b64decode(attachment.datas)).hexdigest() + if attachment.external_hash and\ + attachment.internal_hash != attachment.external_hash: + raise UserError( + _("File corrupted: Something was wrong with " + "the retrieved file, please relaunch the task.")) + + @api.model + def run_attachment_metadata_scheduler(self, domain=None): + if domain is None: + domain = [] + domain.append(('state', '=', 'pending')) + attachments = self.search(domain) + if attachments: + return attachments.run() + return True + + @api.multi + def run(self): + """ + Run the process for each attachment metadata + """ + for attachment in self: + new_cr = sql_db.db_connect(self.env.cr.dbname).cursor() + with api.Environment.manage(): + attachment.env = api.Environment(new_cr, self.env.uid, + self.env.context) + try: + attachment._run() + except Exception, e: + attachment.env.cr.rollback() + _logger.exception(e) + attachment.write( + { + 'state': 'failed', + 'state_message': unicode(e) + }) + attachment.env.cr.commit() + else: + attachment.write({'state': 'done'}) + attachment.env.cr.commit() + finally: + attachment.env.cr.close() + return True + + @api.multi + def _run(self): + self.ensure_one() + _logger.info('Start to process attachment metadata id %s' % self.id) + + @api.multi + def set_done(self): + """ + Manually set to done + """ + message = "Manually set to done by %s" % self.env.user.name + self.write({'state_message': message, 'state': 'done'}) diff --git a/attachment_base_synchronize/security/ir.model.access.csv b/attachment_base_synchronize/security/ir.model.access.csv new file mode 100644 index 000000000..9b01638c4 --- /dev/null +++ b/attachment_base_synchronize/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_attachment_metadata_user,ir.attachment.metadata.user,model_ir_attachment_metadata,base.group_user,1,0,0,0 diff --git a/attachment_base_synchronize/views/attachment_view.xml b/attachment_base_synchronize/views/attachment_view.xml new file mode 100644 index 000000000..ae73825c5 --- /dev/null +++ b/attachment_base_synchronize/views/attachment_view.xml @@ -0,0 +1,112 @@ + + + + + + ir.attachment.metadata + + + +
+
+
+ + + + + + + + + + + + + +
+ + + ir.attachment.metadata + + + + + + + + + + + + + + ir.attachment.metadata + + + + + + + + + + + + + + + + + + + + + + + + + + + Meta data Attachments + ir.actions.act_window + ir.attachment.metadata + form + tree,form + + + + + + + tree + + + + + + + form + + + + + + + +
+