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,8 @@ ...@@ -27,6 +27,8 @@
<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>
<persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -113,7 +115,7 @@ ...@@ -113,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/>
...@@ -124,7 +126,7 @@ ...@@ -124,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">AAAAAAAAAAk=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -178,7 +180,7 @@ ...@@ -178,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/>
...@@ -189,7 +191,7 @@ ...@@ -189,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">AAAAAAAAAAo=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -243,7 +245,7 @@ ...@@ -243,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/>
...@@ -254,7 +256,7 @@ ...@@ -254,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">AAAAAAAAAAs=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -308,7 +310,7 @@ ...@@ -308,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/>
...@@ -319,7 +321,7 @@ ...@@ -319,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">AAAAAAAAAAw=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -384,7 +386,7 @@ ...@@ -384,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">AAAAAAAAAA0=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -435,6 +437,140 @@ ...@@ -435,6 +437,140 @@
</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">AAAAAAAAAA4=</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">AAAAAAAAAA8=</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>
<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">AAAAAAAAABA=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_jump</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAABE=</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>related_invoice</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>Related Invoice</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="9" aka="AAAAAAAAAAk=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -453,7 +589,7 @@ ...@@ -453,7 +589,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="8" aka="AAAAAAAAAAg="> <record id="10" aka="AAAAAAAAAAo=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -472,7 +608,7 @@ ...@@ -472,7 +608,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="9" aka="AAAAAAAAAAk="> <record id="11" aka="AAAAAAAAAAs=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -491,7 +627,7 @@ ...@@ -491,7 +627,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="10" aka="AAAAAAAAAAo="> <record id="12" aka="AAAAAAAAAAw=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -510,7 +646,7 @@ ...@@ -510,7 +646,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="11" aka="AAAAAAAAAAs="> <record id="13" aka="AAAAAAAAAA0=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -529,4 +665,80 @@ ...@@ -529,4 +665,80 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </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>string:${object_url}/AccountingTransaction_createReversalTransaction</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="15" aka="AAAAAAAAAA8=">
<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>
<record id="16" aka="AAAAAAAAABA=">
<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:"%s/%s/view" % (object.getPortalObject().getPath(), object.getCausality(portal_type = [\'Sale Invoice Transaction\', \'Purchase Invoice Transaction\']))</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="17" aka="AAAAAAAAABE=">
<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.getCausalityValue() is not None</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>
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
<persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAo=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAo=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAs=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAs=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAw=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAA0=</string> </persistent>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -128,7 +130,7 @@ ...@@ -128,7 +130,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/>
...@@ -139,7 +141,7 @@ ...@@ -139,7 +141,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAw=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAA4=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -193,7 +195,7 @@ ...@@ -193,7 +195,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/>
...@@ -204,7 +206,7 @@ ...@@ -204,7 +206,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAA0=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAA8=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -258,7 +260,7 @@ ...@@ -258,7 +260,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/>
...@@ -269,7 +271,7 @@ ...@@ -269,7 +271,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAA4=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAABA=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -323,7 +325,7 @@ ...@@ -323,7 +325,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/>
...@@ -334,7 +336,7 @@ ...@@ -334,7 +336,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAA8=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAABE=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -388,7 +390,7 @@ ...@@ -388,7 +390,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/>
...@@ -399,7 +401,7 @@ ...@@ -399,7 +401,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAABA=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAABI=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -453,7 +455,7 @@ ...@@ -453,7 +455,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/>
...@@ -464,7 +466,7 @@ ...@@ -464,7 +466,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAABE=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAABM=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -518,7 +520,7 @@ ...@@ -518,7 +520,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/>
...@@ -529,7 +531,7 @@ ...@@ -529,7 +531,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAABI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAABQ=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -583,7 +585,7 @@ ...@@ -583,7 +585,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/>
...@@ -594,7 +596,7 @@ ...@@ -594,7 +596,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAABM=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAABU=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -659,7 +661,7 @@ ...@@ -659,7 +661,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAABQ=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAABY=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -713,7 +715,7 @@ ...@@ -713,7 +715,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/>
...@@ -724,7 +726,7 @@ ...@@ -724,7 +726,7 @@
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAABU=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAABc=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -775,6 +777,140 @@ ...@@ -775,6 +777,140 @@
</pickle> </pickle>
</record> </record>
<record id="12" aka="AAAAAAAAAAw="> <record id="12" aka="AAAAAAAAAAw=">
<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">AAAAAAAAABg=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>python:object.getCausalityValue(portal_type = \'Sale Packing List\') is not None</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAABk=</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>jump_to_related_sale_packing_list</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>Related Packing List</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="13" aka="AAAAAAAAAA0=">
<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">AAAAAAAAABo=</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">AAAAAAAAABs=</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="14" aka="AAAAAAAAAA4=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -793,7 +929,7 @@ ...@@ -793,7 +929,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="13" aka="AAAAAAAAAA0="> <record id="15" aka="AAAAAAAAAA8=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -812,7 +948,7 @@ ...@@ -812,7 +948,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="14" aka="AAAAAAAAAA4="> <record id="16" aka="AAAAAAAAABA=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -831,7 +967,7 @@ ...@@ -831,7 +967,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="15" aka="AAAAAAAAAA8="> <record id="17" aka="AAAAAAAAABE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -850,7 +986,7 @@ ...@@ -850,7 +986,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="16" aka="AAAAAAAAABA="> <record id="18" aka="AAAAAAAAABI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -869,7 +1005,7 @@ ...@@ -869,7 +1005,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="17" aka="AAAAAAAAABE="> <record id="19" aka="AAAAAAAAABM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -888,7 +1024,7 @@ ...@@ -888,7 +1024,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="18" aka="AAAAAAAAABI="> <record id="20" aka="AAAAAAAAABQ=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -907,7 +1043,7 @@ ...@@ -907,7 +1043,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="19" aka="AAAAAAAAABM="> <record id="21" aka="AAAAAAAAABU=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -926,7 +1062,7 @@ ...@@ -926,7 +1062,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="20" aka="AAAAAAAAABQ="> <record id="22" aka="AAAAAAAAABY=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -945,7 +1081,7 @@ ...@@ -945,7 +1081,7 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="21" aka="AAAAAAAAABU="> <record id="23" aka="AAAAAAAAABc=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -968,4 +1104,80 @@ string:${object_url}/Base_jumpToRelatedObject?base_category=causality&portal_typ ...@@ -968,4 +1104,80 @@ string:${object_url}/Base_jumpToRelatedObject?base_category=causality&portal_typ
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="24" aka="AAAAAAAAABg=">
<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.getCausality(portal_type = \'Sale Packing List\')</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="25" aka="AAAAAAAAABk=">
<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.getCausalityValue(portal_type = \'Sale Packing List\') is not None</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="26" aka="AAAAAAAAABo=">
<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="27" aka="AAAAAAAAABs=">
<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