Use material design icons
issue474 review60291002
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
<path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z"/>
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 471 B |
+2
-2
@@ -224,8 +224,8 @@ class Purchase(Workflow, ModelSQL, ModelView, TaxableMixin):
|
||||
'draft': {
|
||||
'invisible': ~Eval('state').in_(
|
||||
['cancel', 'quotation', 'confirmed']),
|
||||
'icon': If(Eval('state') == 'cancel', 'tryton-clear',
|
||||
'tryton-go-previous'),
|
||||
'icon': If(Eval('state') == 'cancel', 'tryton-undo',
|
||||
'tryton-back'),
|
||||
'depends': ['state'],
|
||||
},
|
||||
'quote': {
|
||||
|
||||
+7
-4
@@ -27,16 +27,19 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="group" ref="group_purchase_admin"/>
|
||||
</record>
|
||||
|
||||
<menuitem name="Purchase" id="menu_purchase" sequence="4"/>
|
||||
<record model="ir.ui.icon" id="purchase_icon">
|
||||
<field name="name">tryton-purchase</field>
|
||||
<field name="path">icons/tryton-purchase.svg</field>
|
||||
</record>
|
||||
|
||||
<menuitem name="Purchase" id="menu_purchase" sequence="4" icon="tryton-purchase"/>
|
||||
<record model="ir.ui.menu-res.group" id="menu_purchase_group_purchase">
|
||||
<field name="menu" ref="menu_purchase"/>
|
||||
<field name="group" ref="group_purchase"/>
|
||||
</record>
|
||||
|
||||
<!-- set active for 1.4 migration -->
|
||||
<menuitem name="Configuration" parent="menu_purchase"
|
||||
id="menu_configuration" sequence="0" icon="tryton-preferences"
|
||||
active="1"/>
|
||||
<menuitem name="Configuration" parent="menu_purchase" id="menu_configuration" sequence="0" icon="tryton-settings" active="1"/>
|
||||
<record model="ir.ui.menu-res.group"
|
||||
id="menu_configuration_group_purchase_admin">
|
||||
<field name="menu" ref="menu_configuration"/>
|
||||
|
||||
@@ -73,7 +73,7 @@ setup(name=name,
|
||||
package_data={
|
||||
'trytond.modules.purchase': (info.get('xml', [])
|
||||
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po', 'tests/*.rst',
|
||||
'*.fodt']),
|
||||
'*.fodt', 'icons/*.svg']),
|
||||
},
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
|
||||
@@ -42,14 +42,12 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<group col="-1" colspan="2" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="draft"/>
|
||||
<button name="modify_header" icon="tryton-executable"/>
|
||||
<button name="quote" icon="tryton-go-next"/>
|
||||
<button name="handle_invoice_exception"
|
||||
icon="tryton-go-next"/>
|
||||
<button name="handle_shipment_exception"
|
||||
icon="tryton-go-next"/>
|
||||
<button name="modify_header" icon="tryton-launch"/>
|
||||
<button name="quote" icon="tryton-back"/>
|
||||
<button name="handle_invoice_exception" icon="tryton-forward"/>
|
||||
<button name="handle_shipment_exception" icon="tryton-forward"/>
|
||||
<button name="confirm" icon="tryton-ok"/>
|
||||
<button name="process" icon="tryton-go-next"/>
|
||||
<button name="process" icon="tryton-forward"/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
|
||||
Reference in New Issue
Block a user