@@ -1,3 +1,4 @@
|
||||
* Add description for image
|
||||
|
||||
Version 7.2.0 - 2024-04-29
|
||||
--------------------------
|
||||
|
||||
@@ -116,6 +116,8 @@ class ImageMixin(_ImageMixin):
|
||||
__slots__ = ()
|
||||
cache = None
|
||||
|
||||
description = fields.Char("Description", translate=True)
|
||||
|
||||
@classmethod
|
||||
def allowed_match_keys(cls):
|
||||
return set()
|
||||
|
||||
@@ -13,5 +13,8 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<label name="category"/>
|
||||
<field name="category"/>
|
||||
|
||||
<label name="description"/>
|
||||
<field name="description"/>
|
||||
</group>
|
||||
</form>
|
||||
|
||||
@@ -4,4 +4,5 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<tree sequence="sequence">
|
||||
<field name="category" expand="1"/>
|
||||
<field name="image" expand="2"/>
|
||||
<field name="description" expand="1" optional="1"/>
|
||||
</tree>
|
||||
|
||||
@@ -16,5 +16,8 @@ this repository contains the full copyright notices and license terms. -->
|
||||
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
|
||||
<label name="description"/>
|
||||
<field name="description"/>
|
||||
</group>
|
||||
</form>
|
||||
|
||||
@@ -5,4 +5,5 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="template" expand="1"/>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="image" expand="2"/>
|
||||
<field name="description" expand="1" optional="1"/>
|
||||
</tree>
|
||||
|
||||
Reference in New Issue
Block a user