diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerSummary.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerSummarySectionList.xml similarity index 99% rename from bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerSummary.xml rename to bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerSummarySectionList.xml index 5ced1704000d4d22416939af6525282e52686257..5af5d0bde38415babbfd28f2275e713ac13c3412 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerSummary.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerSummarySectionList.xml @@ -122,7 +122,7 @@ return [Object(debit_price=debit, credit_price=credit)]\n </item> <item> <key> <string>id</string> </key> - <value> <string>AccountModule_getGeneralLedgerSummary</string> </value> + <value> <string>AccountModule_getGeneralLedgerSummarySectionList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountListForTrialBalance.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceAccountList.xml similarity index 99% rename from bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountListForTrialBalance.xml rename to bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceAccountList.xml index 09f23c720a67b795763fb4a3edd88e0c34b076ef..e8daeae77372c5470f50aee594c991fc726cf1c4 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountListForTrialBalance.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getTrialBalanceAccountList.xml @@ -783,7 +783,7 @@ return new_line_list\n </item> <item> <key> <string>id</string> </key> - <value> <string>AccountModule_getAccountListForTrialBalance</string> </value> + <value> <string>AccountModule_getTrialBalanceAccountList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountListForTrialBalance/listbox.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountListForTrialBalance/listbox.xml index aea22613559c3fe3266467a1021f8bad1de65edb..c20fa2d2ddf3c6f5fd861d32b1b152b497cf233c 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountListForTrialBalance/listbox.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountListForTrialBalance/listbox.xml @@ -323,6 +323,10 @@ <key> <string>alternate_name</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>anchor</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>columns</string> </key> <value> @@ -459,10 +463,18 @@ <list/> </value> </item> + <item> + <key> <string>global_search_column</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>hidden</string> </key> <value> <int>0</int> </value> </item> + <item> + <key> <string>hide_rows_on_no_search_criterion</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>lines</string> </key> <value> <int>25</int> </value> @@ -483,6 +495,10 @@ <list/> </value> </item> + <item> + <key> <string>page_navigation_template</string> </key> + <value> <string>ListBox_viewSliderPageNavigationRenderer</string> </value> + </item> <item> <key> <string>page_template</string> </key> <value> <string></string> </value> @@ -503,6 +519,10 @@ <key> <string>report_tree</string> </key> <value> <int>0</int> </value> </item> + <item> + <key> <string>row_css_method</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>search</string> </key> <value> <int>0</int> </value> @@ -545,10 +565,22 @@ <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> + <item> + <key> <string>style_columns</string> </key> + <value> + <list/> + </value> + </item> <item> <key> <string>title</string> </key> <value> <string>Accounts</string> </value> </item> + <item> + <key> <string>untranslatable_columns</string> </key> + <value> + <list/> + </value> + </item> <item> <key> <string>url_columns</string> </key> <value> @@ -569,7 +601,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>AccountModule_getAccountListForTrialBalance</string> </value> + <value> <string>AccountModule_getTrialBalanceAccountList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewGeneralLedgerSummary/listbox.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewGeneralLedgerSummary/listbox.xml index 63abba42b3f850d2c6315a1af209cf6fb9b6002a..062856424ca302ddb7b0430311b6008d9786dc9b 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewGeneralLedgerSummary/listbox.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewGeneralLedgerSummary/listbox.xml @@ -417,6 +417,10 @@ <list/> </value> </item> + <item> + <key> <string>global_search_column</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>hidden</string> </key> <value> <int>0</int> </value> @@ -445,6 +449,10 @@ <list/> </value> </item> + <item> + <key> <string>page_navigation_template</string> </key> + <value> <string>ListBox_viewSliderPageNavigationRenderer</string> </value> + </item> <item> <key> <string>page_template</string> </key> <value> <string></string> </value> @@ -509,6 +517,12 @@ <key> <string>stat_method</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>style_columns</string> </key> + <value> + <list/> + </value> + </item> <item> <key> <string>title</string> </key> <value> <string>General Ledger Summary</string> </value> @@ -539,7 +553,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>AccountModule_getGeneralLedgerSummary</string> </value> + <value> <string>AccountModule_getGeneralLedgerSummarySectionList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashContainer_fastInputForm/listbox.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashContainer_fastInputForm/listbox.xml index eb173a0d29a8cd4f846c101ed3e4d83125ee03e3..b22d99dabb7956a1341135cd634601e02a5d474a 100644 --- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashContainer_fastInputForm/listbox.xml +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashContainer_fastInputForm/listbox.xml @@ -628,7 +628,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>ListBox_listCashContainers</string> </value> + <value> <string>Listbox_getCashContainerList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/ListBox_listCashContainers.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/Listbox_getCashContainerList.xml similarity index 98% rename from bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/ListBox_listCashContainers.xml rename to bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/Listbox_getCashContainerList.xml index 6ec4ed203b383092f2c99b5d075d09633f8b6bfd..eb4238cf8f4cb672cb29e5d96f60c723e0c00ef1 100644 --- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/ListBox_listCashContainers.xml +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/Listbox_getCashContainerList.xml @@ -119,7 +119,7 @@ return context.ListBox_initializeFastInput()\n </item> <item> <key> <string>id</string> </key> - <value> <string>ListBox_listCashContainers</string> </value> + <value> <string>Listbox_getCashContainerList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookDelivery_fastInputForm/listbox.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookDelivery_fastInputForm/listbox.xml index 234cb4abbbebbea8b16ba4d19a70ebf4d139ea9f..4d50c347d5951dffbf8d9b857e2de7f697adb941 100644 --- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookDelivery_fastInputForm/listbox.xml +++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookDelivery_fastInputForm/listbox.xml @@ -563,7 +563,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>ListBox_listCheckbook</string> </value> + <value> <string>Listbox_listCheckbookList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/ListBox_listCheckbook.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/Listbox_listCheckbookList.xml similarity index 98% rename from bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/ListBox_listCheckbook.xml rename to bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/Listbox_listCheckbookList.xml index 370eba2f19e40c719a75c9b27fadf65ef4e0c019..9bf36302d7adbfe0ac488f3f67749af3991595e3 100644 --- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/ListBox_listCheckbook.xml +++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/Listbox_listCheckbookList.xml @@ -129,7 +129,7 @@ return context.ListBox_initializeFastInput()\n </item> <item> <key> <string>id</string> </key> - <value> <string>ListBox_listCheckbook</string> </value> + <value> <string>Listbox_listCheckbookList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/StopPayment_fastInputForm/listbox.xml b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/StopPayment_fastInputForm/listbox.xml index 714bd7f439302a5b71b5ac500a63497afdae4381..f57ebdcd17b428bf594b4c13198dea3fbb9b387e 100644 --- a/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/StopPayment_fastInputForm/listbox.xml +++ b/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/StopPayment_fastInputForm/listbox.xml @@ -525,7 +525,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>ListBox_initializeFastInput</string> </value> + <value> <string>Listbox_initializeFastInputDocumentList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CashDetail_viewLineFastInputForm/listbox.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CashDetail_viewLineFastInputForm/listbox.xml index c1e225cca3cd359394111c4ac4bbad06119a7826..75a0ae48d6c8130141669f6bdeb73563ad41c040 100644 --- a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CashDetail_viewLineFastInputForm/listbox.xml +++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CashDetail_viewLineFastInputForm/listbox.xml @@ -538,7 +538,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <unicode>ListBox_initializeFastInput</unicode> </value> + <value> <string>Listbox_initializeFastInputDocumentList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterModule_viewContainerReportForm/listbox.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterModule_viewContainerReportForm/listbox.xml index c8270f8d753d52fa016574a324390f943b69bc24..3f36afe391fdf31e293244c9d7c67275aa1546d1 100644 --- a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterModule_viewContainerReportForm/listbox.xml +++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterModule_viewContainerReportForm/listbox.xml @@ -570,7 +570,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>ListBox_initializeFastInput</string> </value> + <value> <string>Listbox_initializeFastInputDocumentList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocumentDecisionItems_addFastInput/listbox.xml b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocumentDecisionItems_addFastInput/listbox.xml index 18308ad31eaed7a5c54843888cc39a36aeecdd3e..ac17badf52438531c90b76e1af4e36d2ed32d9e9 100644 --- a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocumentDecisionItems_addFastInput/listbox.xml +++ b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocumentDecisionItems_addFastInput/listbox.xml @@ -518,7 +518,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>FastInput_initialize</string> </value> + <value> <string>FastInput_initializeDocumentList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocumentItems_addFastInput/listbox.xml b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocumentItems_addFastInput/listbox.xml index cb2fb699bebb4443ea7b9f17a29f607d16e57b26..96f1cdcac7a3f234ece92f8182b92c74ea2568e5 100644 --- a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocumentItems_addFastInput/listbox.xml +++ b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocumentItems_addFastInput/listbox.xml @@ -518,7 +518,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>FastInput_initialize</string> </value> + <value> <string>FastInput_initializeDocumentList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocuments_addFastInput/listbox.xml b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocuments_addFastInput/listbox.xml index 3c7c91f5018a8db651e8b845b191509188aec3d0..fcbe5acd2558c69f8a4c3b4c654907873dc60034 100644 --- a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocuments_addFastInput/listbox.xml +++ b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocuments_addFastInput/listbox.xml @@ -546,7 +546,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>FastInput_initialize</string> </value> + <value> <string>FastInput_initializeDocumentList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocuments_addFastInputTest/listbox.xml b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocuments_addFastInputTest/listbox.xml index 65dfa7c3453110d9dba38c3d8ff14b346e970b6a..235766427bb64161f02a16933e1d437f10e274ad 100644 --- a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocuments_addFastInputTest/listbox.xml +++ b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisDocuments_addFastInputTest/listbox.xml @@ -586,7 +586,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>FastInput_initialize</string> </value> + <value> <string>FastInput_initializeDocumentList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisLexiconItems_addFastInput/listbox.xml b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisLexiconItems_addFastInput/listbox.xml index 271a2ed4c863bb82191e931bd0c1dbf32f0acaa1..5aafb63bafd671c1971a1edcae901744f7eecd9d 100644 --- a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisLexiconItems_addFastInput/listbox.xml +++ b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisLexiconItems_addFastInput/listbox.xml @@ -570,7 +570,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>FastInput_initialize</string> </value> + <value> <string>FastInput_initializeDocumentList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisLexicons_addFastInput/listbox.xml b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisLexicons_addFastInput/listbox.xml index 9b47b70157d90c43b4b610f214b444f10bd95a4b..2e370335bbec1ca7b08c7c978ba39cd4ab0ebaf2 100644 --- a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisLexicons_addFastInput/listbox.xml +++ b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/DocumentAnalysisLexicons_addFastInput/listbox.xml @@ -594,7 +594,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>FastInput_initialize</string> </value> + <value> <string>FastInput_initializeDocumentList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/FastInput_initialize.xml b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/FastInput_initializeDocumentList.xml similarity index 97% rename from bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/FastInput_initialize.xml rename to bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/FastInput_initializeDocumentList.xml index 4d629bd64b5f8dc25c349cbee1a4305fe05df7c6..59fcc313d37b05a94bf5e34bd74d50e5064f4ba3 100644 --- a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/FastInput_initialize.xml +++ b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/FastInput_initializeDocumentList.xml @@ -84,7 +84,7 @@ return l\n </item> <item> <key> <string>id</string> </key> - <value> <string>FastInput_initialize</string> </value> + <value> <string>FastInput_initializeDocumentList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/TestCase_viewActorFastInputDialog/listbox.xml b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/TestCase_viewActorFastInputDialog/listbox.xml index bc1a460673d7cb287d919bf213d82c2a500393c9..618b4cf6339673195cd5b0d7da29c09ef2624b17 100644 --- a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/TestCase_viewActorFastInputDialog/listbox.xml +++ b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/TestCase_viewActorFastInputDialog/listbox.xml @@ -558,7 +558,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>FastInput_initialize</string> </value> + <value> <string>FastInput_initializeDocumentList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/TestCase_viewStepFastInputDialog/listbox.xml b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/TestCase_viewStepFastInputDialog/listbox.xml index 6dcd4903d314bb5374ec3a5f8b670c1c0132b00a..9c23ce866d56003cd493f5f94de30ced0ff1b11c 100644 --- a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/TestCase_viewStepFastInputDialog/listbox.xml +++ b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/TestCase_viewStepFastInputDialog/listbox.xml @@ -546,7 +546,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>FastInput_initialize</string> </value> + <value> <string>FastInput_initializeDocumentList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/UseCase_viewActorFastInputDialog/listbox.xml b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/UseCase_viewActorFastInputDialog/listbox.xml index 4ed7453087de40a87129d9d58ed9b97c04fffab6..4e0cd00104c67bf0819cd2236f5f1a25eca9096b 100644 --- a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/UseCase_viewActorFastInputDialog/listbox.xml +++ b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/UseCase_viewActorFastInputDialog/listbox.xml @@ -558,7 +558,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>FastInput_initialize</string> </value> + <value> <string>FastInput_initializeDocumentList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/UseCase_viewScenarioFastInputDialog/listbox.xml b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/UseCase_viewScenarioFastInputDialog/listbox.xml index 34e67ea583cf25460d71a0b899429a6395df0d5a..7581ee933522f6a3b1d73ba6df4b609025ee8a8a 100644 --- a/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/UseCase_viewScenarioFastInputDialog/listbox.xml +++ b/bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/UseCase_viewScenarioFastInputDialog/listbox.xml @@ -524,6 +524,12 @@ <key> <string>title</string> </key> <value> <string>Scenarii with Steps</string> </value> </item> + <item> + <key> <string>untranslatable_columns</string> </key> + <value> + <list/> + </value> + </item> <item> <key> <string>url_columns</string> </key> <value> @@ -547,7 +553,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>FastInput_initialize</string> </value> + <value> <string>FastInput_initializeDocumentList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Base_getOrphanObjects.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Base_getOrphanObjectList.xml similarity index 98% rename from bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Base_getOrphanObjects.xml rename to bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Base_getOrphanObjectList.xml index 301b0e1bf72ff014f215b2a183c2990d9f97316a..364072c9cfd015c415b242054bdef5bc3ae65c18 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Base_getOrphanObjects.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Base_getOrphanObjectList.xml @@ -86,7 +86,7 @@ for o in objects:\n # orphan object\n orphans_list.append(object_path)\n # Recursively check children\n - orphans_list.extend([x.uid for x in context.Base_getOrphanObjects(object=o)])\n + orphans_list.extend([x.uid for x in context.Base_getOrphanObjectList(object=o)])\n \n object_list = []\n for orphan in orphans_list:\n @@ -107,7 +107,7 @@ return object_list\n </item> <item> <key> <string>id</string> </key> - <value> <string>Base_getOrphanObjects</string> </value> + <value> <string>Base_getOrphanObjectList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Base_viewOrphanObjectList/listbox.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Base_viewOrphanObjectList/listbox.xml index 9bf6e2397019934a9951650598f3bddccfcb48c1..465dd46c000e7ffb067ccf8bf7f9108f9ecb2188 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Base_viewOrphanObjectList/listbox.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_forge/Base_viewOrphanObjectList/listbox.xml @@ -509,7 +509,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>Base_getOrphanObjects</string> </value> + <value> <string>Base_getOrphanObjectList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_initializeListBoxForRenameFastInput.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_initializeListBoxToGetProxyFieldToRenameList.xml similarity index 92% rename from bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_initializeListBoxForRenameFastInput.xml rename to bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_initializeListBoxToGetProxyFieldToRenameList.xml index a32a8c1c97a65abdbbd118a04495ad068bcb1383..0631bc19815e1708051f2550cd923f95b409444d 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_initializeListBoxForRenameFastInput.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_initializeListBoxToGetProxyFieldToRenameList.xml @@ -50,7 +50,7 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>return context.ListBox_initializeFastInput(\n + <value> <string>return context.Listbox_initializeFastInputDocumentList(\n empty_line_number=10, **kw)\n </string> </value> </item> @@ -60,7 +60,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>BusinessTemplate_initializeListBoxForRenameFastInput</string> </value> + <value> <string>BusinessTemplate_initializeListBoxToGetProxyFieldToRenameList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_initializePreviewListBoxForRenameFastInput.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_initializePreviewListBoxToGetProxyFieldToRenameList.xml similarity index 94% rename from bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_initializePreviewListBoxForRenameFastInput.xml rename to bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_initializePreviewListBoxToGetProxyFieldToRenameList.xml index 9314d00c619220cf2a7d400e8b03ff4ff5889d48..eb3ba168107a0f0f62bc851d328f79436f9b803b 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_initializePreviewListBoxForRenameFastInput.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_initializePreviewListBoxToGetProxyFieldToRenameList.xml @@ -50,7 +50,7 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>return context.ListBox_initializeFastInput(\n + <value> <string>return context.Listbox_initializeFastInputDocumentList(\n listbox_id=\'preview_listbox\', empty_line_number=0, **kw)\n </string> </value> </item> @@ -60,7 +60,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>BusinessTemplate_initializePreviewListBoxForRenameFastInput</string> </value> + <value> <string>BusinessTemplate_initializePreviewListBoxToGetProxyFieldToRenameList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_renameProxyFieldDialog/listbox.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_renameProxyFieldDialog/listbox.xml index 281dfa48a36d8c377ec4f8a9b1617d6a9e566832..05d5bc5bed75cdf1b93252423e933e04523f2868 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_renameProxyFieldDialog/listbox.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_renameProxyFieldDialog/listbox.xml @@ -539,7 +539,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>BusinessTemplate_initializeListBoxForRenameFastInput</string> </value> + <value> <string>BusinessTemplate_initializeListBoxToGetProxyFieldToRenameList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_renameProxyFieldDialog/preview_listbox.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_renameProxyFieldDialog/preview_listbox.xml index abe223d506197e6db628b73c78287f9e9d921de9..50f36fe6df72c33f00d85f341adf0b7e6a3d9df5 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_renameProxyFieldDialog/preview_listbox.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_renameProxyFieldDialog/preview_listbox.xml @@ -555,7 +555,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>BusinessTemplate_initializePreviewListBoxForRenameFastInput</string> </value> + <value> <string>BusinessTemplate_initializePreviewListBoxToGetProxyFieldToRenameList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_getTransformedResourceInventory.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_getTransformedResourceInventoryList.xml similarity index 99% rename from bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_getTransformedResourceInventory.xml rename to bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_getTransformedResourceInventoryList.xml index 99430ecd5b930707710833e6c99804446508241b..203a387363d245a167d7ae89bafaeef2cf6bf463 100644 --- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_getTransformedResourceInventory.xml +++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_getTransformedResourceInventoryList.xml @@ -64,7 +64,7 @@ return context.portal_simulation.getInventoryList(transformed_resource=transform </item> <item> <key> <string>id</string> </key> - <value> <string>Resource_getTransformedResourceInventory</string> </value> + <value> <string>Resource_getTransformedResourceInventoryList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewTransformedResourceInventory/listbox.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewTransformedResourceInventory/listbox.xml index a6515807f9ed39ead02ec2c21ff87d8720cc5893..aab0109479f754d97dd127044af1af9e9c2e6af5 100644 --- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewTransformedResourceInventory/listbox.xml +++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewTransformedResourceInventory/listbox.xml @@ -597,7 +597,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>Resource_getTransformedResourceInventory</string> </value> + <value> <string>Resource_getTransformedResourceInventoryList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ProjectLine_viewTaskFastInputDialog/listbox.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ProjectLine_viewTaskFastInputDialog/listbox.xml index 3b85a4d5b7e155d567ee41a9b77c7e667aedf257..33dfed9971b84a1e1b91e8783d3a39007b4aada2 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ProjectLine_viewTaskFastInputDialog/listbox.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ProjectLine_viewTaskFastInputDialog/listbox.xml @@ -635,7 +635,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>Project_initializeFastInput</string> </value> + <value> <string>Project_initializeFastInputTaskList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_initializeFastInput.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_initializeFastInputTaskList.xml similarity index 97% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_initializeFastInput.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_initializeFastInputTaskList.xml index 69cbe77305bfc24ba76eb2bd11c7cab6b4039629..73bb2daa21e9ac493881ffd3a986aacef8d4b4e6 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_initializeFastInput.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_initializeFastInputTaskList.xml @@ -89,7 +89,7 @@ return l\n </item> <item> <key> <string>id</string> </key> - <value> <string>Project_initializeFastInput</string> </value> + <value> <string>Project_initializeFastInputTaskList</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_viewDocumentFastInputDialog/listbox.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_viewDocumentFastInputDialog/listbox.xml index 7238f59cdad2d834d768eff655a5e6176b9d476d..a0c881bbf5ac1250ccd8553b49fdeb184c5a404c 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_viewDocumentFastInputDialog/listbox.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_viewDocumentFastInputDialog/listbox.xml @@ -583,7 +583,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>Project_initializeFastInput</string> </value> + <value> <string>Project_initializeFastInputTaskList</string> </value> </item> </dictionary> </pickle> diff --git a/product/ERP5/Tool/TemplateTool.py b/product/ERP5/Tool/TemplateTool.py index b1e847f5d4d3fe476d5855b238cd5736c3343371..bd63304fedd9c65600e14527591746bb109b2047 100644 --- a/product/ERP5/Tool/TemplateTool.py +++ b/product/ERP5/Tool/TemplateTool.py @@ -1398,7 +1398,7 @@ class TemplateTool (BaseTool): pass install_kw = {} - for listbox_line in imported_bt5.BusinessTemplate_getModifiedObject(): + for listbox_line in imported_bt5.BusinessTemplate_getModifiedObjectList(): item = listbox_line.object_id state = listbox_line.object_state if state.startswith('Removed'): diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObject.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObjectList.xml similarity index 98% rename from product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObject.xml rename to product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObjectList.xml index c3a617ca1b419c38d4698a824ecbb76d489afeae..a84b59a9db0026d77272d425a6624804d9feeaaf 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObject.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObjectList.xml @@ -130,7 +130,7 @@ return object_list\n </item> <item> <key> <string>id</string> </key> - <value> <string>BusinessTemplate_getModifiedObject</string> </value> + <value> <string>BusinessTemplate_getModifiedObjectList</string> </value> </item> </dictionary> </pickle> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewInstallationDialog/listbox.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewInstallationDialog/listbox.xml index 530cd8d3e47cd263ca9adfe3092320e176364261..3dfa7f982d5b1ed768b9a0be8b3fa5db797b25b9 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewInstallationDialog/listbox.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewInstallationDialog/listbox.xml @@ -540,7 +540,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>BusinessTemplate_getModifiedObject</string> </value> + <value> <string>BusinessTemplate_getModifiedObjectList</string> </value> </item> </dictionary> </pickle> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryTool_getImportReportFromRequest.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryTool_getFromRequestImportReportFieldList.xml similarity index 96% rename from product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryTool_getImportReportFromRequest.xml rename to product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryTool_getFromRequestImportReportFieldList.xml index d21bef82f4ff17dd18d316ef8f11092b8b600e77..f9165d1943eac0568d00c6ee197ff49cc86e66b4 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryTool_getImportReportFromRequest.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryTool_getFromRequestImportReportFieldList.xml @@ -59,7 +59,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>CategoryTool_getImportReportFromRequest</string> </value> + <value> <string>CategoryTool_getFromRequestImportReportFieldList</string> </value> </item> </dictionary> </pickle> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryTool_viewImportReport/listbox.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryTool_viewImportReport/listbox.xml index 38db81e12861e00a76eb23e758ca0ad2dc98a98d..8b7bbeee974c8a896a618c7049b464e047889479 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryTool_viewImportReport/listbox.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryTool_viewImportReport/listbox.xml @@ -531,7 +531,7 @@ <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>CategoryTool_getImportReportFromRequest</string> </value> + <value> <string>CategoryTool_getFromRequestImportReportFieldList</string> </value> </item> </dictionary> </pickle> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkNamingConventions.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkNamingConventions.xml index e1946eb590926d151f3c6281e4e79ec4ec66e08d..be99b6de01ba3b5d9672840778aa705252d2b95f 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkNamingConventions.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkNamingConventions.xml @@ -135,8 +135,7 @@ def checkField(folder, form, field):\n if a not in (None, "portal_catalog", "searchFolder", "objectValues",\n "contentValues", "ListBox_initializeFastInput"):\n if not a.endswith(\'List\'):\n - if 0:\n - error_message += "%s : %s : %r Bad Naming Convention\\n" % (path, id, a)\n + error_message += "%s : %s : %r Bad Naming Convention\\n" % (path, id, a)\n return error_message\n \n def isListBox(field):\n diff --git a/product/ERP5/tests/testBusinessTemplate.py b/product/ERP5/tests/testBusinessTemplate.py index 41497358f32390deb70bb1259c1c9c46ad8c4859..6784d6aa721c2a97998e3d8cc54dd3f748a8e4bf 100644 --- a/product/ERP5/tests/testBusinessTemplate.py +++ b/product/ERP5/tests/testBusinessTemplate.py @@ -2547,7 +2547,7 @@ class BusinessTemplateMixin(TestDeveloperMixin, ERP5TypeTestCase, LogInterceptor def stepReinstallBusinessTemplate(self, sequence=None, **kw): import_bt = sequence.get('current_bt') - listbox_object_list = import_bt.BusinessTemplate_getModifiedObject() + listbox_object_list = import_bt.BusinessTemplate_getModifiedObjectList() install_kw = {} for listbox_line in listbox_object_list: install_kw[listbox_line.object_id] = listbox_line.choice_item_list[0][1] @@ -2555,7 +2555,7 @@ class BusinessTemplateMixin(TestDeveloperMixin, ERP5TypeTestCase, LogInterceptor def stepCheckBeforeReinstall(self, sequence=None, **kw): import_bt = sequence.get('current_bt') - diff_list = import_bt.BusinessTemplate_getModifiedObject() + diff_list = import_bt.BusinessTemplate_getModifiedObjectList() self.assertTrue('portal_types/Geek Object/become_geek' in [line.object_id for line in diff_list]) diff --git a/product/ERP5Type/tests/ERP5TypeTestCase.py b/product/ERP5Type/tests/ERP5TypeTestCase.py index ad6aa35ca1d4744730a3069da4dea8cc2207a25f..ddef7f835bd13f77d9f2b3fc6e4cc48cb53bc8ef 100644 --- a/product/ERP5Type/tests/ERP5TypeTestCase.py +++ b/product/ERP5Type/tests/ERP5TypeTestCase.py @@ -920,8 +920,8 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin): quiet=True): template_tool = self.portal.portal_templates update_business_templates = os.environ.get('update_business_templates') is not None - BusinessTemplate_getModifiedObject = aq_base( - getattr(self.portal, 'BusinessTemplate_getModifiedObject', None)) + BusinessTemplate_getModifiedObjectList = aq_base( + getattr(self.portal, 'BusinessTemplate_getModifiedObjectList', None)) # Add some business templates for url, bt_title in business_template_list: @@ -931,7 +931,7 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin): if update_business_templates: if not quiet: ZopeTestCase._print('Updating %s business template ... ' % bt_title) - if BusinessTemplate_getModifiedObject is not None: + if BusinessTemplate_getModifiedObjectList is not None: get_install_kw = True else: continue @@ -949,7 +949,7 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin): install_kw = None if get_install_kw: install_kw = {} - listbox_object_list = BusinessTemplate_getModifiedObject.__of__(bt)() + listbox_object_list = BusinessTemplate_getModifiedObjectList.__of__(bt)() for listbox_line in listbox_object_list: install_kw[listbox_line.object_id] = listbox_line.choice_item_list[0][1] bt.install(light_install=light_install,