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

nobody at svn.erp5.org nobody at svn.erp5.org
Tue May 23 16:37:11 CEST 2006


Author: aurel
Date: Tue May 23 16:37:09 2006
New Revision: 7457

URL: http://svn.erp5.org?rev=7457&view=rev
Log:
use a specific portal type for cash delivery line in monetary issue in order to redefine the variation text on the destination

Added:
    erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue%20Line/
    erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue%20Line/metadata.xml
    erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue%20Line/print.xml
    erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue%20Line/view.xml
    erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Issue%20Line.xml
    erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssueLine_getBaobabDestinationVariationText.xml
Modified:
    erp5/trunk/bt5/erp5_banking_cash/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
    erp5/trunk/bt5/erp5_banking_cash/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
    erp5/trunk/bt5/erp5_banking_cash/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
    erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_saveFastInputLine.xml
    erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_view/listbox.xml
    erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_view/my_total_price.xml
    erp5/trunk/bt5/erp5_banking_cash/bt/template_action_path_list
    erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_allowed_content_type_list
    erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_hidden_content_type_list
    erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_id_list
    erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_property_sheet_list

Added: erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue%20Line/metadata.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%2520Issue%2520Line/metadata.xml?rev=7457&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue%20Line/metadata.xml (added)
+++ erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue%20Line/metadata.xml Tue May 23 16:37:09 2006
@@ -1,0 +1,93 @@
+<?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>

Added: erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue%20Line/print.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%2520Issue%2520Line/print.xml?rev=7457&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue%20Line/print.xml (added)
+++ erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue%20Line/print.xml Tue May 23 16:37:09 2006
@@ -1,0 +1,93 @@
+<?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_print</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>print</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>2.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Print</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_printPdf</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue%20Line/view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%2520Issue%2520Line/view.xml?rev=7457&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue%20Line/view.xml (added)
+++ erp5/trunk/bt5/erp5_banking_cash/ActionTemplateItem/portal_types/Monetary%20Issue%20Line/view.xml Tue May 23 16:37:09 2006
@@ -1,0 +1,93 @@
+<?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}/CashDeliveryLine_view</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_banking_cash/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml?rev=7457&r1=7456&r2=7457&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml Tue May 23 16:37:09 2006
@@ -29,11 +29,14 @@
   <item>Cash Delivery Cell</item>
  </portal_type>
  <portal_type id="Monetary Issue">
-  <item>Cash Delivery Line</item>
   <item>Monetary Issue Container</item>
+  <item>Monetary Issue Line</item>
  </portal_type>
  <portal_type id="Monetary Issue Container">
   <item>Container Line</item>
+ </portal_type>
+ <portal_type id="Monetary Issue Line">
+  <item>Cash Delivery Cell</item>
  </portal_type>
  <portal_type id="Monetary Issue Module">
   <item>Monetary Issue</item>

Modified: erp5/trunk/bt5/erp5_banking_cash/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml?rev=7457&r1=7456&r2=7457&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml Tue May 23 16:37:09 2006
@@ -23,8 +23,8 @@
   <item>Cash Delivery Cell</item>
  </portal_type>
  <portal_type id="Monetary Issue">
-  <item>Cash Delivery Line</item>
   <item>Monetary Issue Container</item>
+  <item>Monetary Issue Line</item>
  </portal_type>
  <portal_type id="Monetary Issue Container">
   <item>Container Line</item>

Modified: erp5/trunk/bt5/erp5_banking_cash/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/PortalTypePropertySheetTemplateItem/property_sheet_list.xml?rev=7457&r1=7456&r2=7457&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/PortalTypePropertySheetTemplateItem/property_sheet_list.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/PortalTypePropertySheetTemplateItem/property_sheet_list.xml Tue May 23 16:37:09 2006
@@ -17,6 +17,9 @@
  <portal_type id="Monetary Issue">
   <item>Amount</item>
   <item>Price</item>
+ </portal_type>
+ <portal_type id="Monetary Issue Line">
+  <item>CashDeliveryLine</item>
  </portal_type>
  <portal_type id="Monetary Reception">
   <item>CashContainer</item>

Added: erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Issue%20Line.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%2520Issue%2520Line.xml?rev=7457&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Issue%20Line.xml (added)
+++ erp5/trunk/bt5/erp5_banking_cash/PortalTypeTemplateItem/portal_types/Monetary%20Issue%20Line.xml Tue May 23 16:37:09 2006
@@ -1,0 +1,121 @@
+<?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>ERP5Banking Cash Delivery Line</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>      A DeliveryLine object allows to implement lines in\n
+      Deliveries (packing list, order, invoice, etc.)\n
+\n
+      It may include a price (for insurance, for customs, for invoices,\n
+      for orders)\n
+    </string> </value>
+        </item>
+        <item>
+            <key> <string>factory</string> </key>
+            <value> <string>addCashDeliveryLine</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>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>Monetary Issue Line</string> </value>
+        </item>
+        <item>
+            <key> <string>init_script</string> </key>
+            <value> <string></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>

