From e73a5401bd3c23615cefc3e5d13605838cf6d8ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 30 Jul 2009 17:08:34 +0200 Subject: [PATCH] Add missing img_width and img_height in rng validation for issue1120 thanks to woakas --- trytond/ir/ui/form.rnc | 2 ++ trytond/ir/ui/form.rng | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/trytond/ir/ui/form.rnc b/trytond/ir/ui/form.rnc index c9c0be752f..ebd75eda8d 100644 --- a/trytond/ir/ui/form.rnc +++ b/trytond/ir/ui/form.rnc @@ -125,6 +125,8 @@ attlist.field &= }? attlist.field &= attribute spell { text }? attlist.field &= attribute float_time { text }? +attlist.field &= attribute img_width { text }? +attlist.field &= attribute img_height { text }? image = element image { attlist.image, empty } attlist.image &= attribute name { text } attlist.image &= [ a:defaultValue = "1" ] attribute colspan { text }? diff --git a/trytond/ir/ui/form.rng b/trytond/ir/ui/form.rng index 58922b6031..6f6ae72e0a 100644 --- a/trytond/ir/ui/form.rng +++ b/trytond/ir/ui/form.rng @@ -458,6 +458,16 @@ + + + + + + + + + +