diff --git a/account.py b/account.py
index 35394731bf..dfef1cbb2d 100644
--- a/account.py
+++ b/account.py
@@ -1936,6 +1936,14 @@ class UpdateChartAccountInit(ModelView):
UpdateChartAccountInit()
+class UpdateChartAccountStart(ModelView):
+ 'Update Chart Account from Template Start'
+ _name = 'account.account.update_chart_account.start'
+ _description = __doc__
+
+UpdateChartAccountStart()
+
+
class UpdateChartAccount(Wizard):
'Update Chart Account from Template'
_name = 'account.account.update_chart_account'
@@ -1946,15 +1954,18 @@ class UpdateChartAccount(Wizard):
'object': 'account.account.update_chart_account.init',
'state': [
('end', 'Cancel', 'tryton-cancel'),
- ('update_account', 'Ok', 'tryton-ok', True),
+ ('start', 'Ok', 'tryton-ok', True),
],
},
},
- 'update_account': {
+ 'start': {
+ 'actions': ['_action_update_account'],
'result': {
- 'type': 'action',
- 'action': '_action_update_account',
- 'state': 'end',
+ 'type': 'form',
+ 'object': 'account.account.update_chart_account.start',
+ 'state': [
+ ('end', 'Ok', 'tryton-ok', True),
+ ],
},
},
}
diff --git a/account.xml b/account.xml
index b0b01cd95e..a198c67e47 100644
--- a/account.xml
+++ b/account.xml
@@ -486,6 +486,18 @@ this repository contains the full copyright notices and license terms. -->
+
+ account.account.update_chart_account.start
+ form
+
+
+
+
+ ]]>
+
+
+
Update Chart of Account from Template
account.account.update_chart_account