Commit b56291b3 authored by Sebastien Robin's avatar Sebastien Robin

fixed MoneyDeposit_getBaobabDestination

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13544 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ae62e640
......@@ -2,6 +2,9 @@
<portal_type id="Account Incident">
<item>source_decision</item>
</portal_type>
<portal_type id="Bank Account">
<item>site</item>
</portal_type>
<portal_type id="Cash Container Item">
<item>aggregate</item>
</portal_type>
......
......@@ -71,7 +71,8 @@
<value> <string>destination = context.getDestination()\n
if destination is None:\n
return None\n
user_id = context.Base_getLastUserIdByTransition(workflow_id=\'currency_purchase_workflow\', transition_id=\'deliver_action\')\n
user_id = context.Base_getLastUserIdByTransition(workflow_id=\'money_deposit_workflow\', transition_id=\'deliver_action\')\n
context.log(\'user_id\',user_id)\n
if user_id is None:\n
return None\n
site_list = context.Baobab_getUserAssignedSiteList(user_id=user_id)\n
......
221
\ No newline at end of file
223
\ No newline at end of file
Account Incident | source_decision
Bank Account | site
Cash Container Item | aggregate
Cash Incident | responsible
Cash Incident | source_decision
......
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