Use material design icons

issue474
review60291002
This commit is contained in:
Cédric Krier
2018-08-19 20:02:58 +02:00
parent 4cf6f53b6c
commit 16abcff4de
3 changed files with 13 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/>
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"/>
</svg>

After

Width:  |  Height:  |  Size: 350 B

+1 -1
View File
@@ -71,7 +71,7 @@ setup(name=name,
],
package_data={
'trytond.modules.timesheet': (info.get('xml', [])
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po']),
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po', 'icons/*.svg']),
},
classifiers=[
'Development Status :: 5 - Production/Stable',
+7 -4
View File
@@ -17,10 +17,13 @@ this repository contains the full copyright notices and license terms. -->
<field name="group" ref="group_timesheet_admin"/>
</record>
<menuitem name="Timesheet" sequence="6" id="menu_timesheet"
icon="tryton-clock"/>
<menuitem name="Configuration" parent="menu_timesheet"
id="menu_configuration" sequence="10" icon="tryton-preferences"/>
<record model="ir.ui.icon" id="timesheet_icon">
<field name="name">tryton-timesheet</field>
<field name="path">icons/tryton-timesheet.svg</field>
</record>
<menuitem name="Timesheet" sequence="6" id="menu_timesheet" icon="tryton-timesheet"/>
<menuitem name="Configuration" parent="menu_timesheet" id="menu_configuration" sequence="10" icon="tryton-settings"/>
<record model="ir.ui.menu-res.group"
id="menu_configuration_group_timesheet_admin">
<field name="menu" ref="menu_configuration"/>