diff --git a/account_banking_payment/workflow/account_payment.xml b/account_banking_payment/workflow/account_payment.xml
index e09d697a7..fb16f0e5a 100644
--- a/account_banking_payment/workflow/account_payment.xml
+++ b/account_banking_payment/workflow/account_payment.xml
@@ -34,5 +34,27 @@ write({'state':'rejected'})
sent
+
+
+
+
+
+
+
+
+
+
+ test_undo_done()
+ undo_done
+
+
diff --git a/account_direct_debit/__openerp__.py b/account_direct_debit/__openerp__.py
index 274513c3b..da3d223c7 100644
--- a/account_direct_debit/__openerp__.py
+++ b/account_direct_debit/__openerp__.py
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (C) 2011 Therp BV ().
+# Copyright (C) 2011 - 2013 Therp BV ().
# Copyright (C) 2011 Smile ().
# All Rights Reserved
#
@@ -20,9 +20,9 @@
##############################################################################
{
'name': 'Direct Debit',
- 'version': '6.1.1.134',
+ 'version': '7.0.2.134',
'license': 'AGPL-3',
- 'author': 'Therp BV / Smile',
+ 'author': '['Therp BV', 'Smile']',
'website': 'https://launchpad.net/banking-addons',
'category': 'Banking addons',
'depends': ['account_banking'],
@@ -30,7 +30,6 @@
'view/account_payment.xml',
'view/account_invoice.xml',
'workflow/account_invoice.xml',
- 'workflow/account_payment.xml',
'data/account_payment_term.xml',
],
'description': '''
diff --git a/account_direct_debit/migrations/7.0.2/pre-migration.py b/account_direct_debit/migrations/7.0.2/pre-migration.py
new file mode 100644
index 000000000..29fa9d6aa
--- /dev/null
+++ b/account_direct_debit/migrations/7.0.2/pre-migration.py
@@ -0,0 +1,12 @@
+def migrate(cr, version):
+ if not version:
+ return
+ # workflow state moved to another module
+ cr.execute(
+ """
+ UPDATE ir_model_data
+ SET module = 'account_banking_payment'
+ WHERE name = 'trans_done_sent'
+ AND module = 'account_direct_debit'
+ """)
+
diff --git a/account_direct_debit/workflow/account_payment.xml b/account_direct_debit/workflow/account_payment.xml
deleted file mode 100644
index 7ea27c523..000000000
--- a/account_direct_debit/workflow/account_payment.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- test_undo_done()
- undo_done
-
-
-