diff --git a/module_auto_update/README.rst b/module_auto_update/README.rst index d542d5092..f2b8514e3 100644 --- a/module_auto_update/README.rst +++ b/module_auto_update/README.rst @@ -14,13 +14,13 @@ Module Auto Update :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/12.0/module_auto_update + :target: https://github.com/OCA/server-tools/tree/13.0/module_auto_update :alt: OCA/server-tools .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-module_auto_update + :target: https://translation.odoo-community.org/projects/server-tools-13-0/server-tools-13-0-module_auto_update :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/12.0 + :target: https://runbot.odoo-community.org/runbot/149/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -80,7 +80,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -102,6 +102,7 @@ Contributors * Juan José Scarafía * Jairo Llopis * Stéphane Bidoul (https://acsone.eu) +* Eric Antones Maintainers ~~~~~~~~~~~ @@ -116,6 +117,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 `_ project on GitHub. +This module is part of the `OCA/server-tools `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/module_auto_update/__manifest__.py b/module_auto_update/__manifest__.py index 6545c217e..8bf3a9fba 100644 --- a/module_auto_update/__manifest__.py +++ b/module_auto_update/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Module Auto Update", "summary": "Automatically update Odoo modules", - "version": "12.0.2.0.5", + "version": "13.0.1.0.0", "category": "Extra Tools", "website": "https://github.com/OCA/server-tools", "author": "LasLabs, " diff --git a/module_auto_update/i18n/module_auto_update.pot b/module_auto_update/i18n/module_auto_update.pot index 8c553a129..3dc17a0f3 100644 --- a/module_auto_update/i18n/module_auto_update.pot +++ b/module_auto_update/i18n/module_auto_update.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" diff --git a/module_auto_update/i18n/zh_CN.po b/module_auto_update/i18n/zh_CN.po index 47ba84c32..6b5389ab5 100644 --- a/module_auto_update/i18n/zh_CN.po +++ b/module_auto_update/i18n/zh_CN.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2019-08-31 06:18+0000\n" "Last-Translator: 黎伟杰 <674416404@qq.com>\n" diff --git a/module_auto_update/migrations/12.0.2.0.5/openupgrade_analysis.txt b/module_auto_update/migrations/12.0.2.0.5/openupgrade_analysis.txt deleted file mode 100644 index 65e2e9af2..000000000 --- a/module_auto_update/migrations/12.0.2.0.5/openupgrade_analysis.txt +++ /dev/null @@ -1,5 +0,0 @@ ----Fields in module 'module_auto_update'--- ----XML records in module 'module_auto_update'--- -NEW ir.actions.server: module_auto_update.ir_module_module_upgrade_changed_checksum -DEL ir.cron: module_auto_update.module_check_upgrades_cron (noupdate) -NEW ir.ui.menu: module_auto_update.menu_ir_module_module_upgrade_changed_checksum diff --git a/module_auto_update/migrations/12.0.2.0.5/openupgrade_analysis_work.txt b/module_auto_update/migrations/12.0.2.0.5/openupgrade_analysis_work.txt deleted file mode 100644 index c921032fe..000000000 --- a/module_auto_update/migrations/12.0.2.0.5/openupgrade_analysis_work.txt +++ /dev/null @@ -1,8 +0,0 @@ ----Fields in module 'module_auto_update'--- ----XML records in module 'module_auto_update'--- -NEW ir.actions.server: module_auto_update.ir_module_module_upgrade_changed_checksum -NEW ir.ui.menu: module_auto_update.menu_ir_module_module_upgrade_changed_checksum -# NOTHING TO DO - -DEL ir.cron: module_auto_update.module_check_upgrades_cron (noupdate) -# DONE: pots-migration: deleted xmlid safely diff --git a/module_auto_update/migrations/12.0.2.0.5/post-migration.py b/module_auto_update/migrations/12.0.2.0.5/post-migration.py deleted file mode 100644 index 67a957858..000000000 --- a/module_auto_update/migrations/12.0.2.0.5/post-migration.py +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright 2019 Eficent -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openupgradelib import openupgrade - - -@openupgrade.migrate() -def migrate(env, version): - openupgrade.delete_records_safely_by_xml_id( - env, ["module_auto_update.module_check_upgrades_cron"], - ) diff --git a/module_auto_update/models/module.py b/module_auto_update/models/module.py index 8caf3ad48..8c844a30f 100644 --- a/module_auto_update/models/module.py +++ b/module_auto_update/models/module.py @@ -45,7 +45,6 @@ def ensure_module_state(env, modules, state): class Module(models.Model): _inherit = "ir.module.module" - @api.multi def _get_checksum_dir(self): self.ensure_one() @@ -72,6 +71,7 @@ class Module(models.Model): def _save_checksums(self, checksums): Icp = self.env["ir.config_parameter"] Icp.set_param(PARAM_INSTALLED_CHECKSUMS, json.dumps(checksums)) + Icp.flush() @api.model def _save_installed_checksums(self): diff --git a/module_auto_update/readme/CONTRIBUTORS.rst b/module_auto_update/readme/CONTRIBUTORS.rst index 966ffea55..c33c1849d 100644 --- a/module_auto_update/readme/CONTRIBUTORS.rst +++ b/module_auto_update/readme/CONTRIBUTORS.rst @@ -2,3 +2,4 @@ * Juan José Scarafía * Jairo Llopis * Stéphane Bidoul (https://acsone.eu) +* Eric Antones diff --git a/module_auto_update/static/description/index.html b/module_auto_update/static/description/index.html index 2ba9a39c5..ef75d497a 100644 --- a/module_auto_update/static/description/index.html +++ b/module_auto_update/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Production/Stable License: LGPL-3 OCA/server-tools Translate me on Weblate Try me on Runbot

+

Production/Stable License: LGPL-3 OCA/server-tools Translate me on Weblate Try me on Runbot

This addon provides mechanisms to compute sha1 hashes of installed addons, and save them in the database. It also provides a method that exploits these mechanisms to update a database by upgrading only the modules for which the @@ -424,7 +424,7 @@ in an Odoo shell session:

Bugs are tracked on GitHub 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.

+feedback.

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

@@ -445,6 +445,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • Juan José Scarafía <jjs@adhoc.com.ar>
  • Jairo Llopis <jairo.llopis@tecnativa.com>
  • Stéphane Bidoul <stephane.bidoul@acsone.eu> (https://acsone.eu)
  • +
  • Eric Antones <eantones@nuobit.com>
  • @@ -454,7 +455,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

    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 project on GitHub.

    +

    This module is part of the OCA/server-tools project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.