[Erp5-report] r7469 - in /erp5/trunk/bt5/erp5_banking_cash: ActionTemplateItem/portal_types...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed May 24 10:29:15 CEST 2006


Author: aurel
Date: Wed May 24 10:29:11 2006
New Revision: 7469

URL: http://svn.erp5.org?rev=7469&view=rev
Log:
2006-05-23 aurel
* add management of coin for monetary reception and issue

Added:
    erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue/coin_fastinput.xml
    erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Reception/fastinput.xml
    erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_viewCoinFastInputDialog.xml
    erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReception_init.xml
    erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReception_viewLineFastInputDialog.xml
Modified:
    erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Reception%20Module/import.xml
    erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Usual%20Cash%20Transfer/metadata.xml
    erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Reception%20Module.xml
    erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Reception.xml
    erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReceptionModule_importMonetaryReceptionFromCDAction.xml
    erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_issue_workflow/scripts/validateVaultBalance.xml
    erp5/trunk/bt5/erp5_banking_cash/bt/change_log
    erp5/trunk/bt5/erp5_banking_cash/bt/template_action_path_list

Added: erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue/coin_fastinput.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%2520Issue/coin_fastinput.xml?rev=7469&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue/coin_fastinput.xml (added)
+++ erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue/coin_fastinput.xml Wed May 24 10:29:11 2006
@@ -1,0 +1,114 @@
+<?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>coin_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>1.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Coin 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_viewCoinFastInputDialog</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_in.png</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Reception%20Module/import.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%2520Reception%2520Module/import.xml?rev=7469&r1=7468&r2=7469&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Reception%20Module/import.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Reception%20Module/import.xml Wed May 24 10:29:11 2006
@@ -12,6 +12,12 @@
     </pickle>
     <pickle>
       <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
         <item>
             <key> <string>action</string> </key>
             <value>

Added: erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Reception/fastinput.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%2520Reception/fastinput.xml?rev=7469&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Reception/fastinput.xml (added)
+++ erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Reception/fastinput.xml Wed May 24 10:29:11 2006
@@ -1,0 +1,135 @@
+<?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>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAQ=</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>1.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Coin Fast 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}/MonetaryReception_viewLineFastInputDialog</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>python: len(here.objectIds()) == 0</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <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>

Modified: erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Usual%20Cash%20Transfer/metadata.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Usual%2520Cash%2520Transfer/metadata.xml?rev=7469&r1=7468&r2=7469&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Usual%20Cash%20Transfer/metadata.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Usual%20Cash%20Transfer/metadata.xml Wed May 24 10:29:11 2006
@@ -12,12 +12,6 @@
     </pickle>
     <pickle>
       <dictionary>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
         <item>
             <key> <string>action</string> </key>
             <value>

Modified: erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Reception%20Module.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%2520Reception%2520Module.xml?rev=7469&r1=7468&r2=7469&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Reception%20Module.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Reception%20Module.xml Wed May 24 10:29:11 2006
@@ -77,7 +77,7 @@
         </item>
         <item>
             <key> <string>filter_content_types</string> </key>
-            <value> <int>0</int> </value>
+            <value> <int>1</int> </value>
         </item>
         <item>
             <key> <string>group_list</string> </key>

Modified: erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Reception.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%2520Reception.xml?rev=7469&r1=7468&r2=7469&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Reception.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Reception.xml Wed May 24 10:29:11 2006
@@ -98,7 +98,7 @@
         </item>
         <item>
             <key> <string>init_script</string> </key>
-            <value> <string></string> </value>
+            <value> <string>MonetaryReception_init</string> </value>
         </item>
         <item>
             <key> <string>property_sheet_list</string> </key>

