Commit b5660d03 authored by Vincent Pelletier's avatar Vincent Pelletier

Emission letter is dependant on the site, so prevent the script fro guessing...

Emission letter is dependant on the site, so prevent the script fro guessing the site from the user.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13497 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bea52c62
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>document_site = context.getDeliveryValue().getBaobabSourceValue()\n <value> <string>document_site = context.getDeliveryValue().getBaobabSourceValue()\n
site_url = context.Baobab_getVaultSite(document_site).getRelativeUrl()\n site_url = context.Baobab_getVaultSite(document_site).getRelativeUrl()\n
if context.getEmissionLetter() in context.Baobab_getUserEmissionLetterList():\n if context.getEmissionLetter() in context.Baobab_getEmissionLetterList(site_list=[site_url, ]):\n
return \'%s/caveau/serre/encaisse_des_billets_retires_de_la_circulation\' % site_url\n return \'%s/caveau/serre/encaisse_des_billets_retires_de_la_circulation\' % site_url\n
else:\n else:\n
return \'%s/caveau/auxiliaire/encaisse_des_externes\' % site_url\n return \'%s/caveau/auxiliaire/encaisse_des_externes\' % site_url\n
......
214 216
\ 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