Commit 19b54c67 authored by Sebastien Robin's avatar Sebastien Robin

make sure to validate bank account

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14223 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a9ef7fdf
...@@ -606,7 +606,6 @@ class BaobabConduit(ERP5Conduit): ...@@ -606,7 +606,6 @@ class BaobabConduit(ERP5Conduit):
, 200 , 200
, 'no bank account found' , 'no bank account found'
) )
import pdb;pdb.set_trace()
raise KeyError, 'No bank account Found' raise KeyError, 'No bank account Found'
...@@ -674,6 +673,9 @@ class BaobabConduit(ERP5Conduit): ...@@ -674,6 +673,9 @@ class BaobabConduit(ERP5Conduit):
) )
if object.getPortalType() == 'Bank Account':
object.portal_workflow.doActionFor(object, 'validate_action',
wf_id='bank_account_workflow')
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment