[Erp5-report] r13747 - in /erp5/trunk/bt5/erp5_accounting_l10n_fr_m9: SkinTemplateItem/port...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 28 12:31:30 CEST 2007


Author: kazuhiko
Date: Wed Mar 28 12:31:19 2007
New Revision: 13747

URL: http://svn.erp5.org?rev=13747&view=rev
Log:
use selection_name instead of selection.

Modified:
    erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/AccountingTransactionModule_getTransactionLineListForGroupingReference.xml
    erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/InvoiceTransmissionSheet_addInvoice.xml
    erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/InvoiceTransmissionSheet_removeInvoice.xml
    erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/AccountingTransactionModule_getTransactionLineListForGroupingReference.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/AccountingTransactionModule_getTransactionLineListForGroupingReference.xml?rev=13747&r1=13746&r2=13747&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/AccountingTransactionModule_getTransactionLineListForGroupingReference.xml (original)
+++ erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/AccountingTransactionModule_getTransactionLineListForGroupingReference.xml Wed Mar 28 12:31:19 2007
@@ -75,11 +75,8 @@
 \n
 # we use a different selection for dialog params, because we never want this\n
 # selection to be reseteted\n
-dialog_params_selection = portal.portal_selections.getSelectionFor(\n
-                               \'grouping_reference_fast_input_selection\')\n
-selection_params = {}\n
-if dialog_params_selection is not None:\n
-  selection_params = dialog_params_selection.getParams()\n
+selection_params = portal.portal_selections.getSelectionParamsFor(\n
+                        \'grouping_reference_fast_input_selection\')\n
 \n
 # support pseudo sorting; sorting is done by uid.\n
 orig_sort_on = portal.portal_selections.getSelectionSortOrder(\n
@@ -199,7 +196,6 @@
                             <string>portal</string>
                             <string>ctool</string>
                             <string>stool</string>
-                            <string>dialog_params_selection</string>
                             <string>selection_params</string>
                             <string>None</string>
                             <string>orig_sort_on</string>

Modified: erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/InvoiceTransmissionSheet_addInvoice.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/InvoiceTransmissionSheet_addInvoice.xml?rev=13747&r1=13746&r2=13747&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/InvoiceTransmissionSheet_addInvoice.xml (original)
+++ erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/InvoiceTransmissionSheet_addInvoice.xml Wed Mar 28 12:31:19 2007
@@ -68,10 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>selection = context.portal_selections.getSelectionFor(\n
-                            "transmission_sheet_add_invoice_selection")\n
-\n
-for uid in uids:\n
+            <value> <string>for uid in uids:\n
   invoice = context.portal_catalog.getObject(uid)\n
   aggregate_list = invoice.getAggregateValueList()\n
   invoice.setAggregateValueList(aggregate_list + [context])\n
@@ -124,7 +121,6 @@
                             <string>kw</string>
                             <string>_getattr_</string>
                             <string>context</string>
-                            <string>selection</string>
                             <string>_getiter_</string>
                             <string>uid</string>
                             <string>invoice</string>

Modified: erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/InvoiceTransmissionSheet_removeInvoice.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/InvoiceTransmissionSheet_removeInvoice.xml?rev=13747&r1=13746&r2=13747&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/InvoiceTransmissionSheet_removeInvoice.xml (original)
+++ erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/InvoiceTransmissionSheet_removeInvoice.xml Wed Mar 28 12:31:19 2007
@@ -68,10 +68,7 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>selection = context.portal_selections.getSelectionFor(\n
-                \'purchase_invoice_transmission_sheet_list_selection\')\n
-\n
-for uid in selection.getCheckedUids():\n
+            <value> <string>for uid in context.portal_selections.getSelectionChekedUidsFor(\'purchase_invoice_transmission_sheet_list_selection\'):\n
   invoice = context.portal_catalog.getObject(uid)\n
   aggregate_list = invoice.getAggregateValueList()\n
   if context in aggregate_list :\n
@@ -129,7 +126,6 @@
                             <string>kw</string>
                             <string>_getattr_</string>
                             <string>context</string>
-                            <string>selection</string>
                             <string>_getiter_</string>
                             <string>uid</string>
                             <string>invoice</string>

Modified: erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/bt/revision?rev=13747&r1=13746&r2=13747&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting_l10n_fr_m9/bt/revision Wed Mar 28 12:31:19 2007
@@ -1,1 +1,1 @@
-89
+90




More information about the Erp5-report mailing list