forked from Smile-SA/odoo_addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] #1089601 smile_document : migration to V15.0
- Loading branch information
imane
authored and
Rahma ROUMANI
committed
Aug 10, 2022
1 parent
c8ef9ab
commit d3c1b17
Showing
16 changed files
with
1,263 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.. image:: https://img.shields.io/badge/licence-GPL--3-blue.svg | ||
:alt: License: GPL-3 | ||
|
||
Document Management | ||
=================== | ||
|
||
This modules allows to define type on documents. | ||
|
||
It also allows to define an expiry date on documents and to archive them. | ||
|
||
|
||
Configuration | ||
============= | ||
|
||
If you want to add your own document types, add group | ||
*Document / Manage Document* and go to menu *Document / Configuration / Documents types*. | ||
|
||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/Smile-SA/odoo_addons/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 | ||
`here <https://github.com/Smile-SA/odoo_addons/issues/new?body=module:%20smile_document%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
|
||
Credits | ||
======= | ||
|
||
Maintainer | ||
---------- | ||
|
||
This module is maintained by Smile SA. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# (C) 2019 Smile (<http://www.smile.eu>) | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# -*- coding: utf-8 -*- | ||
# (C) 2019 Smile (<http://www.smile.eu>) | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
|
||
{ | ||
'name': 'Smile Document', | ||
'version': '1.0', | ||
'depends': [ | ||
'attachment_indexation', | ||
], | ||
'author': 'Smile', | ||
'description': """ | ||
Document Management | ||
""", | ||
'summary': 'Smile Document', | ||
'website': 'http://www.smile.fr', | ||
'category': 'Document Management', | ||
'sequence': 10, | ||
'data': [ | ||
'views/document_view.xml', | ||
'views/menus.xml', | ||
'security/document_security.xml', | ||
'security/ir.model.access.csv', | ||
'data/ir_cron.xml', | ||
], | ||
'demo_xml': [], | ||
'test': [], | ||
'auto_install': False, | ||
'installable': True, | ||
'application': False, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data> | ||
|
||
<record id="alerte_document" model="ir.cron"> | ||
<field name="name">Alerte</field> | ||
<field name="user_id" ref="base.user_admin"/> | ||
<field name="interval_number">1</field> | ||
<field name="interval_type">minutes</field> | ||
<field name="numbercall">-1</field> | ||
<field name="priority">5</field> | ||
<field name="model_id" ref="model_ir_attachment"/> | ||
<field name="state">code</field> | ||
<field name="code">model.update_document_status()</field> | ||
<field eval="False" name="doall"/> | ||
</record> | ||
|
||
</data> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,235 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * smile_document | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 15.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2019-05-02 08:57+0000\n" | ||
"PO-Revision-Date: 2019-05-02 08:57+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: smile_document | ||
#: code:addons/smile_document/models/document.py:51 | ||
#, python-format | ||
msgid " (copy)" | ||
msgstr "(copier)" | ||
|
||
#. module: smile_document | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_attachment_form_inherit | ||
msgid "Additional informations" | ||
msgstr "Informations Additionnelles" | ||
|
||
#. module: smile_document | ||
#: selection:ir.attachment,status:0 | ||
#: model:ir.model.fields,field_description:smile_document.field_ir_attachment__archived | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_search | ||
msgid "Archived" | ||
msgstr "Archivé" | ||
|
||
#. module: smile_document | ||
#: model:ir.model,name:smile_document.model_ir_attachment | ||
msgid "Attachment" | ||
msgstr "Pièce jointe" | ||
|
||
#. module: smile_document | ||
#: code:addons/smile_document/models/document.py:44 | ||
#, python-format | ||
msgid "Attention : You cannot unlink document type!" | ||
msgstr "Attention : Vous ne pouvez pas supprimer le type du document" | ||
|
||
#. module: smile_document | ||
#: model:ir.ui.menu,name:smile_document.menu_document2 | ||
msgid "Collaborative Content" | ||
msgstr "Contenu collaboratif" | ||
|
||
#. module: smile_document | ||
#: model:ir.ui.menu,name:smile_document.menu_document_configuration | ||
msgid "Configuration" | ||
msgstr "Configuration" | ||
|
||
#. module: smile_document | ||
#: model:ir.model.fields,field_description:smile_document.field_ir_attachment_type__create_uid | ||
msgid "Created by" | ||
msgstr "Créé par" | ||
|
||
#. module: smile_document | ||
#: model:ir.model.fields,field_description:smile_document.field_ir_attachment_type__create_date | ||
msgid "Created on" | ||
msgstr "Créé le" | ||
|
||
#. module: smile_document | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_attachment_form_inherit | ||
msgid "Creation" | ||
msgstr "Création" | ||
|
||
#. module: smile_document | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_attachment_form_inherit | ||
msgid "Description" | ||
msgstr "Description" | ||
|
||
#. module: smile_document | ||
#: model:ir.model.fields,field_description:smile_document.field_ir_attachment_type__display_name | ||
msgid "Display Name" | ||
msgstr "Nom affiché" | ||
|
||
#. module: smile_document | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_search | ||
msgid "Document" | ||
msgstr "Document" | ||
|
||
#. module: smile_document | ||
#: model:ir.model.fields,field_description:smile_document.field_ir_attachment__document_date | ||
msgid "Document Date" | ||
msgstr "Date du document" | ||
|
||
#. module: smile_document | ||
#: model:ir.ui.menu,name:smile_document.menu_document_management_config | ||
msgid "Document Management" | ||
msgstr "Gestion documentaire" | ||
|
||
#. module: smile_document | ||
#: model:ir.model.fields,field_description:smile_document.field_ir_attachment__document_type_id | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_search | ||
#: model:ir.model,name:smile_document.model_ir_attachment_type | ||
msgid "Document Type" | ||
msgstr "Types des documents" | ||
|
||
#. module: smile_document | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_type_form | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_type_search | ||
msgid "Document type" | ||
msgstr "Types des documents" | ||
|
||
#. module: smile_document | ||
#: code:addons/smile_document/models/document.py:37 | ||
#, python-format | ||
msgid "Document type name must be unique" | ||
msgstr "Le nom du type de document doit être unique" | ||
|
||
#. module: smile_document | ||
#: model:ir.actions.act_window,name:smile_document.action_document | ||
#: model:ir.ui.menu,name:smile_document.menu_document | ||
#: model:ir.ui.menu,name:smile_document.menu_document_management_documents | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_search | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_tree | ||
msgid "Documents" | ||
msgstr "Documents" | ||
|
||
#. module: smile_document | ||
#: model:ir.actions.act_window,name:smile_document.action_document_type | ||
#: model:ir.ui.menu,name:smile_document.menu_document_type | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_type_tree | ||
msgid "Documents types" | ||
msgstr "Types des documents" | ||
|
||
#. module: smile_document | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_search | ||
msgid "Expiration Month" | ||
msgstr "Mois d'expiration" | ||
|
||
#. module: smile_document | ||
#: selection:ir.attachment,status:0 | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_search | ||
msgid "Expired" | ||
msgstr "Expiré" | ||
|
||
#. module: smile_document | ||
#: model:ir.model.fields,field_description:smile_document.field_ir_attachment__expiry_date | ||
msgid "Expiry Date" | ||
msgstr "Date d'expiration" | ||
|
||
#. module: smile_document | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_search | ||
msgid "Filter on my documents" | ||
msgstr "Filtrer sur mes documents" | ||
|
||
#. module: smile_document | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_search | ||
msgid "Group By" | ||
msgstr "Regrouper par" | ||
|
||
#. module: smile_document | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_attachment_form_inherit | ||
msgid "History" | ||
msgstr "Historique" | ||
|
||
#. module: smile_document | ||
#: model:ir.model.fields,field_description:smile_document.field_ir_attachment_type__id | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: smile_document | ||
#: model:ir.model.fields,field_description:smile_document.field_ir_attachment_type____last_update | ||
msgid "Last Modified on" | ||
msgstr "Dernière modification le" | ||
|
||
#. module: smile_document | ||
#: model:ir.model.fields,field_description:smile_document.field_ir_attachment_type__write_uid | ||
msgid "Last Updated by" | ||
msgstr "Dernière mise à jour par" | ||
|
||
#. module: smile_document | ||
#: model:ir.model.fields,field_description:smile_document.field_ir_attachment_type__write_date | ||
msgid "Last Updated on" | ||
msgstr "Dernière mise à jour le" | ||
|
||
#. module: smile_document | ||
#: sql_constraint:ir.attachment.type:0 | ||
msgid "The type of the document must be unique !" | ||
msgstr "Le nom du type de document doit être unique !" | ||
|
||
#. module: smile_document | ||
#: model:res.groups,name:smile_document.group_manage_document | ||
msgid "Manage Document" | ||
msgstr "Gerer les documents" | ||
|
||
#. module: smile_document | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_attachment_form_inherit | ||
msgid "Modification" | ||
msgstr "Modification" | ||
|
||
#. module: smile_document | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_search | ||
msgid "My Document(s)" | ||
msgstr "Mes Documents" | ||
|
||
#. module: smile_document | ||
#: model:ir.model.fields,field_description:smile_document.field_ir_attachment_type__name | ||
msgid "Name" | ||
msgstr "Nom" | ||
|
||
#. module: smile_document | ||
#: model:res.groups,name:smile_document.group_read_document | ||
msgid "Read Document" | ||
msgstr "Lire les documents" | ||
|
||
#. module: smile_document | ||
#: model:ir.model.fields,field_description:smile_document.field_ir_attachment__status | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_search | ||
msgid "Status" | ||
msgstr "État" | ||
|
||
#. module: smile_document | ||
#: selection:ir.attachment,status:0 | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_search | ||
msgid "Valid" | ||
msgstr "Valide" | ||
|
||
#. module: smile_document | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_document_tree | ||
msgid "Write Date" | ||
msgstr "Date de modification" | ||
|
||
#. module: smile_document | ||
#: model_terms:ir.ui.view,arch_db:smile_document.view_attachment_form_inherit | ||
msgid "on" | ||
msgid "on" | ||
msgstr "le" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# (C) 2019 Smile (<http://www.smile.eu>) | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
|
||
from . import document |
Oops, something went wrong.