Skip to content

Commit

Permalink
[MIG] module_auto_update: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fkantelberg committed Apr 13, 2023
1 parent 5431471 commit f555e90
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion module_auto_update/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"name": "Module Auto Update",
"summary": "Automatically update Odoo modules",
"version": "15.0.1.0.1",
"version": "16.0.1.0.0",
"category": "Extra Tools",
"website": "https://github.com/OCA/server-tools",
"author": "LasLabs, "
Expand Down
2 changes: 1 addition & 1 deletion module_auto_update/models/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def _get_saved_checksums(self):
def _save_checksums(self, checksums):
Icp = self.env["ir.config_parameter"]
Icp.set_param(PARAM_INSTALLED_CHECKSUMS, json.dumps(checksums))
Icp.flush()
Icp.flush_model()

@api.model
def _save_installed_checksums(self):
Expand Down
3 changes: 1 addition & 2 deletions module_auto_update/tests/test_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

import os
import tempfile

import mock
from unittest import mock

import odoo
from odoo.modules import get_module_path
Expand Down
1 change: 1 addition & 0 deletions setup/module_auto_update/odoo/addons/module_auto_update
6 changes: 6 additions & 0 deletions setup/module_auto_update/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit f555e90

Please sign in to comment.