Added: erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssueLine_getBaobabDestinationVariationText.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssueLine_getBaobabDestinationVariationText.xml?rev=7457&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssueLine_getBaobabDestinationVariationText.xml (added)
+++ erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssueLine_getBaobabDestinationVariationText.xml Tue May 23 16:37:09 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>variation = context.getVariationText()\n
+result = variation.replace(\'new_not_emitted\', \'new_emitted\')\n
+return result\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/MonetaryIssueLine_getBaobabDestinationVariationText</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>variation</string>
+                            <string>result</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>MonetaryIssueLine_getBaobabDestinationVariationText</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_saveFastInputLine.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_saveFastInputLine.xml?rev=7457&r1=7456&r2=7457&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_saveFastInputLine.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_saveFastInputLine.xml Tue May 23 16:37:09 2006
@@ -82,7 +82,7 @@
   return 1\n
 \n
 # remove existing lines\n
-old_line = [x.getObject() for x in context.searchFolder(portal_type=[\'Monetary Issue Container\', \'Cash Delivery Line\'])]\n
+old_line = [x.getObject() for x in context.searchFolder(portal_type=[\'Monetary Issue Container\', \'Monetary Issue Line\'])]\n
 if len(old_line)>0:\n
   for object_list in old_line:\n
     context.deleteContent(object_list.getId())\n
@@ -146,7 +146,7 @@
     resource_total_quantity += container_dict[\'quantity\']\n
 \n
 movement_line = context.newContent(id               = "movement"\n
-                                         , portal_type    = \'Cash Delivery Line\'\n
+                                         , portal_type    = \'Monetary Issue Line\'\n
                                          , resource_value = container_dict[\'resource\']\n
                                          , quantity_unit_value = context.portal_categories.quantity_unit.unit\n
                                          )\n

Modified: erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_view/listbox.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_view/listbox.xml?rev=7457&r1=7456&r2=7457&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_view/listbox.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_view/listbox.xml Tue May 23 16:37:09 2006
@@ -450,8 +450,8 @@
                     <value>
                       <list>
                         <tuple>
-                          <string>Cash Delivery Line</string>
-                          <string>Cash Delivery Line</string>
+                          <string>Monetary Issue Line</string>
+                          <string>Monetary Issue Line</string>
                         </tuple>
                         <tuple>
                           <string>Cash Delivery Cell</string>

Modified: erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_view/my_total_price.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_view/my_total_price.xml?rev=7457&r1=7456&r2=7457&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_view/my_total_price.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/MonetaryIssue_view/my_total_price.xml Tue May 23 16:37:09 2006
@@ -269,7 +269,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python: here.getTotalPrice(deliveryLineType=\'Cash Delivery Line\')</string> </value>
+            <value> <string>python: here.getTotalPrice(deliveryLineType=\'Monetary Issue Line\')</string> </value>
         </item>
       </dictionary>
     </pickle>

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=7457&r1=7456&r2=7457&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 Tue May 23 16:37:09 2006
@@ -35,6 +35,9 @@
 Incoming Classification Survey Line | view
 Monetary Issue Container | metadata
 Monetary Issue Container | view
+Monetary Issue Line | metadata
+Monetary Issue Line | print
+Monetary Issue Line | view
 Monetary Issue Module | list_ui
 Monetary Issue Module | sort_on
 Monetary Issue Module | view

Modified: erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_allowed_content_type_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_allowed_content_type_list?rev=7457&r1=7456&r2=7457&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_allowed_content_type_list (original)
+++ erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_allowed_content_type_list Tue May 23 16:37:09 2006
@@ -10,9 +10,10 @@
 Incoming Cash Sorting Line | Cash Delivery Cell
 Incoming Classification Survey Line | Cash Delivery Cell
 Monetary Issue Container | Container Line
+Monetary Issue Line | Cash Delivery Cell
 Monetary Issue Module | Monetary Issue
-Monetary Issue | Cash Delivery Line
 Monetary Issue | Monetary Issue Container
+Monetary Issue | Monetary Issue Line
 Monetary Reception Module | Monetary Reception
 Monetary Reception | Cash Container Item
 Monetary Reception | Cash Delivery Line

Modified: erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_hidden_content_type_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_hidden_content_type_list?rev=7457&r1=7456&r2=7457&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_hidden_content_type_list (original)
+++ erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_hidden_content_type_list Tue May 23 16:37:09 2006
@@ -8,8 +8,8 @@
 Incoming Cash Sorting 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 Issue | Monetary Issue Line
 Monetary Reception Module | Monetary Reception
 Monetary Reception | Cash Container
 Monetary Reception | Cash Container Item

Modified: erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_id_list?rev=7457&r1=7456&r2=7457&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_id_list (original)
+++ erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_id_list Tue May 23 16:37:09 2006
@@ -10,6 +10,7 @@
 Incoming Classification Survey Line
 Monetary Issue
 Monetary Issue Container
+Monetary Issue Line
 Monetary Issue Module
 Monetary Reception
 Monetary Reception Module

Modified: erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_property_sheet_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_property_sheet_list?rev=7457&r1=7456&r2=7457&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_property_sheet_list (original)
+++ erp5/trunk/bt5/erp5_banking_cash/bt/template_portal_type_property_sheet_list Tue May 23 16:37:09 2006
@@ -3,6 +3,7 @@
 Container Line | CashContainer
 Incoming Cash Sorting Line | CashDeliveryLine
 Incoming Classification Survey Line | CashDeliveryLine
+Monetary Issue Line | CashDeliveryLine
 Monetary Issue | Amount
 Monetary Issue | Price
 Monetary Reception | CashContainer




More information about the Erp5-report mailing list