[MIG] base_external_system Migration to 13.0

This commit is contained in:
Ronald Portier
2020-08-20 14:19:38 +02:00
committed by ntsirintanis
parent 9297e48691
commit fcd6afbc9d
6 changed files with 6 additions and 17 deletions

View File

@@ -3,7 +3,7 @@
import os
from odoo import api, models
from odoo import models
class ExternalSystemOs(models.Model):
@@ -19,7 +19,6 @@ class ExternalSystemOs(models.Model):
previous_dir = None
@api.multi
def external_get_client(self):
"""Return a usable client representing the remote system."""
super(ExternalSystemOs, self).external_get_client()
@@ -28,7 +27,6 @@ class ExternalSystemOs(models.Model):
os.chdir(self.system_id.remote_path)
return os
@api.multi
def external_destroy_client(self, client):
"""Perform any logic necessary to destroy the client connection.