From 91a9ff37840a6ab42c3156bb7c1881875027c04a Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Thu, 20 Nov 2014 15:41:45 +0100 Subject: [PATCH] [REF] 'document_export_from_db' change name and description; --- .../__init__.py | 0 .../__openerp__.py | 23 ++++++++-------- .../data/ir_values.xml | 2 +- .../i18n/document_export_from_db.pot | 24 ++++++++-------- .../i18n/fr.po | 26 +++++++++--------- .../model/__init__.py | 0 .../model/document_multiple_action.py | 0 .../model/ir_attachment.py | 0 .../static/src/img/icon.png | Bin .../static/src/img/icon_licences.txt | 0 .../tests/__init__.py | 0 .../test_document_extract_from_database.py | 0 .../view/action.xml | 2 +- .../view/view.xml | 2 +- 14 files changed, 39 insertions(+), 40 deletions(-) rename {document_extract_from_database => document_export_from_db}/__init__.py (100%) rename {document_extract_from_database => document_export_from_db}/__openerp__.py (67%) rename {document_extract_from_database => document_export_from_db}/data/ir_values.xml (89%) rename document_extract_from_database/i18n/document_extract_from_database.pot => document_export_from_db/i18n/document_export_from_db.pot (62%) rename {document_extract_from_database => document_export_from_db}/i18n/fr.po (65%) rename {document_extract_from_database => document_export_from_db}/model/__init__.py (100%) rename {document_extract_from_database => document_export_from_db}/model/document_multiple_action.py (100%) rename {document_extract_from_database => document_export_from_db}/model/ir_attachment.py (100%) rename {document_extract_from_database => document_export_from_db}/static/src/img/icon.png (100%) rename {document_extract_from_database => document_export_from_db}/static/src/img/icon_licences.txt (100%) rename {document_extract_from_database => document_export_from_db}/tests/__init__.py (100%) rename {document_extract_from_database => document_export_from_db}/tests/test_document_extract_from_database.py (100%) rename {document_extract_from_database => document_export_from_db}/view/action.xml (90%) rename {document_extract_from_database => document_export_from_db}/view/view.xml (93%) diff --git a/document_extract_from_database/__init__.py b/document_export_from_db/__init__.py similarity index 100% rename from document_extract_from_database/__init__.py rename to document_export_from_db/__init__.py diff --git a/document_extract_from_database/__openerp__.py b/document_export_from_db/__openerp__.py similarity index 67% rename from document_extract_from_database/__openerp__.py rename to document_export_from_db/__openerp__.py index 4fa1e527f..8719457ec 100755 --- a/document_extract_from_database/__openerp__.py +++ b/document_export_from_db/__openerp__.py @@ -20,8 +20,8 @@ ############################################################################### { - "name": "Extract Documents from database", - "summary": "Extract documents from database to the defined filestore", + "name": "Export Documents from database", + "summary": "Export Existing Documents from Database to File System", "version": "1.0", "author": "Julius Network Solutions", "website": "http://julius.fr", @@ -30,18 +30,17 @@ "document", ], "description": """ -Button to extract documents from your database -============================================== -If you want to extract the document stored in your database this module is for -you. +Add a Button to export existing documents from database to File System +====================================================================== -Make sure you've correctly defined the filestore in your database: -"Settings > Parameters > System Parameters", add for example: - * "key": "ir_attachment.location" - * "value": "file:///filestore" -Then go to your document list, select all the documents you want to extract. -Then, "More > Document Extraction" +* Make sure you've correctly defined the filestore in your database: + * "Settings > Parameters > System Parameters": + * "key": "ir_attachment.location" + * "value": "file:///filestore" + +* Go to your document list, select all the documents you want to extract. +* Click on "More > Documents Export" """, "data": [ 'view/view.xml', diff --git a/document_extract_from_database/data/ir_values.xml b/document_export_from_db/data/ir_values.xml similarity index 89% rename from document_extract_from_database/data/ir_values.xml rename to document_export_from_db/data/ir_values.xml index 06e1a21f2..9ba127b52 100644 --- a/document_extract_from_database/data/ir_values.xml +++ b/document_export_from_db/data/ir_values.xml @@ -4,7 +4,7 @@ - Document Extraction + Documents Export client_action_multi action diff --git a/document_extract_from_database/i18n/document_extract_from_database.pot b/document_export_from_db/i18n/document_export_from_db.pot similarity index 62% rename from document_extract_from_database/i18n/document_extract_from_database.pot rename to document_export_from_db/i18n/document_export_from_db.pot index b37c5b8a1..0edf974da 100644 --- a/document_extract_from_database/i18n/document_extract_from_database.pot +++ b/document_export_from_db/i18n/document_export_from_db.pot @@ -1,6 +1,6 @@ # Translation of OpenERP Server. # This file contains the translation of the following modules: -# * document_extract_from_database +# * document_export_from_db # msgid "" msgstr "" @@ -15,42 +15,42 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: document_extract_from_database +#. module: document_export_from_db #: view:document.multiple.action:0 msgid "Cancel" msgstr "" -#. module: document_extract_from_database +#. module: document_export_from_db #: view:document.multiple.action:0 -#: model:ir.actions.act_window,name:document_extract_from_database.action_view_document_multiple_action_form -msgid "Document Extraction" +#: model:ir.actions.act_window,name:document_export_from_db.action_view_document_multiple_action_form +msgid "Documents Export" msgstr "" -#. module: document_extract_from_database +#. module: document_export_from_db #: view:document.multiple.action:0 msgid "Extract documents" msgstr "" -#. module: document_extract_from_database +#. module: document_export_from_db #: view:document.multiple.action:0 msgid "If you click on 'Write again', the selected document which are stored in the database will be extracted into the filestore location." msgstr "" -#. module: document_extract_from_database +#. module: document_export_from_db #: code:_description:0 -#: model:ir.model,name:document_extract_from_database.model_document_multiple_action +#: model:ir.model,name:document_export_from_db.model_document_multiple_action #, python-format msgid "Multiple action on document" msgstr "" -#. module: document_extract_from_database +#. module: document_export_from_db #: code:_description:0 -#: model:ir.model,name:document_extract_from_database.model_ir_attachment +#: model:ir.model,name:document_export_from_db.model_ir_attachment #, python-format msgid "ir.attachment" msgstr "" -#. module: document_extract_from_database +#. module: document_export_from_db #: view:document.multiple.action:0 msgid "or" msgstr "" diff --git a/document_extract_from_database/i18n/fr.po b/document_export_from_db/i18n/fr.po similarity index 65% rename from document_extract_from_database/i18n/fr.po rename to document_export_from_db/i18n/fr.po index a12d09d7b..413b0f81e 100644 --- a/document_extract_from_database/i18n/fr.po +++ b/document_export_from_db/i18n/fr.po @@ -1,6 +1,6 @@ # Translation of OpenERP Server. # This file contains the translation of the following modules: -# * document_extract_from_database +# * document_export_from_db # msgid "" msgstr "" @@ -15,42 +15,42 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: document_extract_from_database +#. module: document_export_from_db #: view:document.multiple.action:0 msgid "Cancel" msgstr "Annuler" -#. module: document_extract_from_database +#. module: document_export_from_db #: view:document.multiple.action:0 -#: model:ir.actions.act_window,name:document_extract_from_database.action_view_document_multiple_action_form -msgid "Document Extraction" -msgstr "Export de Document" +#: model:ir.actions.act_window,name:document_export_from_db.action_view_document_multiple_action_form +msgid "Documents Export" +msgstr "Export de Documents" -#. module: document_extract_from_database +#. module: document_export_from_db #: view:document.multiple.action:0 msgid "Extract documents" msgstr "Exporter les Documents" -#. module: document_extract_from_database +#. module: document_export_from_db #: view:document.multiple.action:0 msgid "If you click on 'Write again', the selected document which are stored in the database will be extracted into the filestore location." msgstr "Si vous cliquez sur 'Ecrire de Nouveau', les documents sélectionnés qui sont en base de données seront exportés dans le système de fichiers." -#. module: document_extract_from_database +#. module: document_export_from_db #: code:_description:0 -#: model:ir.model,name:document_extract_from_database.model_document_multiple_action +#: model:ir.model,name:document_export_from_db.model_document_multiple_action #, python-format msgid "Multiple action on document" msgstr "Action Multiple sur des Documents" -#. module: document_extract_from_database +#. module: document_export_from_db #: code:_description:0 -#: model:ir.model,name:document_extract_from_database.model_ir_attachment +#: model:ir.model,name:document_export_from_db.model_ir_attachment #, python-format msgid "ir.attachment" msgstr "ir.attachment" -#. module: document_extract_from_database +#. module: document_export_from_db #: view:document.multiple.action:0 msgid "or" msgstr "ou" diff --git a/document_extract_from_database/model/__init__.py b/document_export_from_db/model/__init__.py similarity index 100% rename from document_extract_from_database/model/__init__.py rename to document_export_from_db/model/__init__.py diff --git a/document_extract_from_database/model/document_multiple_action.py b/document_export_from_db/model/document_multiple_action.py similarity index 100% rename from document_extract_from_database/model/document_multiple_action.py rename to document_export_from_db/model/document_multiple_action.py diff --git a/document_extract_from_database/model/ir_attachment.py b/document_export_from_db/model/ir_attachment.py similarity index 100% rename from document_extract_from_database/model/ir_attachment.py rename to document_export_from_db/model/ir_attachment.py diff --git a/document_extract_from_database/static/src/img/icon.png b/document_export_from_db/static/src/img/icon.png similarity index 100% rename from document_extract_from_database/static/src/img/icon.png rename to document_export_from_db/static/src/img/icon.png diff --git a/document_extract_from_database/static/src/img/icon_licences.txt b/document_export_from_db/static/src/img/icon_licences.txt similarity index 100% rename from document_extract_from_database/static/src/img/icon_licences.txt rename to document_export_from_db/static/src/img/icon_licences.txt diff --git a/document_extract_from_database/tests/__init__.py b/document_export_from_db/tests/__init__.py similarity index 100% rename from document_extract_from_database/tests/__init__.py rename to document_export_from_db/tests/__init__.py diff --git a/document_extract_from_database/tests/test_document_extract_from_database.py b/document_export_from_db/tests/test_document_extract_from_database.py similarity index 100% rename from document_extract_from_database/tests/test_document_extract_from_database.py rename to document_export_from_db/tests/test_document_extract_from_database.py diff --git a/document_extract_from_database/view/action.xml b/document_export_from_db/view/action.xml similarity index 90% rename from document_extract_from_database/view/action.xml rename to document_export_from_db/view/action.xml index 5c23ac21f..1522ba2bc 100644 --- a/document_extract_from_database/view/action.xml +++ b/document_export_from_db/view/action.xml @@ -3,7 +3,7 @@ - Document Extraction + Documents Export document.multiple.action ir.actions.act_window form diff --git a/document_extract_from_database/view/view.xml b/document_export_from_db/view/view.xml similarity index 93% rename from document_extract_from_database/view/view.xml rename to document_export_from_db/view/view.xml index fb1d697c9..5ed03b675 100644 --- a/document_extract_from_database/view/view.xml +++ b/document_export_from_db/view/view.xml @@ -6,7 +6,7 @@ Document multiple action document.multiple.action -
+