Commit 2e473cbc authored by Sebastien Robin's avatar Sebastien Robin

use getBaobabSource And destination in order to check stock

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14025 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 76e670d5
......@@ -71,8 +71,8 @@ from Products.ERP5Type.Message import Message\n
transaction = state_change.object\n
\n
\n
source = transaction.getSource()\n
destination = transaction.getDestination()\n
source = transaction.getBaobabSource()\n
destination = transaction.getBaobabDestination()\n
\n
msg = None\n
if source == destination:\n
......
162
\ No newline at end of file
164
\ 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