Browse Source

Merge pull request #515 from akretion/9-attachment_base_synchronize

9 attachment base synchronize
pull/566/head
Nhomar Hernández [Vauxoo] 8 years ago
committed by GitHub
parent
commit
c2bebc2a4c
  1. 85
      attachment_base_synchronize/README.rst
  2. 1
      attachment_base_synchronize/__init__.py
  3. 27
      attachment_base_synchronize/__openerp__.py
  4. 18
      attachment_base_synchronize/data/cron.xml
  5. 12
      attachment_base_synchronize/demo/attachment_metadata_demo.xml
  6. 242
      attachment_base_synchronize/i18n/de.po
  7. 242
      attachment_base_synchronize/i18n/en.po
  8. 242
      attachment_base_synchronize/i18n/es.po
  9. 242
      attachment_base_synchronize/i18n/fi.po
  10. 319
      attachment_base_synchronize/i18n/fr.po
  11. 242
      attachment_base_synchronize/i18n/it.po
  12. 242
      attachment_base_synchronize/i18n/pt_BR.po
  13. 242
      attachment_base_synchronize/i18n/ru.po
  14. 243
      attachment_base_synchronize/i18n/sl.po
  15. 242
      attachment_base_synchronize/i18n/tr.po
  16. 242
      attachment_base_synchronize/i18n/zh_CN.po
  17. 1
      attachment_base_synchronize/models/__init__.py
  18. 104
      attachment_base_synchronize/models/attachment.py
  19. 2
      attachment_base_synchronize/security/ir.model.access.csv
  20. 5
      attachment_base_synchronize/tests/__init__.py
  21. 50
      attachment_base_synchronize/tests/test_attachment_base_synchronize.py
  22. 112
      attachment_base_synchronize/views/attachment_view.xml

85
attachment_base_synchronize/README.rst

@ -0,0 +1,85 @@
.. 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
<https://github.com/OCA/server-tools/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
<https://github.com/OCA/
server-tools/issues/new?body=module:%20
attachment_metadata%0Aversion:%20
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits
=======
Images
------
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
Contributors
------------
* Valentin CHEMIERE <valentin.chemiere@akretion.com>
* Sebastien BEAU <sebastian.beau@akretion.com>
* Joel Grand-Guillaume Camptocamp
* initOS <http://initos.com>
* Angel Moya <http://angelmoya.es>
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.

1
attachment_base_synchronize/__init__.py

@ -0,0 +1 @@
from . import models

27
attachment_base_synchronize/__openerp__.py

@ -0,0 +1,27 @@
# 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',
'mail',
],
'data': [
'views/attachment_view.xml',
'security/ir.model.access.csv',
'data/cron.xml',
],
'demo': [
'demo/attachment_metadata_demo.xml'
],
'installable': True,
'application': False,
'images': [],
}

18
attachment_base_synchronize/data/cron.xml

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data noupdate="1">
<record model="ir.cron" id="cronjob_run_attachments_metadata">
<field name='name'>Run Attachments Metadata</field>
<field name='interval_number'>30</field>
<field name='interval_type'>minutes</field>
<field name="numbercall">-1</field>
<field name="active">False</field>
<field name="doall" eval="False" />
<field name="model">ir.attachment.metadata</field>
<field name="function">run_attachment_metadata_scheduler</field>
<field name="args">([])</field>
</record>
</data>
</openerp>

12
attachment_base_synchronize/demo/attachment_metadata_demo.xml

@ -0,0 +1,12 @@
<?xml version="1.0"?>
<openerp>
<data noupdate="1">
<record id="attachment_metadata" model="ir.attachment.metadata">
<field name="datas">bWlncmF0aW9uIHRlc3Q=</field>
<field name="datas_fname">attachment_metadata.doc</field>
<field name="name">attachment_metadata.doc</field>
</record>
</data>
</openerp>

242
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 ""

242
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 <transbot@odoo-community.org>\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"

242
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 ""

242
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 <jarmo.kortetjarvi@gmail.com>\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 ""

319
attachment_base_synchronize/i18n/fr.po

