From 588bd00f93372cc55e5d02cced627cd0db693a0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 15 Jan 2023 15:27:54 +0100 Subject: [PATCH] Define url_size on image of form Closes #12007 --- trytond/trytond/ir/ui/form.rnc | 2 +- trytond/trytond/ir/ui/form.rng | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trytond/trytond/ir/ui/form.rnc b/trytond/trytond/ir/ui/form.rnc index a42c781ded..965719c14a 100644 --- a/trytond/trytond/ir/ui/form.rnc +++ b/trytond/trytond/ir/ui/form.rnc @@ -121,7 +121,7 @@ attlist.field &= [a:defaultValue = "square"] attribute border { "square" | "circ image = element image { attlist.image, empty } attlist.image &= attribute name { text } attlist.image &= [a:defaultValue = "icon"] attribute type { "icon" | "url" }? -attlist.affix &= attribute url_size { text }? +attlist.image &= attribute url_size { text }? attlist.image &= [a:defaultValue = "square"] attribute border { "square" | "circle" | "rounded" }? attlist.image &= [ a:defaultValue = "1" ] attribute colspan { text }? attlist.image &= diff --git a/trytond/trytond/ir/ui/form.rng b/trytond/trytond/ir/ui/form.rng index 6ebe627a44..ca28332e09 100644 --- a/trytond/trytond/ir/ui/form.rng +++ b/trytond/trytond/ir/ui/form.rng @@ -573,7 +573,7 @@ - + url_size