[MIG] module_auto_update: Migration to 16.0
parent
5431471238
commit
f555e90ab3
|
@ -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, "
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
|
||||
import os
|
||||
import tempfile
|
||||
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
import odoo
|
||||
from odoo.modules import get_module_path
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../../../../module_auto_update
|
|
@ -0,0 +1,6 @@
|
|||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['setuptools-odoo'],
|
||||
odoo_addon=True,
|
||||
)
|
Loading…
Reference in New Issue