Commit 261d98c6 authored by Sebastien Robin's avatar Sebastien Robin

do not change the destination if already define on the document in the...

do not change the destination if already define on the document in the getBaobabDestination script of internal money deposit

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16635 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 84932b85
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>destination = context.getDestination()\n <value> <string>destination = context.getDestination()\n
if destination is not None:\n if destination is not None:\n
return destination+\'/encaisse_des_billets_et_monnaies/entrante\'\n return destination\n
# calculate the destination\n # calculate the destination\n
# must use owner to know site letter\n # must use owner to know site letter\n
site_list = context.Baobab_getUserAssignedSiteList(user_id=context.Base_getOwnerId())\n site_list = context.Baobab_getUserAssignedSiteList(user_id=context.Base_getOwnerId())\n
......
507 508
\ No newline at end of file \ No newline at end of file
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