Added: erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_viewCoinFastInputDialog.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_viewCoinFastInputDialog.xml?rev=7469&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_viewCoinFastInputDialog.xml (added)
+++ erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_viewCoinFastInputDialog.xml Wed May 24 10:29:11 2006
@@ -1,0 +1,192 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.PythonScripts.PythonScript</string>
+          <string>PythonScript</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>Python_magic</string> </key>
+            <value> <string encoding="base64">bfINCg==</string> </value>
+        </item>
+        <item>
+            <key> <string>Script_magic</string> </key>
+            <value> <int>3</int> </value>
+        </item>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_container</string> </key>
+                                <value> <string>container</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_context</string> </key>
+                                <value> <string>context</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_m_self</string> </key>
+                                <value> <string>script</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_body</string> </key>
+            <value> <string>cash_detail_dict = {\'line_portal_type\'           : \'Monetary Issue Line\'\n
+                    , \'operation_currency\'       : context.Baobab_getPortalReferenceCurrencyID()\n
+                    , \'cash_status_list\'         : [\'new_not_emitted\',]\n
+                    , \'emission_letter_list\'     : [\'not_defined\',]\n
+                    , \'variation_list\'           : context.Baobab_getResourceVintageList(coin=1)\n
+                    , \'currency_cash_portal_type\': [\'Coin\',]\n
+                    , \'read_only\'                : False\n
+                    , \'column_base_category\'     : \'variation\'\n
+                    }\n
+\n
+return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
+                                                          , cash_detail_dict = cash_detail_dict\n
+                                                          , destination = context.getObject().absolute_url()\n
+                                                          )\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>_code</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_dav_writelocks</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_filepath</string> </key>
+            <value> <string>Script (Python):/baobab/portal_skins/erp5_banking_cash/MonetaryIssue_viewCoinFastInputDialog</string> </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_params</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>errors</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_code</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>co_argcount</string> </key>
+                        <value> <int>0</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>co_varnames</string> </key>
+                        <value>
+                          <tuple>
+                            <string>_getattr_</string>
+                            <string>context</string>
+                            <string>False</string>
+                            <string>cash_detail_dict</string>
+                            <string>None</string>
+                          </tuple>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_defaults</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>MonetaryIssue_viewCoinFastInputDialog</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Persistence</string>
+          <string>PersistentMapping</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_container</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReceptionModule_importMonetaryReceptionFromCDAction.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReceptionModule_importMonetaryReceptionFromCDAction.xml?rev=7469&r1=7468&r2=7469&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReceptionModule_importMonetaryReceptionFromCDAction.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReceptionModule_importMonetaryReceptionFromCDAction.xml Wed May 24 10:29:11 2006
@@ -101,11 +101,11 @@
   # Head creation\n
   movement_head = context.newContent( portal_type       = \'Monetary Reception\'\n
                                     , reindex_object    = 1\n
-                                    , reference         = CD_head_dict[\'reference\']\n
-                                    , resource         = CD_head_dict[\'currency\']\n
+#                                    , reference         = CD_head_dict[\'reference\']\n
+#                                    , resource         = CD_head_dict[\'currency\'] # done by init script\n
                                     , start_date        = CD_head_dict[\'start_date\']\n
-                                    , emission_letter   = CD_head_dict[\'emission_letter\']\n
-                                    , cash_status       = CD_head_dict[\'cash_status\']\n
+#                                    , emission_letter   = CD_head_dict[\'emission_letter\']\n
+#                                    , cash_status       = CD_head_dict[\'cash_status\']\n
 #                                    , destination       = CD_head_dict[\'destination\']\n
                                     )\n
   # Container Creation\n

Added: erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReception_init.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReception_init.xml?rev=7469&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReception_init.xml (added)
+++ erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReception_init.xml Wed May 24 10:29:11 2006
@@ -1,0 +1,145 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.PythonScripts.PythonScript</string>
+          <string>PythonScript</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>Python_magic</string> </key>
+            <value> <string encoding="base64">bfINCg==</string> </value>
+        </item>
+        <item>
+            <key> <string>Script_magic</string> </key>
+            <value> <int>3</int> </value>
+        </item>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_container</string> </key>
+                                <value> <string>container</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_context</string> </key>
+                                <value> <string>context</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_m_self</string> </key>
+                                <value> <string>script</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_body</string> </key>
+            <value> <string>currency = context.Baobab_getPortalReferenceCurrencyID()\n
+currency_object = context.restrictedTraverse(\'currency_module/%s\' %(currency,))\n
+context.setResourceValue(currency_object)\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>_code</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_filepath</string> </key>
+            <value> <string>Script (Python):/baobab/portal_skins/erp5_banking_cash/MonetaryReception_init</string> </value>
+        </item>
+        <item>
+            <key> <string>_params</string> </key>
+            <value> <string>*args, **kwd</string> </value>
+        </item>
+        <item>
+            <key> <string>errors</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_code</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>co_argcount</string> </key>
+                        <value> <int>0</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>co_varnames</string> </key>
+                        <value>
+                          <tuple>
+                            <string>args</string>
+                            <string>kwd</string>
+                            <string>_getattr_</string>
+                            <string>context</string>
+                            <string>currency</string>
+                            <string>currency_object</string>
+                          </tuple>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_defaults</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>MonetaryReception_init</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReception_viewLineFastInputDialog.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReception_viewLineFastInputDialog.xml?rev=7469&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReception_viewLineFastInputDialog.xml (added)
+++ erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryReception_viewLineFastInputDialog.xml Wed May 24 10:29:11 2006
@@ -1,0 +1,192 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.PythonScripts.PythonScript</string>
+          <string>PythonScript</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>Python_magic</string> </key>
+            <value> <string encoding="base64">bfINCg==</string> </value>
+        </item>
+        <item>
+            <key> <string>Script_magic</string> </key>
+            <value> <int>3</int> </value>
+        </item>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_container</string> </key>
+                                <value> <string>container</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_context</string> </key>
+                                <value> <string>context</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_m_self</string> </key>
+                                <value> <string>script</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_body</string> </key>
+            <value> <string>cash_detail_dict = {\'line_portal_type\'           : \'Cash Delivery Line\'\n
+                    , \'operation_currency\'       : context.Baobab_getPortalReferenceCurrencyID()\n
+                    , \'cash_status_list\'         : [\'new_not_emitted\',]\n
+                    , \'emission_letter_list\'     : [\'not_defined\',]\n
+                    , \'variation_list\'           : context.Baobab_getResourceVintageList(coin=1)\n
+                    , \'currency_cash_portal_type\': [\'Coin\',]\n
+                    , \'read_only\'                : False\n
+                    , \'column_base_category\'     : \'variation\'\n
+                    }\n
+\n
+return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
+                                                          , cash_detail_dict = cash_detail_dict\n
+                                                          , destination = context.getObject().absolute_url()\n
+                                                          )\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>_code</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_dav_writelocks</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_filepath</string> </key>
+            <value> <string>Script (Python):/baobab/portal_skins/erp5_banking_cash/MonetaryReception_viewLineFastInputDialog</string> </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_params</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>errors</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_code</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>co_argcount</string> </key>
+                        <value> <int>0</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>co_varnames</string> </key>
+                        <value>
+                          <tuple>
+                            <string>_getattr_</string>
+                            <string>context</string>
+                            <string>False</string>
+                            <string>cash_detail_dict</string>
+                            <string>None</string>
+                          </tuple>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_defaults</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>MonetaryReception_viewLineFastInputDialog</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Persistence</string>
+          <string>PersistentMapping</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_container</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_issue_workflow/scripts/validateVaultBalance.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_issue_workflow/scripts/validateVaultBalance.xml?rev=7469&r1=7468&r2=7469&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_issue_workflow/scripts/validateVaultBalance.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_issue_workflow/scripts/validateVaultBalance.xml Wed May 24 10:29:11 2006
@@ -74,7 +74,7 @@
 transaction = state_change.object\n
 \n
 vault = transaction.getSource()\n
-resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Cash Delivery Line\')\n
+resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Monetary Issue Line\')\n
 \n
 # Get price and total_price.\n
 amount = transaction.getSourceTotalAssetPrice()\n

Modified: erp5/trunk/bt5/erp5_banking_cash/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/bt/change_log?rev=7469&r1=7468&r2=7469&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_banking_cash/bt/change_log Wed May 24 10:29:11 2006
@@ -1,3 +1,6 @@
+2006-05-23 aurel
+* add management of coin for monetary reception and issue
+
 2006-05-23 aurel
 * add module for monetary issue
 

Modified: erp5/trunk/bt5/erp5_banking_cash/bt/template_action_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/bt/template_action_path_list?rev=7469&r1=7468&r2=7469&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/bt/template_action_path_list (original)
+++ erp5/trunk/bt5/erp5_banking_cash/bt/template_action_path_list Wed May 24 10:29:11 2006
@@ -41,6 +41,7 @@
 Monetary Issue Module | list_ui
 Monetary Issue Module | sort_on
 Monetary Issue Module | view
+Monetary Issue | coin_fastinput
 Monetary Issue | container
 Monetary Issue | fastInput
 Monetary Issue | history
@@ -52,6 +53,7 @@
 Monetary Reception Module | sort_on
 Monetary Reception Module | view
 Monetary Reception | cahs_container
+Monetary Reception | fastinput
 Monetary Reception | history
 Monetary Reception | metadata
 Monetary Reception | print_pdf




More information about the Erp5-report mailing list