Browse Source

publish muk_autovacuum - 12.0

pull/30/head
MuK IT GmbH 6 years ago
parent
commit
81c0bbb8d6
  1. 120
      muk_autovacuum/README.rst
  2. 4
      muk_autovacuum/__manifest__.py
  3. 53
      muk_autovacuum/i18n/de.po

120
muk_autovacuum/README.rst

@ -0,0 +1,120 @@
==============
MuK Autovacuum
==============
Allows the administrator to create rules to automatically garbage collect
a certain model. Every rule can have a different time interval additional
constraints. An extra constraint can be for example to only delete inactive
records.
Installation
============
To install this module, you need to:
Download the module and add it to your Odoo addons folder. Afterward, log on to
your Odoo server and go to the Apps menu. Trigger the debug mode and update the
list by clicking on the "Update Apps List" link. Now install the module by
clicking on the install button.
Another way to install this module is via the package management for Python
(`PyPI <https://pypi.org/project/pip/>`_).
To install our modules using the package manager make sure
`odoo-autodiscover <https://pypi.org/project/odoo-autodiscover/>`_ is installed
correctly. Then open a console and install the module by entering the following
command:
``pip install --extra-index-url https://nexus.mukit.at/repository/odoo/simple <module>``
The module name consists of the Odoo version and the module name, where
underscores are replaced by a dash.
**Module:**
``odoo<version>-addon-<module_name>``
**Example:**
``sudo -H pip3 install --extra-index-url https://nexus.mukit.at/repository/odoo/simple odoo11-addon-muk-utils``
Once the installation has been successfully completed, the app is already in the
correct folder. Log on to your Odoo server and go to the Apps menu. Trigger the
debug mode and update the list by clicking on the "Update Apps List" link. Now
install the module by clicking on the install button.
The biggest advantage of this variant is that you can now also update the app
using the "pip" command. To do this, enter the following command in your console:
``pip install --upgrade --extra-index-url https://nexus.mukit.at/repository/odoo/simple <module>``
When the process is finished, restart your server and update the application in
Odoo. The steps are the same as for the installation only the button has changed
from "Install" to "Upgrade".
You can also view available Apps directly in our `repository <https://nexus.mukit.at/#browse/browse:odoo>`_
and find a more detailed installation guide on our `website <https://mukit.at/page/open-source>`_.
For modules licensed under OPL-1, you will receive access data when you purchase
the module. If the modules were not purchased directly from
`MuK IT <https://www.mukit.at/>`_ please contact our support (support@mukit.at)
with a confirmation of purchase to receive the corresponding access data.
Upgrade
============
To upgrade this module, you need to:
Download the module and add it to your Odoo addons folder. Restart the server
and log on to your Odoo server. Select the Apps menu and upgrade the module by
clicking on the upgrade button.
If you installed the module using the "pip" command, you can also update the
module in the same way. Just type the following command into the console:
``pip install --upgrade --extra-index-url https://nexus.mukit.at/repository/odoo/simple <module>``
When the process is finished, restart your server and update the application in
Odoo, just like you would normally.
Configuration
=============
To configure this module, you need to:
#. Go to *Settings* while being in debug mode.
#. Afterwards go to *Technical -> Automation -> Auto Vacuum Rules*.
#. And create a new rule.
Usage
=============
This module has no direct visible effect on the system. The garbage collections
happens during the autovacuum cron job.
Credits
=======
Contributors
------------
* Mathias Markl <mathias.markl@mukit.at>
Images
------------
Some pictures are based on or inspired by the icon set of Font Awesome:
* `Font Awesome <https://fontawesome.com>`_
Author & Maintainer
-------------------
This module is maintained by the `MuK IT GmbH <https://www.mukit.at/>`_.
MuK IT is an Austrian company specialized in customizing and extending Odoo.
We develop custom solutions for your individual needs to help you focus on
your strength and expertise to grow your business.
If you want to get in touch please contact us via mail
(sale@mukit.at) or visit our website (https://mukit.at).

4
muk_autovacuum/__manifest__.py

@ -17,10 +17,10 @@
# #
################################################################################### ###################################################################################
{
{
'name': 'MuK Autovacuum', 'name': 'MuK Autovacuum',
'summary': 'Configure automatic garbage collection', 'summary': 'Configure automatic garbage collection',
'version': '12.0.2.1.13',
'version': '12.0.2.1.14',
'category': 'Extra Tools', 'category': 'Extra Tools',
'license': 'AGPL-3', 'license': 'AGPL-3',
'author': 'MuK IT', 'author': 'MuK IT',

53
muk_autovacuum/i18n/de.po

@ -7,43 +7,51 @@ msgstr ""
"Project-Id-Version: Odoo Server 12.0-20190128\n" "Project-Id-Version: Odoo Server 12.0-20190128\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-02-27 13:36+0000\n" "POT-Creation-Date: 2019-02-27 13:36+0000\n"
"PO-Revision-Date: 2019-02-27 13:36+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"PO-Revision-Date: 2019-05-12 17:18+0000\n"
"Last-Translator: Manuel Marklo <manuel.marklo@mukit.at>\n"
"Language-Team: German <http://https://weblate.mukit.at/projects/base-12/"
"muk_autovacuum/de/>\n"
"Language: de\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.4\n"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form #: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form
msgid "<code>Warning</code>: Warning Exception to use with <code>raise</code>" msgid "<code>Warning</code>: Warning Exception to use with <code>raise</code>"
msgstr "<code>Warnung:</code> Warnausnahme, die bei <code>einer Erhöhung</code> Anwendung findet"
msgstr "<code>Warnung</code>: Fehler zur Verwendung mit <code>raise</code>"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form #: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form
msgid "<code>b64encode</code>, <code>b64decode</code>: Base64 converter" msgid "<code>b64encode</code>, <code>b64decode</code>: Base64 converter"
msgstr ""
msgstr "<code>b64encode</code>, <code>b64decode</code>: Base64 Converter"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form #: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form
msgid "<code>date_format</code>, <code>datetime_format</code>: server date and time formats" msgid "<code>date_format</code>, <code>datetime_format</code>: server date and time formats"
msgstr "" msgstr ""
"<code>date_format</code>, <code>datetime_format</code>: Serverdatum und "
"Zeitformate"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form #: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form
msgid "<code>env</code>: Odoo Environment on which the rule is triggered" msgid "<code>env</code>: Odoo Environment on which the rule is triggered"
msgstr ""
msgstr "<code>env</code>: Odoo Umgebung in welcher die Regel angewendet wird"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form #: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form
#, fuzzy
msgid "<code>logger.info(message)</code>: Python logging framework" msgid "<code>logger.info(message)</code>: Python logging framework"
msgstr ""
msgstr "<code>logger.info(message)</code>: Python-Protokollierungs-Framework"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form #: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form
msgid "<code>model</code>: Odoo Model of the record on which the rule is triggered" msgid "<code>model</code>: Odoo Model of the record on which the rule is triggered"
msgstr "" msgstr ""
"<code>model</code>: Odoo Modell des Datensatzes, auf dem die Regel "
"angewendet wird"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form #: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form
@ -54,6 +62,8 @@ msgstr "<code>time</code>, <code>datetime</code>, <code>dateutil</code>, <code>t
#: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form #: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form
msgid "<code>uid</code>, <code>user</code>: User on which the rule is triggered" msgid "<code>uid</code>, <code>user</code>: User on which the rule is triggered"
msgstr "" msgstr ""
"<code>uid</code>, <code>Benutzer</code>: Benutzer an dem die Regel "
"angewendet wird"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__active #: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__active
@ -77,23 +87,25 @@ msgstr "Auto Vacuum Regeln"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model:ir.model,name:muk_autovacuum.model_ir_autovacuum #: model:ir.model,name:muk_autovacuum.model_ir_autovacuum
#, fuzzy
msgid "Automatic Vacuum" msgid "Automatic Vacuum"
msgstr "Automatisch aufräumen" msgstr "Automatisch aufräumen"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__code #: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__code
msgid "Code" msgid "Code"
msgstr ""
msgstr "Code"
#. module: muk_autovacuum #. module: muk_autovacuum
#: selection:muk_autovacuum.rules,state:0 #: selection:muk_autovacuum.rules,state:0
#, fuzzy
msgid "Code Based" msgid "Code Based"
msgstr "Codebasiert" msgstr "Codebasiert"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form #: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form
msgid "Code Settings" msgid "Code Settings"
msgstr ""
msgstr "Codeeinstellungen"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model:ir.model.fields,help:muk_autovacuum.field_muk_autovacuum_rules__code #: model:ir.model.fields,help:muk_autovacuum.field_muk_autovacuum_rules__code
@ -155,7 +167,7 @@ msgstr "Löscht keine markierten Datensätze.\n"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__domain #: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__domain
msgid "Domain" msgid "Domain"
msgstr ""
msgstr "Domain"
#. module: muk_autovacuum #. module: muk_autovacuum
#: selection:muk_autovacuum.rules,state:0 #: selection:muk_autovacuum.rules,state:0
@ -165,7 +177,7 @@ msgstr "Domainenbasiert"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form #: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form
msgid "Domain Settings" msgid "Domain Settings"
msgstr ""
msgstr "Domaineinstellungen"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form #: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form
@ -194,7 +206,7 @@ msgstr "GC Domain: [] order: %s limit: %s"
#: code:addons/muk_autovacuum/models/ir_autovacuum.py:84 #: code:addons/muk_autovacuum/models/ir_autovacuum.py:84
#, python-format #, python-format
msgid "GC'd %s %s records" msgid "GC'd %s %s records"
msgstr ""
msgstr "GC'd %s %s Aufnahmen"
#. module: muk_autovacuum #. module: muk_autovacuum
#: code:addons/muk_autovacuum/models/ir_autovacuum.py:80 #: code:addons/muk_autovacuum/models/ir_autovacuum.py:80
@ -225,13 +237,13 @@ msgstr "Stunden"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__id #: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__id
msgid "ID" msgid "ID"
msgstr ""
msgstr "ID"
#. module: muk_autovacuum #. module: muk_autovacuum
#: code:addons/muk_autovacuum/models/rules.py:287 #: code:addons/muk_autovacuum/models/rules.py:287
#, python-format #, python-format
msgid "Import Template for Auto Vacuum Rules" msgid "Import Template for Auto Vacuum Rules"
msgstr ""
msgstr "Importvorlage für die automatischen Aufräumregeln"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules____last_update #: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules____last_update
@ -277,7 +289,7 @@ msgstr "Monate"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__name #: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__name
msgid "Name" msgid "Name"
msgstr ""
msgstr "Name"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__only_inactive #: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__only_inactive
@ -343,7 +355,7 @@ msgstr "Größensortierung"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form #: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form
msgid "Size Settings" msgid "Size Settings"
msgstr ""
msgstr "Größeneinstellung"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__size_type #: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__size_type
@ -353,7 +365,7 @@ msgstr "Größe Typ"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__size_parameter_value #: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__size_parameter_value
msgid "Size Value" msgid "Size Value"
msgstr ""
msgstr "Größenwert"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__size_parameter #: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__size_parameter
@ -379,7 +391,7 @@ msgstr "Zeitfeld"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form #: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form
msgid "Time Settings" msgid "Time Settings"
msgstr ""
msgstr "Zeiteinstellungen"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__time_type #: model:ir.model.fields,field_description:muk_autovacuum.field_muk_autovacuum_rules__time_type
@ -404,5 +416,4 @@ msgstr "Jahre"
#. module: muk_autovacuum #. module: muk_autovacuum
#: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form #: model_terms:ir.ui.view,arch_db:muk_autovacuum.view_autovacuum_rule_form
msgid "e.g. Delete Logs after 30 Days" msgid "e.g. Delete Logs after 30 Days"
msgstr ""
msgstr "z.B. Protokolle nach 30 Tagen löschen"
Loading…
Cancel
Save