From b704f375d30702b687fa2fc2a5ec3ac9cd3422f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 23 Nov 2012 17:49:33 +0100 Subject: [PATCH] Add icon attribute on fields review587005 --- CHANGELOG | 1 + trytond/ir/ui/form.rnc | 1 + trytond/ir/ui/form.rng | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index a8209bab89..3f4d57e98e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,4 @@ +* Add icon attribute on fields * Prevent Wizard State name to start with '_' * Add completion attribute for Many2One, Many2Many and One2Many * Add ViewSearch diff --git a/trytond/ir/ui/form.rnc b/trytond/ir/ui/form.rnc index fdb1bc011c..d6375770b6 100644 --- a/trytond/ir/ui/form.rnc +++ b/trytond/ir/ui/form.rnc @@ -102,6 +102,7 @@ attlist.field &= attribute img_height { text }? attlist.field &= [a:defaultValue = "0"] attribute filename_visible { "0" | "1" }? attlist.field &= [a:defaultValue = "0"] attribute pre_validate { "0" | "1" }? +attlist.field &= attribute icon { text }? attlist.field &= [a:defaultValue = "1"] attribute completion { "0" | "1" }? image = element image { attlist.image, empty } attlist.image &= attribute name { text } diff --git a/trytond/ir/ui/form.rng b/trytond/ir/ui/form.rng index 8b555f9936..6d2b947798 100644 --- a/trytond/ir/ui/form.rng +++ b/trytond/ir/ui/form.rng @@ -364,6 +364,11 @@ + + + + +