Commit d092b4c4 authored by Vincent Pelletier's avatar Vincent Pelletier

Do not append "entrante" to user's assigned site path, because it does not exist at this level.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14299 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1586d038
......@@ -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+"/entrante"\n
return site\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
......
296
\ No newline at end of file
297
\ 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