Commit ff397cf8 authored by Jérome Perrin's avatar Jérome Perrin

added create reversal action


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4712 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 95a8bd29
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -113,7 +114,7 @@ ...@@ -113,7 +114,7 @@
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
<string>Products.ERP5Type.CMFCorePatch</string> <string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string> <string>PatchedActionInformation</string>
</tuple> </tuple>
<none/> <none/>
...@@ -124,7 +125,7 @@ ...@@ -124,7 +125,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -178,7 +179,7 @@ ...@@ -178,7 +179,7 @@
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
<string>Products.ERP5Type.CMFCorePatch</string> <string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string> <string>PatchedActionInformation</string>
</tuple> </tuple>
<none/> <none/>
...@@ -189,7 +190,7 @@ ...@@ -189,7 +190,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -243,7 +244,7 @@ ...@@ -243,7 +244,7 @@
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
<string>Products.ERP5Type.CMFCorePatch</string> <string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string> <string>PatchedActionInformation</string>
</tuple> </tuple>
<none/> <none/>
...@@ -254,7 +255,7 @@ ...@@ -254,7 +255,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAo=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -308,7 +309,7 @@ ...@@ -308,7 +309,7 @@
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
<string>Products.ERP5Type.CMFCorePatch</string> <string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string> <string>PatchedActionInformation</string>
</tuple> </tuple>
<none/> <none/>
...@@ -319,7 +320,7 @@ ...@@ -319,7 +320,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAo=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAs=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -384,7 +385,7 @@ ...@@ -384,7 +385,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAs=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAw=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -435,6 +436,73 @@ ...@@ -435,6 +436,73 @@
</pickle> </pickle>
</record> </record>
<record id="7" aka="AAAAAAAAAAc="> <record id="7" aka="AAAAAAAAAAc=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAA0=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_action</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAA4=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>create_reversal</string> </value>
</item>
<item>
<key> <string>optional</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Create Reversal Transaction</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="8" aka="AAAAAAAAAAg=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -453,7 +521,7 @@ ...@@ -453,7 +521,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="8" aka="AAAAAAAAAAg="> <record id="9" aka="AAAAAAAAAAk=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -472,7 +540,7 @@ ...@@ -472,7 +540,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="9" aka="AAAAAAAAAAk="> <record id="10" aka="AAAAAAAAAAo=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -491,7 +559,7 @@ ...@@ -491,7 +559,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="10" aka="AAAAAAAAAAo="> <record id="11" aka="AAAAAAAAAAs=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -510,7 +578,7 @@ ...@@ -510,7 +578,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="11" aka="AAAAAAAAAAs="> <record id="12" aka="AAAAAAAAAAw=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -529,4 +597,42 @@ ...@@ -529,4 +597,42 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="13" aka="AAAAAAAAAA0=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/AccountingTransaction_createReversalTransaction</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="14" aka="AAAAAAAAAA4=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python:object.getSimulationState() in (\'delivered\', )</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -114,7 +115,7 @@ ...@@ -114,7 +115,7 @@
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
<string>Products.ERP5Type.CMFCorePatch</string> <string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string> <string>PatchedActionInformation</string>
</tuple> </tuple>
<none/> <none/>
...@@ -125,7 +126,7 @@ ...@@ -125,7 +126,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -179,7 +180,7 @@ ...@@ -179,7 +180,7 @@
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
<string>Products.ERP5Type.CMFCorePatch</string> <string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string> <string>PatchedActionInformation</string>
</tuple> </tuple>
<none/> <none/>
...@@ -190,7 +191,7 @@ ...@@ -190,7 +191,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -244,7 +245,7 @@ ...@@ -244,7 +245,7 @@
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
<string>Products.ERP5Type.CMFCorePatch</string> <string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string> <string>PatchedActionInformation</string>
</tuple> </tuple>
<none/> <none/>
...@@ -255,7 +256,7 @@ ...@@ -255,7 +256,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAo=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -309,7 +310,7 @@ ...@@ -309,7 +310,7 @@
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
<string>Products.ERP5Type.CMFCorePatch</string> <string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string> <string>PatchedActionInformation</string>
</tuple> </tuple>
<none/> <none/>
...@@ -320,7 +321,7 @@ ...@@ -320,7 +321,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAo=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAs=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -385,7 +386,7 @@ ...@@ -385,7 +386,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAs=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAw=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -436,6 +437,73 @@ ...@@ -436,6 +437,73 @@
</pickle> </pickle>
</record> </record>
<record id="7" aka="AAAAAAAAAAc="> <record id="7" aka="AAAAAAAAAAc=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAA0=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_action</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAA4=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>create_reversal</string> </value>
</item>
<item>
<key> <string>optional</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Create Reversal Transaction</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="8" aka="AAAAAAAAAAg=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -454,7 +522,7 @@ ...@@ -454,7 +522,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="8" aka="AAAAAAAAAAg="> <record id="9" aka="AAAAAAAAAAk=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -473,7 +541,7 @@ ...@@ -473,7 +541,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="9" aka="AAAAAAAAAAk="> <record id="10" aka="AAAAAAAAAAo=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -492,7 +560,7 @@ ...@@ -492,7 +560,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="10" aka="AAAAAAAAAAo="> <record id="11" aka="AAAAAAAAAAs=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -511,7 +579,7 @@ ...@@ -511,7 +579,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="11" aka="AAAAAAAAAAs="> <record id="12" aka="AAAAAAAAAAw=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -530,4 +598,42 @@ ...@@ -530,4 +598,42 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="13" aka="AAAAAAAAAA0=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/AccountingTransaction_createReversalTransaction</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="14" aka="AAAAAAAAAA4=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python:object.getSimulationState() in (\'delivered\', )</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
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