[MIG] module_auto_update: Migration to 16.0

pull/2543/head
fkantelberg 2023-02-07 14:46:54 +01:00
parent 5431471238
commit f555e90ab3
5 changed files with 10 additions and 4 deletions

View File

@ -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, "

View File

@ -80,7 +80,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()
Icp.flush_model()
@api.model
def _save_installed_checksums(self):

View File

@ -4,8 +4,7 @@
import os
import tempfile
import mock
from unittest import mock
import odoo
from odoo.modules import get_module_path

View File

@ -0,0 +1 @@
../../../../module_auto_update

View File

@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)