@ -0,0 +1,319 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * attachment_base_synchronize
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-08-10 16:34+0000\n"
"PO-Revision-Date: 2016-08-10 16:34+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: attachment_base_synchronize
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "Attachment"
msgstr "Pièce jointe"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_name
msgid "Attachment Name"
msgstr "Nom de la pièce jointe"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_local_url
msgid "Attachment URL"
msgstr "Lien de la pièce jointe"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_attachment_id
msgid "Attachment id"
msgstr "ID de la pièce jointe"
#. module: attachment_base_synchronize
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_tree
msgid "Attachments"
msgstr "Pièces jointes"
#. module: attachment_base_synchronize
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "Binary"
msgstr "Binaire"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_checksum
msgid "Checksum/SHA1"
msgstr "Somme de Contrôle/SHA1"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_company_id
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "Company"
msgstr "Société"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_create_uid
msgid "Created by"
msgstr "Créé par"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_create_date
msgid "Created on"
msgstr "Créé le"
#. module: attachment_base_synchronize
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "Creation Month"
msgstr "Mois de création"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_db_datas
msgid "Database Data"
msgstr "Données de la base de données"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_description
msgid "Description"
msgstr "Description"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_display_name
msgid "Display Name"
msgstr "Afficher le nom"
#. module: attachment_base_synchronize
#: selection:ir.attachment.metadata,state:0
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "Done"
msgstr "Terminé"
#. module: attachment_base_synchronize
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_attachment_improved_form
msgid "Error"
msgstr "Erreur"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_external_hash
msgid "External hash"
msgstr "Empreinte externe"
#. module: attachment_base_synchronize
#: selection:ir.attachment.metadata,state:0
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "Failed"
msgstr "Échec"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_datas
msgid "File Content"
msgstr "Contenu du fichier"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_datas_fname
msgid "File Name"
msgstr "Nom de Fichier"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_file_size
msgid "File Size"
msgstr "Taille du fichier"
#. module: attachment_base_synchronize
#: code:addons/attachment_base_synchronize/models/attachment.py:53
#, python-format
msgid "File corrupted: Something was wrong with the retrieved file, please relaunch the task."
msgstr "Fichier corrompu: Quelque chose s'est mal passé pendant la récupération du fichier, relancez la tache.."
#. module: attachment_base_synchronize
#: model:ir.model.fields,help:attachment_base_synchronize.field_ir_attachment_metadata_external_hash
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.\n"
"If provided allow to check than downloaded file is the exact copy of the original file."
#. module: attachment_base_synchronize
#: model:ir.model.fields,help:attachment_base_synchronize.field_ir_attachment_metadata_internal_hash
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_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_file_type
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "File type"
msgstr "Type de fichier"
#. module: attachment_base_synchronize
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "Filter on my documents"
msgstr "Filtrer sur mes documents"
#. module: attachment_base_synchronize
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "Group By"
msgstr "Regrouper par"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_id
msgid "ID"
msgstr "Identifiant"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_index_content
msgid "Indexed Content"
msgstr "Contenu Indexé"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_internal_hash
msgid "Internal hash"
msgstr "Empreinte interne"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_public
msgid "Is public document"
msgstr "Est un document public"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata___last_update
msgid "Last Modified on"
msgstr "Dernière modification le"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_write_uid
msgid "Last Updated by"
msgstr "Dernière mise à jour par"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_write_date
msgid "Last Updated on"
msgstr "Dernière mise à jour le"
#. module: attachment_base_synchronize
#: model:ir.model.fields,help:attachment_base_synchronize.field_ir_attachment_metadata_attachment_id
msgid "Link to ir.attachment model "
msgstr "Lien ver le modèle ir.attachment"
#. module: attachment_base_synchronize
#: model:ir.actions.act_window,name:attachment_base_synchronize.action_attachment
#: model:ir.ui.menu,name:attachment_base_synchronize.menu_ir_attachment
msgid "Meta data Attachments"
msgstr "Meta data Attachments"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_mimetype
msgid "Mime Type"
msgstr "Type Mime"
#. module: attachment_base_synchronize
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "My Document(s)"
msgstr "Mes Documents"
#. module: attachment_base_synchronize
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "Owner"
msgstr "Propriétaire"
#. module: attachment_base_synchronize
#: selection:ir.attachment.metadata,state:0
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "Pending"
msgstr "En attente"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_res_field
msgid "Resource Field"
msgstr "Champ ressource"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_res_id
msgid "Resource ID"
msgstr "ID de l'enregistrement"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_res_model
msgid "Resource Model"
msgstr "Modèle de la ressource"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_res_name
msgid "Resource Name"
msgstr "Nom de l'enregistrement"
#. module: attachment_base_synchronize
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_attachment_improved_form
msgid "Run"
msgstr "Run"
#. module: attachment_base_synchronize
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_attachment_improved_form
msgid "Set to Done"
msgstr "Marquer comme terminé"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_state
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "State"
msgstr "État"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_state_message
msgid "State message"
msgstr "Message"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_store_fname
msgid "Stored Filename"
msgstr "Nom de fichier stocké"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_sync_date
msgid "Sync date"
msgstr "Sync date"
#. module: attachment_base_synchronize
#: model:ir.model.fields,help:attachment_base_synchronize.field_ir_attachment_metadata_res_model
msgid "The database object this attachment will be attached to"
msgstr "L'objet de la base de données auquel cette pièce jointe sera attachée"
#. module: attachment_base_synchronize
#: model:ir.model.fields,help:attachment_base_synchronize.field_ir_attachment_metadata_file_type
msgid "The file type determines an import method to be used to parse and transform data before their import in ERP or an export"
msgstr "Le type de fichier détermine la méthode d'import à utiliser pour parser le fichier et transformer les données avant l'import dans l'ERP"
#. module: attachment_base_synchronize
#: model:ir.model.fields,help:attachment_base_synchronize.field_ir_attachment_metadata_res_id
msgid "The record id this is attached to"
msgstr "L'identifiant de l'enregistrement qui y est attaché"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_type
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "Type"
msgstr "Type"
#. module: attachment_base_synchronize
#: model:ir.ui.view,arch_db:attachment_base_synchronize.view_external_attachment_search
msgid "URL"
msgstr "URL"
#. module: attachment_base_synchronize
#: model:ir.model.fields,field_description:attachment_base_synchronize.field_ir_attachment_metadata_url
msgid "Url"
msgstr "Url"
#. module: attachment_base_synchronize
#: model:ir.model.fields,help:attachment_base_synchronize.field_ir_attachment_metadata_type
msgid "You can either upload a file from your computer or copy/paste an internet link to your file"
msgstr "Vous pouvez, soit télécharger un fichier à partir de votre ordinateur soit copier / coller un lien Internet vers votre fichier"
#. module: attachment_base_synchronize
#: model:ir.model,name:attachment_base_synchronize.model_ir_attachment_metadata
msgid "ir.attachment.metadata"
msgstr "ir.attachment.metadata"

