Commit 513ba3cc authored by Aurel's avatar Aurel

take new vault into account when computing movement destination

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23079 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ba7cf1ae
...@@ -70,7 +70,7 @@ destination = context.getDestinationSection()\n ...@@ -70,7 +70,7 @@ destination = context.getDestinationSection()\n
context.log(source, destination)\n context.log(source, destination)\n
if source is None or destination is None:\n if source is None or destination is None:\n
return None\n return None\n
if source.split("/")[-1] == destination.split("/")[-1]:\n if source.split("/")[-1] == destination.split("/")[-1] or "transit" not in source:\n
destination = "%s/caveau/serre/encaisse_des_billets_neufs_non_emis" % destination\n destination = "%s/caveau/serre/encaisse_des_billets_neufs_non_emis" % destination\n
else:\n else:\n
destination = "%s/caveau/serre/encaisse_des_billets_neufs_non_emis_en_transit_allant_a/%s" % (destination, source.split("/")[-1])\n destination = "%s/caveau/serre/encaisse_des_billets_neufs_non_emis_en_transit_allant_a/%s" % (destination, source.split("/")[-1])\n
......
629 630
\ 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