[Erp5-report] r9693 - in /erp5/trunk/bt5/erp5_banking_core: PortalTypeAllowedContentTypeTem...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Sep 6 14:07:32 CEST 2006


Author: aurel
Date: Wed Sep  6 14:07:23 2006
New Revision: 9693

URL: http://svn.erp5.org?rev=9693&view=rev
Log:
2006-09-06 aurel
* reference currency id is now defined as a property and remove all stufff related to Foreign Check

Modified:
    erp5/trunk/bt5/erp5_banking_core/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
    erp5/trunk/bt5/erp5_banking_core/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
    erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getPortalReferenceCurrencyID.xml
    erp5/trunk/bt5/erp5_banking_core/bt/change_log
    erp5/trunk/bt5/erp5_banking_core/bt/template_action_path_list
    erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_allowed_content_type_list
    erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_id_list
    erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_property_sheet_list

Modified: erp5/trunk/bt5/erp5_banking_core/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml?rev=9693&r1=9692&r2=9693&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml (original)
+++ erp5/trunk/bt5/erp5_banking_core/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml Wed Sep  6 14:07:23 2006
@@ -28,7 +28,4 @@
   <item>Banknote</item>
   <item>Coin</item>
  </portal_type>
- <portal_type id="Foreign Check Module">
-  <item>Foreign Check</item>
- </portal_type>
 </allowed_content_type_list>

Modified: erp5/trunk/bt5/erp5_banking_core/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/PortalTypePropertySheetTemplateItem/property_sheet_list.xml?rev=9693&r1=9692&r2=9693&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/PortalTypePropertySheetTemplateItem/property_sheet_list.xml (original)
+++ erp5/trunk/bt5/erp5_banking_core/PortalTypePropertySheetTemplateItem/property_sheet_list.xml Wed Sep  6 14:07:23 2006
@@ -36,8 +36,4 @@
  <portal_type id="Counter Date">
   <item>Task</item>
  </portal_type>
- <portal_type id="Foreign Check">
-  <item>Arrow</item>
-  <item>Task</item>
- </portal_type>
 </property_sheet_list>

Modified: erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getPortalReferenceCurrencyID.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getPortalReferenceCurrencyID.xml?rev=9693&r1=9692&r2=9693&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getPortalReferenceCurrencyID.xml (original)
+++ erp5/trunk/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getPortalReferenceCurrencyID.xml Wed Sep  6 14:07:23 2006
@@ -70,7 +70,7 @@
             <key> <string>_body</string> </key>
             <value> <string># in this script you must return the default value of the currency for the site\n
 # this must correspond to the id of the currency in the currency_module\n
-return \'EUR\'\n
+return context.getPortalObject().getProperty(\'reference_currency_id\')\n
 </string> </value>
         </item>
         <item>
@@ -116,7 +116,10 @@
                     <item>
                         <key> <string>co_varnames</string> </key>
                         <value>
-                          <tuple/>
+                          <tuple>
+                            <string>_getattr_</string>
+                            <string>context</string>
+                          </tuple>
                         </value>
                     </item>
                   </dictionary>

Modified: erp5/trunk/bt5/erp5_banking_core/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/bt/change_log?rev=9693&r1=9692&r2=9693&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_banking_core/bt/change_log Wed Sep  6 14:07:23 2006
@@ -1,3 +1,6 @@
+2006-09-06 aurel
+* reference currency id is now defined as a property
+
 2006-08-11 aurel
 * improve view for counter module inventory report
 

Modified: erp5/trunk/bt5/erp5_banking_core/bt/template_action_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/bt/template_action_path_list?rev=9693&r1=9692&r2=9693&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/bt/template_action_path_list (original)
+++ erp5/trunk/bt5/erp5_banking_core/bt/template_action_path_list Wed Sep  6 14:07:23 2006
@@ -62,13 +62,4 @@
 Currency Cash Module | list
 Currency Cash Module | list_sort_on
 Currency Cash Module | list_ui
-Currency Cash Module | view
-Foreign Check Module | list
-Foreign Check Module | localroles
-Foreign Check Module | metadata
-Foreign Check Module | syndication
-Foreign Check Module | view
-Foreign Check | metadata
-Foreign Check | print
-Foreign Check | translate
-Foreign Check | view
+Currency Cash Module | view

Modified: erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_allowed_content_type_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_allowed_content_type_list?rev=9693&r1=9692&r2=9693&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_allowed_content_type_list (original)
+++ erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_allowed_content_type_list Wed Sep  6 14:07:23 2006
@@ -8,5 +8,4 @@
 Counter Module | Counter
 Counter | Telephone
 Currency Cash Module | Banknote
-Currency Cash Module | Coin
-Foreign Check Module | Foreign Check
+Currency Cash Module | Coin

Modified: erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_id_list?rev=9693&r1=9692&r2=9693&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_id_list (original)
+++ erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_id_list Wed Sep  6 14:07:23 2006
@@ -16,6 +16,4 @@
 Counter Date
 Counter Date Module
 Counter Module
-Currency Cash Module
-Foreign Check
-Foreign Check Module
+Currency Cash Module

Modified: erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_property_sheet_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_property_sheet_list?rev=9693&r1=9692&r2=9693&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_property_sheet_list (original)
+++ erp5/trunk/bt5/erp5_banking_core/bt/template_portal_type_property_sheet_list Wed Sep  6 14:07:23 2006
@@ -14,6 +14,4 @@
 Checkbook | Checkbook
 Checkbook | Task
 Checkbook | VariationRange
-Counter Date | Task
-Foreign Check | Arrow
-Foreign Check | Task
+Counter Date | Task




More information about the Erp5-report mailing list