mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-24 08:47:40 +00:00
base_fileurl_field: fix W8106(method-required-super)
This commit is contained in:
committed by
Maksym Yankin
co-authored by
Maksym Yankin
parent
440f6ad2a9
commit
4c81227340
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user