Commit ee4d5396 authored by Sebastien Robin's avatar Sebastien Robin

there was an error in the getBaobabDestination script

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16631 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4b6692ed
......@@ -73,7 +73,7 @@ if destination is not None:\n
site_list = context.Baobab_getUserAssignedSiteList(user_id=context.Base_getOwnerId())\n
for site in site_list:\n
if context.portal_categories.getCategoryValue(site).getVaultType().endswith(\'/guichet\'):\n
return site\n
return site + \'/encaisse_des_billets_et_monnaies/entrante\'\n
from Products.ERP5Type.Message import Message\n
message = Message(domain="ui", message="Object owner is not assigned to a counter.")\n
raise ValueError,message\n
......
506
\ No newline at end of file
507
\ 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