Skip to content

Commit

Permalink
[FIX] dms: remove unused code and fixing: webpanel, migration, thumbn…
Browse files Browse the repository at this point in the history
…ails, preview
  • Loading branch information
etobella committed Jul 6, 2020
1 parent b23f824 commit 8133c76
Show file tree
Hide file tree
Showing 189 changed files with 1,140 additions and 850 deletions.
67 changes: 41 additions & 26 deletions dms/README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
===
DMS
===
==========================
Document Management System
==========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
Expand All @@ -13,23 +13,22 @@ DMS
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github
:target: https://github.com/OCA/server-tools/tree/13.0/dms
:alt: OCA/server-tools
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdms-lightgray.png?logo=github
:target: https://github.com/OCA/dms/tree/13.0/dms
:alt: OCA/dms
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-tools-13-0/server-tools-13-0-dms
:target: https://translation.odoo-community.org/projects/dms-13-0/dms-13-0-dms
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/149/13.0
:target: https://runbot.odoo-community.org/runbot/292/13.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

DMS is a module to create, manage and view files directly within Odoo.
In addition to views for files and folders, it offers its own all in one view
to make working with documents easier. This module is only the basis for an
entire ecosystem of apps that extend and seamlessly integrate with the document
management system.
DMS is a module for creating, managing and viewing document files directly
within Odoo.
This module is only the basis for an entire ecosystem of apps that extend and
seamlessly integrate with the document management system.

**Table of contents**

Expand All @@ -42,23 +41,45 @@ Configuration
To configure this module, you need to:

#. Go to *Documents -> Configuration -> Storages*.
#. Create a new document setting.
#. Create a new document storage. You can choose between two options on `Save Type`:
* `Database`: Store the files on the database as a field
* `Attachment`: Store the files as attachments
#. Afterwards go to *Documents -> Directories*.
#. Create a new directory, mark it as root and select the previously created setting.
#. On the Directory you can also define the access groups that will be able to:
* read
* create
* write
* delete


Migration
~~~~~~~~~

If you need to modify the storage Save Type you might want to migrate the file data.
In order to achieve it you need to:

#. Go to *Documents -> Configuration -> Storage* and select the storage you want to modify
#. Modify the save type
#. Press the button `Migrate files` if you want to migrate all the files at once
#. Press the button `Manual File Migration` in order to specify files one by one

You can check all the files that still needs to be migrated from all storages
and migrate them manually on *Documents -> Configuration -> Migration*

Usage
=====

The best way to manage the documents is to switch to the Documents view. Existing
documents can be managed there and new documents can be created.
The best way to manage the documents is to switch to the Documents view.
Existing documents can be managed there and new documents can be created.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_.
Bugs are tracked on `GitHub Issues <https://github.com/OCA/dms/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:%20dms%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/dms/issues/new?body=module:%20dms%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Expand All @@ -76,17 +97,11 @@ Contributors
* Mathias Markl <mathias.markl@mukit.at>
* Enric Tobella <etobella@creublanca.es>
* Antoni Romera
* Gelu Boro
* Gelu Boros <gelu.boros@rgbconsulting.com>

Other credits
~~~~~~~~~~~~~

This module was originaly created by MuK

------
Images
------

Some pictures are based on or inspired by:

* `Roundicons <https://www.flaticon.com/authors/roundicons>`_
Expand All @@ -105,6 +120,6 @@ 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.

This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/13.0/dms>`_ project on GitHub.
This module is part of the `OCA/dms <https://github.com/OCA/dms/tree/13.0/dms>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
6 changes: 3 additions & 3 deletions dms/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
"name": "DMS",
"summary": """Document Management System""",
"name": "Document Management System",
"summary": """Document Management System for Odoo""",
"version": "13.0.1.0.0",
"category": "Document Management",
"license": "LGPL-3",
"website": "http://github.com/OCA/dms",
"author": "MuK IT,Odoo Community Association (OCA)",
"depends": ["web_drop_target", "mail"],
"depends": ["web_drop_target", "mail", "http_routing"],
"data": [
"security/security.xml",
"security/ir.model.access.csv",
Expand Down
19 changes: 2 additions & 17 deletions dms/actions/file.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2017-2019 MuK IT GmbH.
This file is part of MuK Documents
(see https://mukit.at).
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright 2017-2019 MuK IT GmbH
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
-->
<odoo>
Expand Down
19 changes: 2 additions & 17 deletions dms/demo/category.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (c) 2017-2019 MuK IT GmbH.
This file is part of MuK Documents
(see https://mukit.at).
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright 2017-2019 MuK IT GmbH
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
-->
<odoo noupdate="1">
Expand Down
19 changes: 2 additions & 17 deletions dms/demo/data/code02.sh
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
#!/bin/bash
##
##
## Copyright (c) 2017-2019 MuK IT GmbH.
##
## This file is part of MuK Documents
## (see https://mukit.at).
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
## Copyright 2017-2019 MuK IT GmbH
## License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
##
##
STR="Hello World!"
Expand Down
19 changes: 2 additions & 17 deletions dms/demo/data/code03.c
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
/*
*
* Copyright (c) 2017-2019 MuK IT GmbH.
*
* This file is part of MuK Documents
* (see https://mukit.at).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* Copyright 2017-2019 MuK IT GmbH
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
*
*/
#include <stdio.h>
Expand Down
19 changes: 2 additions & 17 deletions dms/demo/data/code04.cc
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
/*
*
* Copyright (c) 2017-2019 MuK IT GmbH.
*
* This file is part of MuK Documents
* (see https://mukit.at).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* Copyright 2017-2019 MuK IT GmbH
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
*
*/
#include <iostream>
Expand Down
19 changes: 2 additions & 17 deletions dms/demo/data/code05.cs
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
//
// Copyright (c) 2017-2019 MuK IT GmbH.
//
// This file is part of MuK Documents
// (see https://mukit.at).
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// Copyright 2017-2019 MuK IT GmbH
// License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
//
using System;

Expand Down
19 changes: 2 additions & 17 deletions dms/demo/data/code10.groovy
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
/**********************************************************************************
*
* Copyright (c) 2017-2019 MuK IT GmbH.
*
* This file is part of MuK Documents
* (see https://mukit.at).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* Copyright 2017-2019 MuK IT GmbH
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
*
**********************************************************************************/
println "Hello World"
19 changes: 2 additions & 17 deletions dms/demo/data/code11.java
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
/**********************************************************************************
*
* Copyright (c) 2017-2019 MuK IT GmbH.
*
* This file is part of MuK Documents
* (see https://mukit.at).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* Copyright 2017-2019 MuK IT GmbH
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
*
**********************************************************************************/
class HelloWorldApp {
Expand Down
19 changes: 2 additions & 17 deletions dms/demo/directory.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (c) 2017-2019 MuK IT GmbH.
This file is part of MuK Documents
(see https://mukit.at).
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright 2017-2019 MuK IT GmbH
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
-->
<odoo noupdate="1">
Expand Down
19 changes: 2 additions & 17 deletions dms/demo/file.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (c) 2017-2019 MuK IT GmbH.
This file is part of MuK Documents
(see https://mukit.at).
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright 2017-2019 MuK IT GmbH
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
-->
<odoo noupdate="1">
Expand Down
Loading

0 comments on commit 8133c76

Please sign in to comment.