base_fileurl_field: fix W8106(method-required-super)

This commit is contained in:
Stephane Mangin
2022-05-09 16:48:52 +03:00
committed by Maksym Yankin
co-authored by Maksym Yankin
parent 440f6ad2a9
commit 4c81227340
+1
View File
@@ -35,6 +35,7 @@ class FileURL(fields.Binary):
'filename': '', # Field to use to store the filename on ir.attachment 'filename': '', # Field to use to store the filename on ir.attachment
} }
# pylint: disable=method-required-super
def create(self, record_values): def create(self, record_values):
assert self.attachment assert self.attachment
if not record_values: if not record_values: