module_auto_update: Migration to 16.0
parent
3d22f3cfd3
commit
84456676c7
|
@ -5,7 +5,7 @@
|
||||||
{
|
{
|
||||||
"name": "Module Auto Update",
|
"name": "Module Auto Update",
|
||||||
"summary": "Automatically update Odoo modules",
|
"summary": "Automatically update Odoo modules",
|
||||||
"version": "15.0.1.0.1",
|
"version": "16.0.1.0.0",
|
||||||
"category": "Extra Tools",
|
"category": "Extra Tools",
|
||||||
"website": "https://github.com/OCA/server-tools",
|
"website": "https://github.com/OCA/server-tools",
|
||||||
"author": "LasLabs, "
|
"author": "LasLabs, "
|
||||||
|
|
|
@ -80,7 +80,7 @@ class Module(models.Model):
|
||||||
def _save_checksums(self, checksums):
|
def _save_checksums(self, checksums):
|
||||||
Icp = self.env["ir.config_parameter"]
|
Icp = self.env["ir.config_parameter"]
|
||||||
Icp.set_param(PARAM_INSTALLED_CHECKSUMS, json.dumps(checksums))
|
Icp.set_param(PARAM_INSTALLED_CHECKSUMS, json.dumps(checksums))
|
||||||
Icp.flush()
|
Icp.flush_model()
|
||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
def _save_installed_checksums(self):
|
def _save_installed_checksums(self):
|
||||||
|
|
|
@ -4,8 +4,7 @@
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import tempfile
|
import tempfile
|
||||||
|
from unittest import mock
|
||||||
import mock
|
|
||||||
|
|
||||||
import odoo
|
import odoo
|
||||||
from odoo.modules import get_module_path
|
from odoo.modules import get_module_path
|
||||||
|
|
Loading…
Reference in New Issue