9 azure backport (#353)

* fix: backport fix + backport modules to azure
This commit is contained in:
Vincent Renaville authored and GitHub committed 2022-03-15 10:27:02 +01:00
1 parent 92bf8210ef
commit 61a7d392ff
19 files changed
+332 -26

No files matched your search

@@ -6,7 +6,7 @@ import inspect
import logging
import os
import psycopg2
import odoo
import openerp
from contextlib import closing, contextmanager
from openerp import api, exceptions, fields, models, _
@@ -208,7 +208,7 @@ class IrAttachment(models.Model):
"""
with api.Environment.manage():
if new_cr:
registry = odoo.modules.registry.RegistryManager.get(
registry = openerp.modules.registry.RegistryManager.get(
self.env.cr.dbname
)
with closing(registry.cursor()) as cr:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.