2015-06-10 12:01 GMT+02:00 <[email protected]>:

> I tryed to define it in the test_module.xml  <menuitem name="test"
> id="menu_test" sequence="10" icon="tryton-individual"/> and put the svg
> file in trytond\ir\ui\Icons but this didnt work.


You must create a ir.ui.icon record in your xml file to declare the new
icon.

        <record model="ir.ui.icon" id="my-special-party_icon">
            <field name="name">special-party</field>
            <field name="path">icons/special-party.svg</field>
        </record>

This record should be "before" the view using it in the xml file

Jean Cavallo
*Coopengo*

Reply via email to