base_fileurl_field: fix W8106(method-required-super)

This commit is contained in:
Stephane Mangin authored and Maksym Yankin committed 2022-05-18 16:24:59 +03:00
1 parent 361891fedb
commit 306ec41241
1 file changed
+1
+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:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.