mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[MIG] base_external_system Migration to 13.0
This commit is contained in:
committed by
ntsirintanis
parent
9297e48691
commit
fcd6afbc9d
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user