242
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 ""

242
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 ""

242
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 ""

243
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č <m.mozetic@matmoz.si>, 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č <m.mozetic@matmoz.si>\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"

242
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 ""

242
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 ""

1
attachment_base_synchronize/models/__init__.py

@ -0,0 +1 @@
from . import attachment

104
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
import openerp
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'}
_inherit = ['mail.thread']
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:
with api.Environment.manage():
with openerp.registry(self.env.cr.dbname).cursor() as new_cr:
new_env = api.Environment(
new_cr, self.env.uid, self.env.context)
attach = attachment.with_env(new_env)
try:
attach._run()
except Exception, e:
attach.env.cr.rollback()
_logger.exception(e)
attach.write(
{
'state': 'failed',
'state_message': e,
})
attach.env.cr.commit()
else:
attach.write({'state': 'done'})
attach.env.cr.commit()
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'})

2
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

5
attachment_base_synchronize/tests/__init__.py

@ -0,0 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2016 Angel Moya (http://angelmoya.es)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import test_attachment_base_synchronize

50
attachment_base_synchronize/tests/test_attachment_base_synchronize.py

@ -0,0 +1,50 @@
# -*- coding: utf-8 -*-
# Copyright 2016 Angel Moya (http://angelmoya.es)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp.tests.common import TransactionCase
import openerp
from openerp import api
class TestAttachmentBaseSynchronize(TransactionCase):
def setUp(self):
super(TestAttachmentBaseSynchronize, self).setUp()
self.registry.enter_test_mode()
self.env = api.Environment(self.registry.test_cr, self.env.uid,
self.env.context)
self.attachment = self.env.ref(
'attachment_base_synchronize.attachment_metadata')
self.ir_attachment_metadata = self.env['ir.attachment.metadata']
def tearDown(self):
self.registry.leave_test_mode()
super(TestAttachmentBaseSynchronize, self).tearDown()
def test_attachment_metadata(self):
"""Test run_attachment_metadata_scheduler to ensure set state to done
"""
self.assertEqual(
self.attachment.state,
'pending'
)
self.ir_attachment_metadata.run_attachment_metadata_scheduler()
self.env.invalidate_all()
with openerp.registry(self.env.cr.dbname).cursor() as new_cr:
new_env = api.Environment(
new_cr, self.env.uid, self.env.context)
attach = self.attachment.with_env(new_env)
self.assertEqual(
attach.state,
'done'
)
def test_set_done(self):
"""Test set_done manually
"""
self.attachment.set_done()
self.assertEqual(
self.attachment.state,
'done'
)

112
attachment_base_synchronize/views/attachment_view.xml

@ -0,0 +1,112 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="view_attachment_improved_form" model="ir.ui.view">
<field name="model">ir.attachment.metadata</field>
<field name="inherit_id" ref="base.view_attachment_form" />
<field name="arch" type="xml">
<xpath expr="/form/*" position="before">
<header>
<button name="run" states="pending,failed"
string="Run" type="object" class="oe_highlight"/>
<button name="set_done" states="pending,failed"
string="Set to Done" type="object"/>
</header>
</xpath>
<field name="url" position="after">
<field name="sync_date"/>
<field name="state"/>
<field name="internal_hash"/>
<field name="external_hash"/>
<field name="file_type"/>
</field>
<group name="description_group">
<group name="state_message" string="Error" colspan="4">
<field name="state_message" nolabel="1"/>
</group>
</group>
</field>
</record>
<record id="view_external_attachment_tree" model="ir.ui.view">
<field name="model">ir.attachment.metadata</field>
<field name="arch" type="xml">
<tree string="Attachments" default_order='create_date desc'>
<field name="name"/>
<field name="datas_fname"/>
<field name="file_type"/>
<field name="type"/>
<field name="create_date"/>
<field name="state"/>
</tree>
</field>
</record>
<record id="view_external_attachment_search" model="ir.ui.view">
<field name="model">ir.attachment.metadata</field>
<field name="arch" type="xml">
<search string="Attachments">
<field name="name" filter_domain="['|', ('name','ilike',self), ('datas_fname','ilike',self)]" string="Attachment"/>
<field name="create_date"/>
<filter icon="terp-stage"
string="URL"
domain="[('type','=','url')]"/>
<filter icon="terp-stock_align_left_24"
string="Binary"
domain="[('type','=','binary')]"/>
<separator/>
<filter name="my_documents_filter"
string="My Document(s)"
icon="terp-personal"
domain="[('create_uid','=',uid)]"
help="Filter on my documents"/>
<field name="create_uid"/>
<field name="type"/>
<filter string="Pending" domain="[('state', '=', 'pending')]"/>
<filter string="Failed" domain="[('state', '=', 'failed')]"/>
<filter string="Done" domain="[('state', '=', 'done')]"/>
<group expand="0" string="Group By">
<filter string="Owner" icon="terp-personal" domain="[]" context="{'group_by':'create_uid'}"/>
<filter string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}" groups="base.group_no_one"/>
<filter string="Company" icon="terp-gtk-home" domain="[]" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
<filter string="Creation Month" name="creation_month" icon="terp-go-month" domain="[]" context="{'group_by':'create_date'}"/>
<filter string="State" domain="[]" context="{'group_by': 'state'}"/>
<filter string="File type" domain="[]" context="{'group_by': 'file_type'}"/>
</group>
</search>
</field>
</record>
<record id="action_attachment" model="ir.actions.act_window">
<field name="name">Meta data Attachments</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">ir.attachment.metadata</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="view_id" eval="False"/>
<field name="search_view_id" ref="view_external_attachment_search"/>
</record>
<record id="ir_attachment_view2" model="ir.actions.act_window.view">
<field eval="10" name="sequence"/>
<field name="view_mode">tree</field>
<field name="view_id" ref="view_external_attachment_tree"/>
<field name="act_window_id" ref="action_attachment"/>
</record>
<record id="ir_attachment_view3" model="ir.actions.act_window.view">
<field eval="10" name="sequence"/>
<field name="view_mode">form</field>
<field name="view_id" ref="view_attachment_improved_form"/>
<field name="act_window_id" ref="action_attachment"/>
</record>
<menuitem id="menu_ir_attachment"
parent="base.next_id_9"
sequence="20"
action="action_attachment"/>
</data>
</openerp>
Loading…
Cancel
Save