Commit f477f75f authored by Sebastien Robin's avatar Sebastien Robin

make sure to check baobab source and destination

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14026 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2e473cbc
......@@ -70,8 +70,8 @@ from Products.ERP5Type.Message import Message\n
\n
transaction = state_change.object\n
\n
source = transaction.getSource()\n
destination = transaction.getDestination()\n
source = transaction.getBaobabSource()\n
destination = transaction.getBaobabDestination()\n
msg = None\n
if source == destination:\n
msg = Message(domain="ui", message="Sorry, the source and the destination must be different")\n
......
164
\ No newline at end of file
166
\ 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