[Erp5-report] r22623 - in /erp5/trunk/bt5/erp5_banking_check: SkinTemplateItem/portal_skins...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jul 23 12:15:28 CEST 2008


Author: vincent
Date: Wed Jul 23 12:15:27 2008
New Revision: 22623

URL: http://svn.erp5.org?rev=22623&view=rev
Log:
If there is no destination bank account (can happen if an accounting account is selected instead) use site default currency.

Modified:
    erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDepositModule_viewCheckDepositList/listbox_source_total_asset_price.xml
    erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_view/my_total_price.xml
    erp5/trunk/bt5/erp5_banking_check/bt/revision

Modified: erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDepositModule_viewCheckDepositList/listbox_source_total_asset_price.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDepositModule_viewCheckDepositList/listbox_source_total_asset_price.xml?rev=22623&r1=22622&r2=22623&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDepositModule_viewCheckDepositList/listbox_source_total_asset_price.xml (original)
+++ erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDepositModule_viewCheckDepositList/listbox_source_total_asset_price.xml Wed Jul 23 12:15:27 2008
@@ -165,7 +165,9 @@
                 </item>
                 <item>
                     <key> <string>precision</string> </key>
-                    <value> <string></string> </value>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                    </value>
                 </item>
                 <item>
                     <key> <string>required</string> </key>
@@ -259,11 +261,8 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.Formulator.TALESField</string>
-          <string>TALESMethod</string>
-        </tuple>
-        <none/>
+        <global name="TALESMethod" module="Products.Formulator.TALESField"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -275,4 +274,20 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="TALESMethod" module="Products.Formulator.TALESField"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string>python: int(((here.getBaobabDestinationPaymentValue() is None) and (here.Baobab_getPortalReferenceCurrencyValue().getQuantityPrecision(), ) or (here.getBaobabDestinationPaymentValue().getPriceCurrencyValue().getQuantityPrecision(), ))[0])</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_view/my_total_price.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_view/my_total_price.xml?rev=22623&r1=22622&r2=22623&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_view/my_total_price.xml (original)
+++ erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckDeposit_view/my_total_price.xml Wed Jul 23 12:15:27 2008
@@ -303,7 +303,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python: int(here.getBaobabDestinationPaymentValue().getPriceCurrencyValue().getQuantityPrecision())</string> </value>
+            <value> <string>python: int(((here.getBaobabDestinationPaymentValue() is None) and (here.Baobab_getPortalReferenceCurrencyValue().getQuantityPrecision(), ) or (here.getBaobabDestinationPaymentValue().getPriceCurrencyValue().getQuantityPrecision(), ))[0])</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_banking_check/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/bt/revision?rev=22623&r1=22622&r2=22623&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/bt/revision (original)
+++ erp5/trunk/bt5/erp5_banking_check/bt/revision Wed Jul 23 12:15:27 2008
@@ -1,1 +1,1 @@
-403
+404




More information about the Erp5-report mailing list