Commit f0010f5d authored by Aurel's avatar Aurel

use cash container item for monetary reception

skins improvement

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7432 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 67d975ca
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.ActionInformation</string>
<string>ActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </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>metadata</string> </value>
</item>
<item>
<key> <string>optional</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Manage portal</string>
</tuple>
</value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>3.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Metadata</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<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}/Base_viewMetadata</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.ActionInformation</string>
<string>ActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </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>view</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> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>View</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<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}/CashContainer_view</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>string:${object_url}/DeliveryCell_view</string> </value> <value> <string>string:${object_url}/CashContainerCell_view</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>string:${object_url}/CashDeliveryLine_view</string> </value> <value> <string>string:${object_url}/CashContainerLine_view</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.ActionInformation</string>
<string>ActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </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>container</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> <float>5.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Cash Containers</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<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}/MonetaryIssue_viewCashContainerList</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.ActionInformation</string>
<string>ActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_button</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>icon</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>fastInput</string> </value>
</item>
<item>
<key> <string>optional</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Add portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>2.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Cash Containers Input</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<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}/MonetaryIssue_viewCashContainerInputDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<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:${portal_url}/images/cash_out.png</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.ActionInformation</string>
<string>ActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </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>history</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> <float>5.5</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>History</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<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}/Base_viewHistory</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.ActionInformation</string>
<string>ActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </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>metadata</string> </value>
</item>
<item>
<key> <string>optional</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Manage portal</string>
</tuple>
</value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>6.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Metadata</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<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}/Base_viewMetadata</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.ActionInformation</string>
<string>ActionInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </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>view</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> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>View</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<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}/MonetaryIssue_view</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -12,12 +12,6 @@ ...@@ -12,12 +12,6 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <value>
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
<portal_type id="Cash Container"> <portal_type id="Cash Container">
<item>Container Line</item> <item>Container Line</item>
</portal_type> </portal_type>
<portal_type id="Cash Container Item">
<item>Container Line</item>
</portal_type>
<portal_type id="Cash Sorting"> <portal_type id="Cash Sorting">
<item>Incoming Cash Sorting Line</item> <item>Incoming Cash Sorting Line</item>
<item>Outgoing Cash Sorting Line</item> <item>Outgoing Cash Sorting Line</item>
...@@ -25,8 +28,18 @@ ...@@ -25,8 +28,18 @@
<portal_type id="Incoming Classification Survey Line"> <portal_type id="Incoming Classification Survey Line">
<item>Cash Delivery Cell</item> <item>Cash Delivery Cell</item>
</portal_type> </portal_type>
<portal_type id="Monetary Issue">
<item>Cash Delivery Line</item>
<item>Monetary Issue Container</item>
</portal_type>
<portal_type id="Monetary Issue Container">
<item>Container Line</item>
</portal_type>
<portal_type id="Monetary Issue Module">
<item>Monetary Issue</item>
</portal_type>
<portal_type id="Monetary Reception"> <portal_type id="Monetary Reception">
<item>Cash Container</item> <item>Cash Container Item</item>
<item>Cash Delivery Line</item> <item>Cash Delivery Line</item>
</portal_type> </portal_type>
<portal_type id="Monetary Reception Module"> <portal_type id="Monetary Reception Module">
......
<base_category_list> <base_category_list>
<portal_type id="Cash Container Item">
<item>aggregate</item>
</portal_type>
<portal_type id="Container Cell"> <portal_type id="Container Cell">
<item>cash_status</item>
<item>emission_letter</item>
<item>variation</item>
</portal_type>
<portal_type id="Container Line">
<item>emission_letter</item>
<item>cash_status</item>
<item>variation</item> <item>variation</item>
</portal_type> </portal_type>
<portal_type id="Outgoing Cash Sorting Cell"> <portal_type id="Outgoing Cash Sorting Cell">
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
<portal_type id="Cash Container"> <portal_type id="Cash Container">
<item>Container Line</item> <item>Container Line</item>
</portal_type> </portal_type>
<portal_type id="Cash Container Item">
<item>Container Line</item>
</portal_type>
<portal_type id="Cash Sorting"> <portal_type id="Cash Sorting">
<item>Outgoing Cash Sorting Line</item> <item>Outgoing Cash Sorting Line</item>
<item>Incoming Cash Sorting Line</item> <item>Incoming Cash Sorting Line</item>
...@@ -19,9 +22,17 @@ ...@@ -19,9 +22,17 @@
<portal_type id="Incoming Classification Survey Line"> <portal_type id="Incoming Classification Survey Line">
<item>Cash Delivery Cell</item> <item>Cash Delivery Cell</item>
</portal_type> </portal_type>
<portal_type id="Monetary Issue">
<item>Cash Delivery Line</item>
<item>Monetary Issue Container</item>
</portal_type>
<portal_type id="Monetary Issue Container">
<item>Container Line</item>
</portal_type>
<portal_type id="Monetary Reception"> <portal_type id="Monetary Reception">
<item>Cash Container</item> <item>Cash Container</item>
<item>Cash Delivery Line</item> <item>Cash Delivery Line</item>
<item>Cash Container Item</item>
</portal_type> </portal_type>
<portal_type id="Monetary Reception Module"> <portal_type id="Monetary Reception Module">
<item>Monetary Reception</item> <item>Monetary Reception</item>
......
...@@ -14,6 +14,10 @@ ...@@ -14,6 +14,10 @@
<portal_type id="Incoming Classification Survey Line"> <portal_type id="Incoming Classification Survey Line">
<item>CashDeliveryLine</item> <item>CashDeliveryLine</item>
</portal_type> </portal_type>
<portal_type id="Monetary Issue">
<item>Amount</item>
<item>Price</item>
</portal_type>
<portal_type id="Monetary Reception"> <portal_type id="Monetary Reception">
<item>CashContainer</item> <item>CashContainer</item>
</portal_type> </portal_type>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.ERP5Type</string>
<string>ERP5TypeInformation</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_actions</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>_aliases</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_roles</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>allowed_content_types</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>base_category_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>content_icon</string> </key>
<value> <string>document.gif</string> </value>
</item>
<item>
<key> <string>content_meta_type</string> </key>
<value> <string>BAOBAB Cash Container</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>A Cash Container Item</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addCashContainer</string> </value>
</item>
<item>
<key> <string>filter_content_types</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<tuple>
<string>container</string>
<string>delivery_movement</string>
</tuple>
</value>
</item>
<item>
<key> <string>hidden_content_type_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Cash Container Item</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
<value> <string>CashContainerItem_init</string> </value>
</item>
<item>
<key> <string>property_sheet_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -15,9 +15,13 @@ ...@@ -15,9 +15,13 @@
<type>Container Line</type> <type>Container Line</type>
<workflow>packing_list_interaction_workflow, edit_workflow</workflow> <workflow>packing_list_interaction_workflow, edit_workflow</workflow>
</chain> </chain>
<chain>
<type>Monetary Issue</type>
<workflow>monetary_issue_workflow, edit_workflow</workflow>
</chain>
<chain> <chain>
<type>Monetary Reception</type> <type>Monetary Reception</type>
<workflow>edit_workflow, monetary_reception_workflow</workflow> <workflow>monetary_reception_workflow, edit_workflow</workflow>
</chain> </chain>
<chain> <chain>
<type>Monetary Survey</type> <type>Monetary Survey</type>
......
...@@ -106,7 +106,7 @@ def create_movement(CD_head_dict, CD_line_list):\n ...@@ -106,7 +106,7 @@ def create_movement(CD_head_dict, CD_line_list):\n
, start_date = CD_head_dict[\'start_date\']\n , start_date = CD_head_dict[\'start_date\']\n
, emission_letter = CD_head_dict[\'emission_letter\']\n , emission_letter = CD_head_dict[\'emission_letter\']\n
, cash_status = CD_head_dict[\'cash_status\']\n , cash_status = CD_head_dict[\'cash_status\']\n
, destination = CD_head_dict[\'destination\']\n # , destination = CD_head_dict[\'destination\']\n
)\n )\n
# Container Creation\n # Container Creation\n
base_list=(\'emission_letter\', \'variation\', \'cash_status\')\n base_list=(\'emission_letter\', \'variation\', \'cash_status\')\n
...@@ -115,7 +115,7 @@ def create_movement(CD_head_dict, CD_line_list):\n ...@@ -115,7 +115,7 @@ def create_movement(CD_head_dict, CD_line_list):\n
resource_total_quantity = 0\n resource_total_quantity = 0\n
for CD_line in CD_line_list:\n for CD_line in CD_line_list:\n
# create cash container\n # create cash container\n
movement_container = movement_head.newContent(portal_type = \'Cash Container\'\n movement_container = movement_head.newContent(portal_type = \'Cash Container Item\'\n
, reindex_object = 1\n , reindex_object = 1\n
, reference = CD_line[\'reference\']\n , reference = CD_line[\'reference\']\n
, cash_number_range_start = CD_line[\'range_start\']\n , cash_number_range_start = CD_line[\'range_start\']\n
...@@ -144,7 +144,7 @@ def create_movement(CD_head_dict, CD_line_list):\n ...@@ -144,7 +144,7 @@ def create_movement(CD_head_dict, CD_line_list):\n
cell.setMembershipCriterionBaseCategoryList(base_list)\n cell.setMembershipCriterionBaseCategoryList(base_list)\n
cell.setMembershipCriterionCategoryList(category_list)\n cell.setMembershipCriterionCategoryList(category_list)\n
cell.edit(force_update = 1,\n cell.edit(force_update = 1,\n
price = container_line.getResourceValue().getBasePrice()) \n price = container_line.getResourceValue().getBasePrice())\n
\n \n
\n \n
resource_total_quantity += CD_line[\'quantity\']\n resource_total_quantity += CD_line[\'quantity\']\n
...@@ -168,7 +168,7 @@ def create_movement(CD_head_dict, CD_line_list):\n ...@@ -168,7 +168,7 @@ def create_movement(CD_head_dict, CD_line_list):\n
cell.setMembershipCriterionBaseCategoryList(base_list)\n cell.setMembershipCriterionBaseCategoryList(base_list)\n
cell.setMembershipCriterionCategoryList(category_list)\n cell.setMembershipCriterionCategoryList(category_list)\n
cell.edit(force_update = 1,\n cell.edit(force_update = 1,\n
price = movement_line.getResourceValue().getBasePrice()) \n price = movement_line.getResourceValue().getBasePrice())\n
# movement_line.setResourceValue(CD_head_dict[\'resource\'])\n # movement_line.setResourceValue(CD_head_dict[\'resource\'])\n
## context.log("movement cell = %r" %(list(movement_line.objectIds(),)), "")\n ## context.log("movement cell = %r" %(list(movement_line.objectIds(),)), "")\n
# cell = movement_line.getCell(category_list[0], category_list[1], category_list[2])\n # cell = movement_line.getCell(category_list[0], category_list[1], category_list[2])\n
...@@ -261,12 +261,12 @@ def split_head(CD_file_line_list):\n ...@@ -261,12 +261,12 @@ def split_head(CD_file_line_list):\n
if head_resource is None:\n if head_resource is None:\n
return {\'error\':True, \'message\':message_dict[\'12\'], \'head_dict\':{}}\n return {\'error\':True, \'message\':message_dict[\'12\'], \'head_dict\':{}}\n
\n \n
# Destination search\n # # Destination search\n
user_site_list = context.Baobab_getUserAssignedSiteList ()\n # user_site_list = context.Baobab_getUserAssignedSiteList ()\n
if user_site_list is None:\n # if user_site_list is None:\n
return {\'error\':True, \'message\':message_dict[\'13\'], \'head_dict\':{}}\n # return {\'error\':True, \'message\':message_dict[\'13\'], \'head_dict\':{}}\n
\n \n
head_destination = user_site_list[0] +\'/caveau/serre/encaisse_des_billets_neufs_non_emis\'\n # head_destination = user_site_list[0] +\'/caveau/serre/encaisse_des_billets_neufs_non_emis\'\n
\n \n
CD_head_dict = {\'reference\' : head_movement_id\n CD_head_dict = {\'reference\' : head_movement_id\n
,\'start_date\' : head_start_date\n ,\'start_date\' : head_start_date\n
...@@ -275,7 +275,7 @@ def split_head(CD_file_line_list):\n ...@@ -275,7 +275,7 @@ def split_head(CD_file_line_list):\n
,\'emission_letter\' : head_emission_letter\n ,\'emission_letter\' : head_emission_letter\n
,\'variation\' : head_variation\n ,\'variation\' : head_variation\n
,\'cash_status\' : \'new_not_emitted\'\n ,\'cash_status\' : \'new_not_emitted\'\n
,\'destination\' : head_destination\n # ,\'destination\' : head_destination\n
}\n }\n
\n \n
return {\'error\':False, \'message\':None, \'head_dict\':CD_head_dict}\n return {\'error\':False, \'message\':None, \'head_dict\':CD_head_dict}\n
......
...@@ -313,6 +313,10 @@ ...@@ -313,6 +313,10 @@
<key> <string>all_columns</string> </key> <key> <string>all_columns</string> </key>
<value> <value>
<list> <list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple> <tuple>
<string>source_reference</string> <string>source_reference</string>
<string>Reference</string> <string>Reference</string>
...@@ -350,6 +354,10 @@ ...@@ -350,6 +354,10 @@
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
<list> <list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple> <tuple>
<string>source_reference</string> <string>source_reference</string>
<string>Reference</string> <string>Reference</string>
......
...@@ -110,8 +110,8 @@ ...@@ -110,8 +110,8 @@
<value> <value>
<list> <list>
<string>my_source_reference</string> <string>my_source_reference</string>
<string>my_destination_logical_path</string>
<string>my_resource_title</string> <string>my_resource_title</string>
<string>my_destination</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<tuple> <tuple>
<tuple> <tuple>
<string>Products.Formulator.StandardFields</string> <string>Products.Formulator.StandardFields</string>
<string>StringField</string> <string>ListField</string>
</tuple> </tuple>
<none/> <none/>
</tuple> </tuple>
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_destination_logical_path</string> </value> <value> <string>my_destination</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
<value> <string>Input is required but no input given.</string> </value> <value> <string>Input is required but no input given.</string> </value>
</item> </item>
<item> <item>
<key> <string>too_long</string> </key> <key> <string>unknown_selection</string> </key>
<value> <string>Too much input was given.</string> </value> <value> <string>You selected an item that was not in the list.</string> </value>
</item> </item>
</dictionary> </dictionary>
</value> </value>
...@@ -56,27 +56,27 @@ ...@@ -56,27 +56,27 @@
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>display_maxwidth</string> </key> <key> <string>editable</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>enabled</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>external_validator</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>extra</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>external_validator</string> </key> <key> <string>extra_item</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>extra</string> </key> <key> <string>first_item</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>max_length</string> </key> <key> <string>items</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
...@@ -92,11 +92,11 @@ ...@@ -92,11 +92,11 @@
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>size</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>truncate</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
...@@ -124,36 +124,34 @@ ...@@ -124,36 +124,34 @@
</item> </item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
<value> <value> <string></string> </value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>display_maxwidth</string> </key> <key> <string>editable</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>enabled</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>external_validator</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>extra</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>external_validator</string> </key> <key> <string>extra_item</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>extra</string> </key> <key> <string>first_item</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
...@@ -161,19 +159,21 @@ ...@@ -161,19 +159,21 @@
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>max_length</string> </key> <key> <string>items</string> </key>
<value> <string></string> </value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>required</string> </key> <key> <string>required</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>size</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>truncate</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
...@@ -207,17 +207,9 @@ ...@@ -207,17 +207,9 @@
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
...@@ -231,25 +223,35 @@ ...@@ -231,25 +223,35 @@
<key> <string>extra</string> </key> <key> <string>extra</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item> <item>
<key> <string>max_length</string> </key> <key> <string>items</string> </key>
<value> <string></string> </value> <value>
<list/>
</value>
</item> </item>
<item> <item>
<key> <string>required</string> </key> <key> <string>required</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>size</string> </key>
<value> <string>Destination Vault</string> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>truncate</string> </key> <key> <string>title</string> </key>
<value> <int>0</int> </value> <value> <string>Destination Vault</string> </value>
</item> </item>
<item> <item>
<key> <string>unicode</string> </key> <key> <string>unicode</string> </key>
...@@ -279,7 +281,7 @@ ...@@ -279,7 +281,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.Baobab_getStrippedPath(object=here, destination=1)</string> </value> <value> <string>python:here.Delivery_getVaultItemList(current_url=here.getDestination(), vault_type=(\'site/caveau/serre\'), leaf_node=1)</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -431,8 +431,8 @@ ...@@ -431,8 +431,8 @@
<value> <value>
<list> <list>
<tuple> <tuple>
<string>Cash Container</string> <string>Cash Container Item</string>
<string>Cash Container</string> <string>Cash Container Item</string>
</tuple> </tuple>
</list> </list>
</value> </value>
......
2006-05-23 aurel
* add module for monetary issue
2006-05-19 aurel 2006-05-19 aurel
* add module for monetary reception * add module for monetary reception
......
Cash Container Item | metadata
Cash Container Item | view
Cash Container | metadata Cash Container | metadata
Cash Container | view Cash Container | view
Cash Sorting Module | list Cash Sorting Module | list
...@@ -31,6 +33,16 @@ Incoming Cash Sorting Line | metadata ...@@ -31,6 +33,16 @@ Incoming Cash Sorting Line | metadata
Incoming Cash Sorting Line | view Incoming Cash Sorting Line | view
Incoming Classification Survey Line | metadata Incoming Classification Survey Line | metadata
Incoming Classification Survey Line | view Incoming Classification Survey Line | view
Monetary Issue Container | metadata
Monetary Issue Container | view
Monetary Issue Module | list_ui
Monetary Issue Module | sort_on
Monetary Issue Module | view
Monetary Issue | container
Monetary Issue | fastInput
Monetary Issue | history
Monetary Issue | metadata
Monetary Issue | view
Monetary Reception Module | import Monetary Reception Module | import
Monetary Reception Module | list_ui Monetary Reception Module | list_ui
Monetary Reception Module | print_pdf Monetary Reception Module | print_pdf
......
cash_sorting_module cash_sorting_module
classification_survey_module classification_survey_module
monetary_issue_module
monetary_reception_module monetary_reception_module
monetary_survey_module monetary_survey_module
usual_cash_transfer_module usual_cash_transfer_module
\ No newline at end of file
Cash Container Item | Container Line
Cash Container | Container Line Cash Container | Container Line
Cash Sorting Module | Cash Sorting Cash Sorting Module | Cash Sorting
Cash Sorting | Incoming Cash Sorting Line Cash Sorting | Incoming Cash Sorting Line
...@@ -8,8 +9,12 @@ Classification Survey | Outgoing Classification Survey Line ...@@ -8,8 +9,12 @@ Classification Survey | Outgoing Classification Survey Line
Container Line | Container Cell Container Line | Container Cell
Incoming Cash Sorting Line | Cash Delivery Cell Incoming Cash Sorting Line | Cash Delivery Cell
Incoming Classification Survey Line | Cash Delivery Cell Incoming Classification Survey Line | Cash Delivery Cell
Monetary Issue Container | Container Line
Monetary Issue Module | Monetary Issue
Monetary Issue | Cash Delivery Line
Monetary Issue | Monetary Issue Container
Monetary Reception Module | Monetary Reception Monetary Reception Module | Monetary Reception
Monetary Reception | Cash Container Monetary Reception | Cash Container Item
Monetary Reception | Cash Delivery Line Monetary Reception | Cash Delivery Line
Monetary Survey Module | Monetary Survey Monetary Survey Module | Monetary Survey
Monetary Survey | Cash Delivery Line Monetary Survey | Cash Delivery Line
......
Cash Container Item | aggregate
Container Cell | cash_status
Container Cell | emission_letter
Container Cell | variation Container Cell | variation
Container Line | cash_status
Container Line | emission_letter
Container Line | variation
Outgoing Cash Sorting Cell | variation Outgoing Cash Sorting Cell | variation
Outgoing Classification Survey Cell | variation Outgoing Classification Survey Cell | variation
\ No newline at end of file
Cash Container Item | Container Line
Cash Container | Container Line Cash Container | Container Line
Cash Sorting | Incoming Cash Sorting Line Cash Sorting | Incoming Cash Sorting Line
Cash Sorting | Outgoing Cash Sorting Line Cash Sorting | Outgoing Cash Sorting Line
...@@ -6,8 +7,12 @@ Classification Survey | Outgoing Classification Survey Line ...@@ -6,8 +7,12 @@ Classification Survey | Outgoing Classification Survey Line
Container Line | Container Cell Container Line | Container Cell
Incoming Cash Sorting Line | Cash Delivery Cell Incoming Cash Sorting Line | Cash Delivery Cell
Incoming Classification Survey Line | Cash Delivery Cell Incoming Classification Survey Line | Cash Delivery Cell
Monetary Issue Container | Container Line
Monetary Issue | Cash Delivery Line
Monetary Issue | Monetary Issue Container
Monetary Reception Module | Monetary Reception Monetary Reception Module | Monetary Reception
Monetary Reception | Cash Container Monetary Reception | Cash Container
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
Outgoing Cash Sorting Line | Outgoing Cash Sorting Cell Outgoing Cash Sorting Line | Outgoing Cash Sorting Cell
......
Cash Container Cash Container
Cash Container Item
Cash Sorting Cash Sorting
Cash Sorting Module Cash Sorting Module
Classification Survey Classification Survey
...@@ -7,6 +8,9 @@ Container Cell ...@@ -7,6 +8,9 @@ Container Cell
Container Line Container Line
Incoming Cash Sorting Line Incoming Cash Sorting Line
Incoming Classification Survey Line Incoming Classification Survey Line
Monetary Issue
Monetary Issue Container
Monetary Issue Module
Monetary Reception Monetary Reception
Monetary Reception Module Monetary Reception Module
Monetary Survey Monetary Survey
......
...@@ -3,6 +3,8 @@ Container Cell | CashContainer ...@@ -3,6 +3,8 @@ Container Cell | CashContainer
Container Line | CashContainer Container Line | CashContainer
Incoming Cash Sorting Line | CashDeliveryLine Incoming Cash Sorting Line | CashDeliveryLine
Incoming Classification Survey Line | CashDeliveryLine Incoming Classification Survey Line | CashDeliveryLine
Monetary Issue | Amount
Monetary Issue | Price
Monetary Reception | CashContainer Monetary Reception | CashContainer
Monetary Survey | Amount Monetary Survey | Amount
Monetary Survey | Task Monetary Survey | Task
......
...@@ -6,6 +6,8 @@ Container Cell | edit_workflow ...@@ -6,6 +6,8 @@ Container Cell | edit_workflow
Container Cell | packing_list_interaction_workflow Container Cell | packing_list_interaction_workflow
Container Line | edit_workflow Container Line | edit_workflow
Container Line | packing_list_interaction_workflow Container Line | packing_list_interaction_workflow
Monetary Issue | edit_workflow
Monetary Issue | monetary_issue_workflow
Monetary Reception | edit_workflow Monetary Reception | edit_workflow
Monetary Reception | monetary_reception_workflow Monetary Reception | monetary_reception_workflow
Monetary Survey | edit_workflow Monetary Survey | edit_workflow
......
cash_sorting_workflow cash_sorting_workflow
classification_survey_workflow classification_survey_workflow
monetary_issue_workflow
monetary_reception_workflow monetary_reception_workflow
monetary_survey_workflow monetary_survey_workflow
usual_cash_transfer_workflow usual_cash_transfer_workflow
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment