base_fileurl_field: fix W8106(method-required-super)

This commit is contained in:
Stephane Mangin
2022-05-18 11:29:33 +02:00
parent f124cf1380
commit 4ad04f65bf
+1
View File
@@ -35,6 +35,7 @@ class FileURL(fields.Binary):
'filename': '', # Field to use to store the filename on ir.attachment
}
# pylint: disable=method-required-super
def create(self, record_values):
assert self.attachment
if not record_values: