Browse Source

[REF] 'document_export_from_db' change name and description;

pull/85/head
Sylvain LE GAL 10 years ago
parent
commit
91a9ff3784
  1. 0
      document_export_from_db/__init__.py
  2. 23
      document_export_from_db/__openerp__.py
  3. 2
      document_export_from_db/data/ir_values.xml
  4. 24
      document_export_from_db/i18n/document_export_from_db.pot
  5. 26
      document_export_from_db/i18n/fr.po
  6. 0
      document_export_from_db/model/__init__.py
  7. 0
      document_export_from_db/model/document_multiple_action.py
  8. 0
      document_export_from_db/model/ir_attachment.py
  9. 0
      document_export_from_db/static/src/img/icon.png
  10. 0
      document_export_from_db/static/src/img/icon_licences.txt
  11. 0
      document_export_from_db/tests/__init__.py
  12. 0
      document_export_from_db/tests/test_document_extract_from_database.py
  13. 2
      document_export_from_db/view/action.xml
  14. 2
      document_export_from_db/view/view.xml

0
document_extract_from_database/__init__.py → document_export_from_db/__init__.py

23
document_extract_from_database/__openerp__.py → 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',

2
document_extract_from_database/data/ir_values.xml → document_export_from_db/data/ir_values.xml

@ -4,7 +4,7 @@
<record model="ir.values" id="document_multiple_action">
<field name="model_id" ref="base.model_ir_attachment" />
<field name="name">Document Extraction</field>
<field name="name">Documents Export</field>
<field name="key2">client_action_multi</field>
<field name="value" eval="'ir.actions.act_window,' + str(ref('action_view_document_multiple_action_form'))" />
<field name="key">action</field>

24
document_extract_from_database/i18n/document_extract_from_database.pot → 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 ""

26
document_extract_from_database/i18n/fr.po → 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"

0
document_extract_from_database/model/__init__.py → document_export_from_db/model/__init__.py

0
document_extract_from_database/model/document_multiple_action.py → document_export_from_db/model/document_multiple_action.py

0
document_extract_from_database/model/ir_attachment.py → document_export_from_db/model/ir_attachment.py

0
document_extract_from_database/static/src/img/icon.png → document_export_from_db/static/src/img/icon.png

Before

Width: 213  |  Height: 213  |  Size: 29 KiB

After

Width: 213  |  Height: 213  |  Size: 29 KiB

0
document_extract_from_database/static/src/img/icon_licences.txt → document_export_from_db/static/src/img/icon_licences.txt

0
document_extract_from_database/tests/__init__.py → document_export_from_db/tests/__init__.py

0
document_extract_from_database/tests/test_document_extract_from_database.py → document_export_from_db/tests/test_document_extract_from_database.py

2
document_extract_from_database/view/action.xml → document_export_from_db/view/action.xml

@ -3,7 +3,7 @@
<data>
<record id="action_view_document_multiple_action_form" model="ir.actions.act_window">
<field name="name">Document Extraction</field>
<field name="name">Documents Export</field>
<field name="res_model">document.multiple.action</field>
<field name="type">ir.actions.act_window</field>
<field name="view_type">form</field>

2
document_extract_from_database/view/view.xml → document_export_from_db/view/view.xml

@ -6,7 +6,7 @@
<field name="name">Document multiple action</field>
<field name="model">document.multiple.action</field>
<field name="arch" type="xml">
<form string="Document Extraction" version="7.0">
<form string="Documents Export" version="7.0">
<div>
<p>
<label string="If you click on 'Write again', the selected document which are stored in the database will be extracted into the filestore location."/>
Loading…
Cancel
Save