* Emma [2012-05-03 15:33 +0200]:
>Hi again,
Hello,
In fact it is already available because we use it for the icons.
in ir/ui/icon.xml:
<record model="ir.ui.view" id="icon_view_tree">
<field name="model">ir.ui.icon</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Icons" sequence="sequence">
<field name="name" icon="name"/>
<field name="module"/>
<field name="path"/>
<field name="sequence" tree_invisible="1"/>
</tree>
]]>
</field>
</record>
the icon="name" will use the icon with the name coming from the name
field to display this icon.
--
Nicolas Évrard
B2CK SPRL
rue de Rotterdam, 4
4000 Liège
Belgium
Tel:
+32 472 54 46 59
E-mail/Jabber:
nicolas...@b2ck.com
Website:
http://www.b2ck.com/