pre-commit run -a

This commit is contained in:
Iván Todorovich
2026-05-20 09:50:57 -03:00
parent 6d93fbffac
commit a9e4d6b102
14 changed files with 26 additions and 29 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ class CloudPlatform(models.AbstractModel):
self.check()
if configs.filestore.location == "remote":
self.env["ir.attachment"].sudo().force_storage()
_logger.info("cloud platform configured for {}".format(platform_kind))
_logger.info(f"cloud platform configured for {platform_kind}")
@api.model
def install(self):
@@ -125,5 +125,5 @@ class CloudPlatform(models.AbstractModel):
self._check_redis(environment_name)
def _register_hook(self):
super(CloudPlatform, self)._register_hook()
super()._register_hook()
self.sudo().check()