Allow web_shop as key for product image
Closes #13258 (grafted from 22fde2599352ec0ccac111265f45d9caa9d82af4) --HG-- branch : 7.0
This commit is contained in:
@@ -48,3 +48,7 @@ class Image(metaclass=PoolMeta):
|
||||
__name__ = 'product.image'
|
||||
|
||||
web_shop = fields.Boolean("Web Shop")
|
||||
|
||||
@classmethod
|
||||
def allowed_match_keys(cls):
|
||||
return super().allowed_match_keys() | {'web_shop'}
|
||||
|
||||
Reference in New Issue
Block a user