Allow web_shop as key for product image

Closes #13258
(grafted from 22fde2599352ec0ccac111265f45d9caa9d82af4)

--HG--
branch : 7.0
This commit is contained in:
Cédric Krier
2024-05-14 15:25:22 +02:00
parent d96e7d1f14
commit dd9abf6119
+4
View File
@@ -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'}