diff --git a/bom.py b/bom.py
index 0109c80a8c..d0f89b7be2 100644
--- a/bom.py
+++ b/bom.py
@@ -248,7 +248,7 @@ class OpenBOMTree(Wizard):
])
tree = StateView('production.bom.tree.open.tree',
'production.bom_tree_open_tree_view_form', [
- Button('Change', 'start', 'tryton-go-previous'),
+ Button('Change', 'start', 'tryton-back'),
Button('Close', 'end', 'tryton-close'),
])
diff --git a/icons/tryton-production.svg b/icons/tryton-production.svg
new file mode 100644
index 0000000000..1ee229783a
--- /dev/null
+++ b/icons/tryton-production.svg
@@ -0,0 +1,4 @@
+
diff --git a/production.py b/production.py
index fc7fc50104..2592c2ae8d 100644
--- a/production.py
+++ b/production.py
@@ -185,8 +185,8 @@ class Production(Workflow, ModelSQL, ModelView):
'icon': If(Eval('state') == 'cancel',
'tryton-clear',
If(Eval('state') == 'request',
- 'tryton-go-next',
- 'tryton-go-previous')),
+ 'tryton-forward',
+ 'tryton-back')),
'depends': ['state'],
},
'reset_bom': {
@@ -198,10 +198,10 @@ class Production(Workflow, ModelSQL, ModelView):
'invisible': ~Eval('state').in_(['draft', 'assigned',
'waiting', 'running']),
'icon': If(Eval('state').in_(['assigned', 'running']),
- 'tryton-go-previous',
+ 'tryton-back',
If(Eval('state') == 'waiting',
'tryton-clear',
- 'tryton-go-next')),
+ 'tryton-forward')),
'depends': ['state'],
},
'run': {
@@ -651,7 +651,7 @@ class Assign(Wizard):
start = StateTransition()
failed = StateView('production.assign.failed',
'production.assign_failed_view_form', [
- Button('Force Assign', 'force', 'tryton-go-next',
+ Button('Force Assign', 'force', 'tryton-forward',
states={
'invisible': ~Id('stock',
'group_stock_force_assignment').in_(
diff --git a/production.xml b/production.xml
index 1aeee804bf..1c6cbc4aa8 100644
--- a/production.xml
+++ b/production.xml
@@ -31,16 +31,19 @@ this repository contains the full copyright notices and license terms. -->
-
+
+ tryton-production
+ icons/tryton-production.svg
+
+
+
-
+