mirror of
https://github.com/brain-tec/account_ebics.git
synced 2025-08-14 14:45:36 +00:00
[IMP] remove storage of ebics_files in EBICS Files Root directory
This commit is contained in:
@@ -91,14 +91,6 @@ class EbicsConfig(models.Model):
|
||||
"between customer and financial institution. "
|
||||
"The human user also can authorise orders.",
|
||||
)
|
||||
ebics_files = fields.Char(
|
||||
string="EBICS Files Root",
|
||||
required=True,
|
||||
readonly=True,
|
||||
states={"draft": [("readonly", False)]},
|
||||
default=lambda self: self._default_ebics_files(),
|
||||
help="Root Directory for EBICS File Transfer Folders.",
|
||||
)
|
||||
# We store the EBICS keys in a separate directory in the file system.
|
||||
# This directory requires special protection to reduce fraude.
|
||||
ebics_keys = fields.Char(
|
||||
@@ -253,14 +245,3 @@ class EbicsConfig(models.Model):
|
||||
)
|
||||
% dirname
|
||||
)
|
||||
|
||||
def _check_ebics_files(self):
|
||||
dirname = self.ebics_files or ""
|
||||
if not os.path.exists(dirname):
|
||||
raise UserError(
|
||||
_(
|
||||
"EBICS Files Root Directory %s is not available."
|
||||
"\nPlease contact your system administrator."
|
||||
)
|
||||
% dirname
|
||||
)
|
||||
|
Reference in New Issue
Block a user