[Erp5-report] r23517 - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_skins/er...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Sep 9 15:21:55 CEST 2008


Author: mame
Date: Tue Sep  9 15:21:51 2008
New Revision: 23517

URL: http://svn.erp5.org?rev=23517&view=rev
Log:
2008-09-09 mame
* add form_id as a parameter in the script so that dialog always returns to the previous page

Modified:
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertDestinationPrice.xml
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml
    erp5/trunk/bt5/erp5_accounting/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertDestinationPrice.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertDestinationPrice.xml?rev=23517&r1=23516&r2=23517&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertDestinationPrice.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertDestinationPrice.xml Tue Sep  9 15:21:51 2008
@@ -100,7 +100,7 @@
    line.setDestinationTotalAssetPrice(\n
        round(exchange_ratio*(line.getQuantity())),precision)\n
 \n
-form_id=\'PurchaseInvoiceTransaction_viewAccounting\'\n
+\n
 msg = context.Base_translateString(\'Amount converted.\')\n
 \n
 # return to the feature module\n
@@ -122,7 +122,7 @@
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string></string> </value>
+            <value> <string>form_id=\'view\'</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -142,12 +142,13 @@
                   <dictionary>
                     <item>
                         <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
+                        <value> <int>1</int> </value>
                     </item>
                     <item>
                         <key> <string>co_varnames</string> </key>
                         <value>
                           <tuple>
+                            <string>form_id</string>
                             <string>Products.ERP5.Document.Document</string>
                             <string>ConversionError</string>
                             <string>_getattr_</string>
@@ -162,7 +163,6 @@
                             <string>currency</string>
                             <string>exchange_ratio</string>
                             <string>round</string>
-                            <string>form_id</string>
                             <string>msg</string>
                             <string>dict</string>
                           </tuple>
@@ -176,7 +176,9 @@
         <item>
             <key> <string>func_defaults</string> </key>
             <value>
-              <none/>
+              <tuple>
+                <string>view</string>
+              </tuple>
             </value>
         </item>
         <item>

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml?rev=23517&r1=23516&r2=23517&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml Tue Sep  9 15:21:51 2008
@@ -100,7 +100,7 @@
    line.setSourceTotalAssetPrice(\n
        round(exchange_ratio*(line.getQuantity())),precision)\n
 \n
-form_id=\'PurchaseInvoiceTransaction_viewAccounting\'\n
+\n
 msg = context.Base_translateString(\'Amount converted.\')\n
 \n
 # return to the feature module\n
@@ -122,7 +122,7 @@
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string></string> </value>
+            <value> <string>form_id=\'view\'</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -142,12 +142,13 @@
                   <dictionary>
                     <item>
                         <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
+                        <value> <int>1</int> </value>
                     </item>
                     <item>
                         <key> <string>co_varnames</string> </key>
                         <value>
                           <tuple>
+                            <string>form_id</string>
                             <string>Products.ERP5.Document.Document</string>
                             <string>ConversionError</string>
                             <string>_getattr_</string>
@@ -162,7 +163,6 @@
                             <string>currency</string>
                             <string>exchange_ratio</string>
                             <string>round</string>
-                            <string>form_id</string>
                             <string>msg</string>
                             <string>dict</string>
                           </tuple>
@@ -176,7 +176,9 @@
         <item>
             <key> <string>func_defaults</string> </key>
             <value>
-              <none/>
+              <tuple>
+                <string>view</string>
+              </tuple>
             </value>
         </item>
         <item>

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=23517&r1=23516&r2=23517&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Tue Sep  9 15:21:51 2008
@@ -1,1 +1,1 @@
-765
+766




More information about the Erp5-report mailing list