.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
============================
Module Uninstallation Checks
============================
This module extends the functionality of base module, to improve modules
uninstallation process.
It provides an extra view, on module form to display which models (SQL tables)
and which fields (SQL columns) will be dropped, if the selected module is
uninstalled.
Technical Note
==============
This module uses postgreSQL native column like reltuples in pg_class that
provides approximative rows quantity. To have a precise value, please
run first the following code:
.. code-block:: sql
REINDEX DATABASE my_database_name;
Usage
=====
To use this module, you need to:
#. Go to Settings / Modules / Local Modules
#. Select an installed module
#. Click on the button 'Uninstallation Impact'
.. figure:: /module_uninstall_check/static/description/module_form.png
:width: 800 px
* Sample, selecting sale_margin module
.. figure:: /module_uninstall_check/static/description/sale_margin_uninstallation.png
:width: 800 px
* Sample, selecting sale_stock module, when sale_margin is installed
.. figure:: /module_uninstall_check/static/description/sale_uninstallation.png
:width: 800 px
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/149/8.0
Known issues / Roadmap
======================
* In some cases, we want to uninstall a module, but prevent some data deletion.
This can happen if we want to keep some datas after uninstallation or if the
data moved into another module after a refactoring.
This module could implement such feature, adding extra feature on wizard lines,
deleting or renaming xml ids.
* For the time being, wizard displays size used for models in database. It
could be interesting to know the space released by the deletion of a column.
Bug Tracker
===========
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/server-tools/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.
Credits
=======
Contributors
------------
* Sylvain LE GAL (https://twitter.com/legalsylvain)
Funders
-------
The development of this module has been financially supported by:
* GRAP, Groupement Régional Alimentaire de Proximité (http://www.grap.coop)
Maintainer
----------
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
This module is maintained by the OCA.
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.
To contribute to this module, please visit https://odoo-community.org.
Raw data
{
"_id": null,
"home_page": "https://odoo-community.org/",
"name": "odoo8-addon-module-uninstall-check",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "GRAP, Odoo Community Association (OCA)",
"author_email": "support@odoo-community.org",
"download_url": "",
"platform": "",
"description": ".. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n\n============================\nModule Uninstallation Checks\n============================\n\nThis module extends the functionality of base module, to improve modules\nuninstallation process.\n\nIt provides an extra view, on module form to display which models (SQL tables)\nand which fields (SQL columns) will be dropped, if the selected module is\nuninstalled.\n\nTechnical Note\n==============\n\nThis module uses postgreSQL native column like reltuples in pg_class that\nprovides approximative rows quantity. To have a precise value, please\nrun first the following code:\n\n.. code-block:: sql\n\n REINDEX DATABASE my_database_name;\n\nUsage\n=====\n\nTo use this module, you need to:\n\n#. Go to Settings / Modules / Local Modules\n#. Select an installed module\n#. Click on the button 'Uninstallation Impact'\n\n.. figure:: /module_uninstall_check/static/description/module_form.png\n :width: 800 px\n\n* Sample, selecting sale_margin module\n\n.. figure:: /module_uninstall_check/static/description/sale_margin_uninstallation.png\n :width: 800 px\n\n* Sample, selecting sale_stock module, when sale_margin is installed\n\n.. figure:: /module_uninstall_check/static/description/sale_uninstallation.png\n :width: 800 px\n\n.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas\n :alt: Try me on Runbot\n :target: https://runbot.odoo-community.org/runbot/149/8.0\n\nKnown issues / Roadmap\n======================\n\n* In some cases, we want to uninstall a module, but prevent some data deletion.\n This can happen if we want to keep some datas after uninstallation or if the\n data moved into another module after a refactoring.\n\nThis module could implement such feature, adding extra feature on wizard lines,\ndeleting or renaming xml ids.\n\n* For the time being, wizard displays size used for models in database. It\n could be interesting to know the space released by the deletion of a column.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues\n<https://github.com/OCA/server-tools/issues>`_. In case of trouble, please\ncheck there if your issue has already been reported. If you spotted it first,\nhelp us smash it by providing detailed and welcomed feedback.\n\nCredits\n=======\n\nContributors\n------------\n\n* Sylvain LE GAL (https://twitter.com/legalsylvain)\n\nFunders\n-------\n\nThe development of this module has been financially supported by:\n\n* GRAP, Groupement R\u00e9gional Alimentaire de Proximit\u00e9 (http://www.grap.coop)\n\nMaintainer\n----------\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nThis module is maintained by the OCA.\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nTo contribute to this module, please visit https://odoo-community.org.\n\n\n\n",
"bugtrack_url": null,
"license": "AGPL-3",
"summary": "Add Extra Checks before uninstallation of modules",
"version": "8.0.1.0.0",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1cf4dc25637ab7be193ad4ce0b5486605f6f2a382f7d5f24c9e4f3695492283e",
"md5": "281cc3880aced0bcb7c499bcb8310ea6",
"sha256": "509234453ea1ab375defe99abb1833db76566eeb79739aadaffa65ec99b80249"
},
"downloads": -1,
"filename": "odoo8_addon_module_uninstall_check-8.0.1.0.0-py2-none-any.whl",
"has_sig": false,
"md5_digest": "281cc3880aced0bcb7c499bcb8310ea6",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 135624,
"upload_time": "2017-07-26T04:30:47",
"upload_time_iso_8601": "2017-07-26T04:30:47.126044Z",
"url": "https://files.pythonhosted.org/packages/1c/f4/dc25637ab7be193ad4ce0b5486605f6f2a382f7d5f24c9e4f3695492283e/odoo8_addon_module_uninstall_check-8.0.1.0.0-py2-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2017-07-26 04:30:47",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "odoo8-addon-module-uninstall-check"
}