Commit f046c7d3 authored by Aurel's avatar Aurel

2006-06-11 aurel

* remove money deposit transfer
* ordered is state of future inventory
* use state_change['object'] in wf script

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14761 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f7072efd
...@@ -134,9 +134,6 @@ ...@@ -134,9 +134,6 @@
<portal_type id="Money Deposit Rendering"> <portal_type id="Money Deposit Rendering">
<item>Cash Delivery Line</item> <item>Cash Delivery Line</item>
</portal_type> </portal_type>
<portal_type id="Money Deposit Transfer">
<item>Cash Delivery Line</item>
</portal_type>
<portal_type id="Mutilated Banknote"> <portal_type id="Mutilated Banknote">
<item>Outgoing Mutilated Banknote Line</item> <item>Outgoing Mutilated Banknote Line</item>
<item>Exchanged Mutilated Banknote Line</item> <item>Exchanged Mutilated Banknote Line</item>
......
...@@ -154,10 +154,6 @@ ...@@ -154,10 +154,6 @@
<item>Price</item> <item>Price</item>
<item>Amount</item> <item>Amount</item>
</portal_type> </portal_type>
<portal_type id="Money Deposit Transfer">
<item>Price</item>
<item>Amount</item>
</portal_type>
<portal_type id="Mutilated Banknote"> <portal_type id="Mutilated Banknote">
<item>Amount</item> <item>Amount</item>
<item>Price</item> <item>Price</item>
......
...@@ -99,10 +99,6 @@ ...@@ -99,10 +99,6 @@
<type>Money Deposit Rendering</type> <type>Money Deposit Rendering</type>
<workflow>money_deposit_rendering_workflow, edit_workflow</workflow> <workflow>money_deposit_rendering_workflow, edit_workflow</workflow>
</chain> </chain>
<chain>
<type>Money Deposit Transfer</type>
<workflow>edit_workflow, money_deposit_transfer_workflow</workflow>
</chain>
<chain> <chain>
<type>Mutilated Banknote</type> <type>Mutilated Banknote</type>
<workflow>edit_workflow, mutilated_banknote_workflow</workflow> <workflow>edit_workflow, mutilated_banknote_workflow</workflow>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<value> <string>from Products.DCWorkflow.DCWorkflow import ValidationFailed\n <value> <string>from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
transaction = state_change.object\n transaction = state_change[\'object\']\n
\n \n
caisse = transaction.getSource()\n caisse = transaction.getSource()\n
\n \n
...@@ -168,8 +168,9 @@ if incoming_total != outgoing_total:\n ...@@ -168,8 +168,9 @@ if incoming_total != outgoing_total:\n
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>caisse</string> <string>caisse</string>
<string>msg</string> <string>msg</string>
<string>resource_one</string> <string>resource_one</string>
......
...@@ -65,7 +65,9 @@ ...@@ -65,7 +65,9 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string># check that we don\'t have both incoming and outgoing line on the document\n <value> <string encoding="cdata"><![CDATA[
# check that we don\'t have both incoming and outgoing line on the document\n
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
...@@ -97,7 +99,16 @@ elif len(in_list) == 0 and len(out_list) == 0:\n ...@@ -97,7 +99,16 @@ elif len(in_list) == 0 and len(out_list) == 0:\n
elif (in_price != 0 and in_price != price) or (out_price != 0 and out_price != price):\n elif (in_price != 0 and in_price != price) or (out_price != 0 and out_price != price):\n
msg = Message(domain = "ui", message="Price differs between document and resource.")\n msg = Message(domain = "ui", message="Price differs between document and resource.")\n
raise ValidationFailed, (msg,)\n raise ValidationFailed, (msg,)\n
</string> </value> \n
if out_price != 0:\n
#resource = txn.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Outgoing Cash Incident Line\')\n
resource = txn.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Outgoing Cash Incident Line\')\n
if resource <> 0 :\n
msg = Message(domain="ui", message="Insufficient Balance.")\n
raise ValidationFailed, (msg,)\n
]]></string> </value>
</item> </item>
<item> <item>
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
...@@ -155,6 +166,7 @@ elif (in_price != 0 and in_price != price) or (out_price != 0 and out_price != p ...@@ -155,6 +166,7 @@ elif (in_price != 0 and in_price != price) or (out_price != 0 and out_price != p
<string>in_price</string> <string>in_price</string>
<string>out_price</string> <string>out_price</string>
<string>len</string> <string>len</string>
<string>resource</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<value> <string>from Products.DCWorkflow.DCWorkflow import ValidationFailed\n <value> <string>from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
transaction = state_change.object\n transaction = state_change[\'object\']\n
\n \n
vaultDestination = transaction.getDestination()\n vaultDestination = transaction.getDestination()\n
\n \n
...@@ -130,8 +130,9 @@ if not transaction.Baobab_checkCounterDateOpen(site=vaultDestination, date=trans ...@@ -130,8 +130,9 @@ if not transaction.Baobab_checkCounterDateOpen(site=vaultDestination, date=trans
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>vaultDestination</string> <string>vaultDestination</string>
<string>msg</string> <string>msg</string>
</tuple> </tuple>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
transaction = state_change.object\n transaction = state_change[\'object\']\n
\n \n
vault = transaction.getSource()\n vault = transaction.getSource()\n
vaultDestination = transaction.getDestination()\n vaultDestination = transaction.getDestination()\n
...@@ -162,13 +162,13 @@ elif resource <> 0 :\n ...@@ -162,13 +162,13 @@ elif resource <> 0 :\n
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>vault</string> <string>vault</string>
<string>vaultDestination</string> <string>vaultDestination</string>
<string>vliste</string> <string>vliste</string>
<string>len</string> <string>len</string>
<string>_getitem_</string>
<string>portal_type_with_no_space</string> <string>portal_type_with_no_space</string>
<string>getattr</string> <string>getattr</string>
<string>None</string> <string>None</string>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -53,7 +53,9 @@ ...@@ -53,7 +53,9 @@
<item> <item>
<key> <string>type_list</string> </key> <key> <string>type_list</string> </key>
<value> <value>
<tuple/> <tuple>
<string>future_inventory</string>
</tuple>
</value> </value>
</item> </item>
</dictionary> </dictionary>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
# Purchase Transaction .\n # Purchase Transaction .\n
transaction = state_change.object\n transaction = state_change[\'object\']\n
# Get inventory\n # Get inventory\n
vault = transaction.getSource()\n vault = transaction.getSource()\n
resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Incoming Classification Survey Line\')\n resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Incoming Classification Survey Line\')\n
...@@ -142,8 +142,9 @@ elif resource != 0 :\n ...@@ -142,8 +142,9 @@ elif resource != 0 :\n
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>vault</string> <string>vault</string>
<string>resource</string> <string>resource</string>
<string>price</string> <string>price</string>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
transaction = state_change.object\n transaction = state_change[\'object\']\n
\n \n
vault = transaction.getSource()\n vault = transaction.getSource()\n
date = transaction.getStartDate()\n date = transaction.getStartDate()\n
...@@ -153,8 +153,9 @@ elif resource <> 0 :\n ...@@ -153,8 +153,9 @@ elif resource <> 0 :\n
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>vault</string> <string>vault</string>
<string>date</string> <string>date</string>
<string>msg</string> <string>msg</string>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -69,14 +69,14 @@ ...@@ -69,14 +69,14 @@
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
transaction = state_change.object\n transaction = state_change[\'object\']\n
\n \n
\n \n
currency = transaction.getResourceTitle()\n currency = transaction.getResourceTitle()\n
\n \n
var_ressource_title = transaction.getResourceTitle().lower()\n var_ressource_title = transaction.getResourceTitle().lower()\n
var_ressource_title = var_ressource_title.replace(" ", "_")\n var_ressource_title = var_ressource_title.replace(" ", "_")\n
encaisse_devise = "/encaisse_des_devises/%s/entrante" %(var_ressource_title)\n encaisse_devise = "/encaisse_des_devises/%s/sortante" %(var_ressource_title)\n
\n \n
#encaisse_devise = "/encaisse_des_devises/%s/entrante" %(transaction.getResourceTitle().lower())\n #encaisse_devise = "/encaisse_des_devises/%s/entrante" %(transaction.getResourceTitle().lower())\n
\n \n
...@@ -172,8 +172,9 @@ if billetage_entre != base_price :\n ...@@ -172,8 +172,9 @@ if billetage_entre != base_price :\n
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>currency</string> <string>currency</string>
<string>var_ressource_title</string> <string>var_ressource_title</string>
<string>encaisse_devise</string> <string>encaisse_devise</string>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
transaction = state_change.object\n transaction = state_change[\'object\']\n
\n \n
vault = transaction.getSource()\n vault = transaction.getSource()\n
resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Cash Delivery Line\')\n resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Cash Delivery Line\')\n
...@@ -142,8 +142,9 @@ elif resource <> 0 :\n ...@@ -142,8 +142,9 @@ elif resource <> 0 :\n
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>vault</string> <string>vault</string>
<string>resource</string> <string>resource</string>
<string>msg</string> <string>msg</string>
......
...@@ -68,9 +68,9 @@ ...@@ -68,9 +68,9 @@
<value> <string>from Products.ERP5Type.Message import Message\n <value> <string>from Products.ERP5Type.Message import Message\n
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
\n \n
object = state_change.object\n object = state_change[\'object\']\n
\n \n
transaction = state_change.object\n transaction = state_change[\'object\']\n
\n \n
# use of the constraint\n # use of the constraint\n
vliste = object.checkConsistency()\n vliste = object.checkConsistency()\n
...@@ -141,12 +141,12 @@ if object_price != line_price:\n ...@@ -141,12 +141,12 @@ if object_price != line_price:\n
<string>Message</string> <string>Message</string>
<string>Products.DCWorkflow.DCWorkflow</string> <string>Products.DCWorkflow.DCWorkflow</string>
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>object</string> <string>object</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>vliste</string> <string>vliste</string>
<string>len</string> <string>len</string>
<string>_getitem_</string>
<string>dest</string> <string>dest</string>
<string>msg</string> <string>msg</string>
<string>validationFailed</string> <string>validationFailed</string>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
transaction = state_change.object\n transaction = state_change[\'object\']\n
\n \n
# use of the constraint\n # use of the constraint\n
vliste = transaction.checkConsistency()\n vliste = transaction.checkConsistency()\n
...@@ -154,11 +154,11 @@ elif resource <> 0 :\n ...@@ -154,11 +154,11 @@ elif resource <> 0 :\n
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>vliste</string> <string>vliste</string>
<string>len</string> <string>len</string>
<string>_getitem_</string>
<string>vault</string> <string>vault</string>
<string>resource</string> <string>resource</string>
<string>msg</string> <string>msg</string>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
transaction = state_change.object\n transaction = state_change[\'object\']\n
\n \n
vault = transaction.getSource()\n vault = transaction.getSource()\n
\n \n
...@@ -158,8 +158,9 @@ elif resource <> 0 :\n ...@@ -158,8 +158,9 @@ elif resource <> 0 :\n
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>vault</string> <string>vault</string>
<string>msg</string> <string>msg</string>
<string>resource</string> <string>resource</string>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<value> <string>from Products.ERP5Type.Message import Message\n <value> <string>from Products.ERP5Type.Message import Message\n
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
\n \n
object = state_change.object\n object = state_change[\'object\']\n
\n \n
# use of the constraint\n # use of the constraint\n
vliste = object.checkConsistency()\n vliste = object.checkConsistency()\n
...@@ -149,11 +149,11 @@ if \'transit\' not in dest.getRelativeUrl():\n ...@@ -149,11 +149,11 @@ if \'transit\' not in dest.getRelativeUrl():\n
<string>Message</string> <string>Message</string>
<string>Products.DCWorkflow.DCWorkflow</string> <string>Products.DCWorkflow.DCWorkflow</string>
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>object</string> <string>object</string>
<string>_getattr_</string>
<string>vliste</string> <string>vliste</string>
<string>len</string> <string>len</string>
<string>_getitem_</string>
<string>msg</string> <string>msg</string>
<string>dest</string> <string>dest</string>
<string>first_movement</string> <string>first_movement</string>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
transaction = state_change.object\n transaction = state_change[\'object\']\n
\n \n
vault = transaction.getSource()\n vault = transaction.getSource()\n
resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Cash Delivery Line\')\n resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Cash Delivery Line\')\n
...@@ -143,8 +143,9 @@ elif resource <> 0 :\n ...@@ -143,8 +143,9 @@ elif resource <> 0 :\n
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>vault</string> <string>vault</string>
<string>resource</string> <string>resource</string>
<string>amount</string> <string>amount</string>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
transaction = state_change.object\n transaction = state_change[\'object\']\n
vault = transaction.getBaobabSource()\n vault = transaction.getBaobabSource()\n
date = transaction.getStartDate()\n date = transaction.getStartDate()\n
\n \n
...@@ -149,8 +149,9 @@ elif resource <> 0 :\n ...@@ -149,8 +149,9 @@ elif resource <> 0 :\n
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>vault</string> <string>vault</string>
<string>date</string> <string>date</string>
<string>msg</string> <string>msg</string>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
# check that we don\'t have both incoming and outgoing line on the document\n # check that we don\'t have both incoming and outgoing line on the document\n
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
transaction = state_change.object\n transaction = state_change[\'object\']\n
txn = state_change[\'object\']\n txn = state_change[\'object\']\n
in_list = txn.objectValues(portal_type=\'Incoming Usual Cash Incident Line\')\n in_list = txn.objectValues(portal_type=\'Incoming Usual Cash Incident Line\')\n
out_list = txn.objectValues(portal_type=\'Outgoing Usual Cash Incident Line\')\n out_list = txn.objectValues(portal_type=\'Outgoing Usual Cash Incident Line\')\n
...@@ -163,10 +163,10 @@ elif (in_price != 0 and in_price != price) or (out_price != 0 and out_price != p ...@@ -163,10 +163,10 @@ elif (in_price != 0 and in_price != price) or (out_price != 0 and out_price != p
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string>
<string>transaction</string>
<string>_getitem_</string> <string>_getitem_</string>
<string>transaction</string>
<string>txn</string> <string>txn</string>
<string>_getattr_</string>
<string>in_list</string> <string>in_list</string>
<string>out_list</string> <string>out_list</string>
<string>vault</string> <string>vault</string>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
transaction = state_change.object\n transaction = state_change[\'object\']\n
date = transaction.getStartDate()\n date = transaction.getStartDate()\n
vault = transaction.getSource()\n vault = transaction.getSource()\n
vaultDestination = transaction.getDestination()\n vaultDestination = transaction.getDestination()\n
...@@ -155,14 +155,14 @@ elif resource <> 0 :\n ...@@ -155,14 +155,14 @@ elif resource <> 0 :\n
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>date</string> <string>date</string>
<string>vault</string> <string>vault</string>
<string>vaultDestination</string> <string>vaultDestination</string>
<string>vliste</string> <string>vliste</string>
<string>len</string> <string>len</string>
<string>_getitem_</string>
<string>msg</string> <string>msg</string>
<string>resource</string> <string>resource</string>
<string>amount</string> <string>amount</string>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>transaction = state_change.object\n <value> <string>transaction = state_change[\'object\']\n
\n \n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -119,8 +119,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
transaction = state_change.object\n transaction = state_change[\'object\']\n
vault = transaction.getSource()\n vault = transaction.getSource()\n
date = transaction.getStartDate()\n date = transaction.getStartDate()\n
\n \n
...@@ -161,8 +161,9 @@ elif resource <> 0 :\n ...@@ -161,8 +161,9 @@ elif resource <> 0 :\n
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>vault</string> <string>vault</string>
<string>date</string> <string>date</string>
<string>msg</string> <string>msg</string>
...@@ -170,7 +171,6 @@ elif resource <> 0 :\n ...@@ -170,7 +171,6 @@ elif resource <> 0 :\n
<string>context</string> <string>context</string>
<string>vliste</string> <string>vliste</string>
<string>len</string> <string>len</string>
<string>_getitem_</string>
<string>resource</string> <string>resource</string>
<string>amount</string> <string>amount</string>
<string>total_price</string> <string>total_price</string>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>obj = state_change.object\n <value> <string>obj = state_change[\'object\']\n
obj.assignRoleToSecurityGroup()\n obj.assignRoleToSecurityGroup()\n
</string> </value> </string> </value>
</item> </item>
...@@ -110,8 +110,9 @@ obj.assignRoleToSecurityGroup()\n ...@@ -110,8 +110,9 @@ obj.assignRoleToSecurityGroup()\n
<value> <value>
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>obj</string> <string>obj</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string># Call the script wich checks if source and destination\n <value> <string># Call the script wich checks if source and destination\n
# are well defined\n # are well defined\n
transaction = state_change.object\n transaction = state_change[\'object\']\n
transaction.Base_checkBaobabSourceAndDestination()\n transaction.Base_checkBaobabSourceAndDestination()\n
</string> </value> </string> </value>
</item> </item>
...@@ -112,8 +112,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n ...@@ -112,8 +112,9 @@ transaction.Base_checkBaobabSourceAndDestination()\n
<value> <value>
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
transaction = state_change.object\n transaction = state_change[\'object\']\n
date = transaction.getStartDate()\n date = transaction.getStartDate()\n
vault = transaction.getSource()\n vault = transaction.getSource()\n
vaultDestination = transaction.getDestination()\n vaultDestination = transaction.getDestination()\n
...@@ -157,14 +157,14 @@ elif resource <> 0 :\n ...@@ -157,14 +157,14 @@ elif resource <> 0 :\n
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string>
<string>date</string> <string>date</string>
<string>vault</string> <string>vault</string>
<string>vaultDestination</string> <string>vaultDestination</string>
<string>vliste</string> <string>vliste</string>
<string>len</string> <string>len</string>
<string>_getitem_</string>
<string>msg</string> <string>msg</string>
<string>resource</string> <string>resource</string>
<string>amount</string> <string>amount</string>
......
2006-06-11 aurel
* remove money deposit transfer
* ordered is state of future inventory
2006-10-19 aurel 2006-10-19 aurel
* fix portal type list for getTotalPrice in wf script * fix portal type list for getTotalPrice in wf script
......
341 343
\ No newline at end of file \ No newline at end of file
...@@ -273,16 +273,6 @@ Money Deposit Rendering | history ...@@ -273,16 +273,6 @@ Money Deposit Rendering | history
Money Deposit Rendering | metadata Money Deposit Rendering | metadata
Money Deposit Rendering | print_pdf Money Deposit Rendering | print_pdf
Money Deposit Rendering | view Money Deposit Rendering | view
Money Deposit Transfer Module | list
Money Deposit Transfer Module | list_ui
Money Deposit Transfer Module | print_pdf
Money Deposit Transfer Module | sort_on
Money Deposit Transfer Module | view
Money Deposit Transfer | fastinput
Money Deposit Transfer | history
Money Deposit Transfer | metadata
Money Deposit Transfer | print_pdf
Money Deposit Transfer | view
Money Deposit | accouting_view Money Deposit | accouting_view
Money Deposit | fast_input Money Deposit | fast_input
Money Deposit | history Money Deposit | history
......
account_incident_module account_incident_module
cash_balance_regulation_module cash_balance_regulation_module
cash_exchange_module cash_exchange_module
...@@ -22,7 +21,6 @@ monetary_reception_module ...@@ -22,7 +21,6 @@ monetary_reception_module
monetary_survey_module monetary_survey_module
money_deposit_module money_deposit_module
money_deposit_rendering_module money_deposit_rendering_module
money_deposit_transfer_module
mutilated_banknote_module mutilated_banknote_module
usual_cash_incident_module usual_cash_incident_module
usual_cash_rendering_module usual_cash_rendering_module
......
...@@ -53,7 +53,6 @@ Monetary Reception | Cash Container Item ...@@ -53,7 +53,6 @@ Monetary Reception | Cash Container Item
Monetary Reception | Cash Delivery Line Monetary Reception | Cash Delivery Line
Monetary Survey | Cash Delivery Line Monetary Survey | Cash Delivery Line
Money Deposit Rendering | Cash Delivery Line Money Deposit Rendering | Cash Delivery Line
Money Deposit Transfer | Cash Delivery Line
Money Deposit | Banking Operation Line Money Deposit | Banking Operation Line
Money Deposit | Cash Delivery Line Money Deposit | Cash Delivery Line
Mutilated Banknote | Exchanged Mutilated Banknote Line Mutilated Banknote | Exchanged Mutilated Banknote Line
......
...@@ -64,8 +64,6 @@ Money Deposit ...@@ -64,8 +64,6 @@ Money Deposit
Money Deposit Module Money Deposit Module
Money Deposit Rendering Money Deposit Rendering
Money Deposit Rendering Module Money Deposit Rendering Module
Money Deposit Transfer
Money Deposit Transfer Module
Mutilated Banknote Mutilated Banknote
Mutilated Banknote Module Mutilated Banknote Module
Outgoing Account Incident Line Outgoing Account Incident Line
......
...@@ -73,8 +73,6 @@ Monetary Survey | Amount ...@@ -73,8 +73,6 @@ Monetary Survey | Amount
Monetary Survey | Task Monetary Survey | Task
Money Deposit Rendering | Amount Money Deposit Rendering | Amount
Money Deposit Rendering | Price Money Deposit Rendering | Price
Money Deposit Transfer | Amount
Money Deposit Transfer | Price
Money Deposit | Arrow Money Deposit | Arrow
Money Deposit | ItemAggregation Money Deposit | ItemAggregation
Money Deposit | Price Money Deposit | Price
......
...@@ -48,8 +48,6 @@ Monetary Survey | edit_workflow ...@@ -48,8 +48,6 @@ Monetary Survey | edit_workflow
Monetary Survey | monetary_survey_workflow Monetary Survey | monetary_survey_workflow
Money Deposit Rendering | edit_workflow Money Deposit Rendering | edit_workflow
Money Deposit Rendering | money_deposit_rendering_workflow Money Deposit Rendering | money_deposit_rendering_workflow
Money Deposit Transfer | edit_workflow
Money Deposit Transfer | money_deposit_transfer_workflow
Money Deposit | edit_workflow Money Deposit | edit_workflow
Money Deposit | money_deposit_workflow Money Deposit | money_deposit_workflow
Mutilated Banknote | edit_workflow Mutilated Banknote | edit_workflow
......
account_incident_workflow account_incident_workflow
cash_balance_regulation_workflow cash_balance_regulation_workflow
cash_exchange_workflow cash_exchange_workflow
...@@ -22,7 +21,6 @@ monetary_recall_workflow ...@@ -22,7 +21,6 @@ monetary_recall_workflow
monetary_reception_workflow monetary_reception_workflow
monetary_survey_workflow monetary_survey_workflow
money_deposit_rendering_workflow money_deposit_rendering_workflow
money_deposit_transfer_workflow
money_deposit_workflow money_deposit_workflow
mutilated_banknote_workflow mutilated_banknote_workflow
usual_cash_incident_workflow usual_cash_incident_workflow
......
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