Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
erp5
Commits
396d814c
Commit
396d814c
authored
Apr 01, 2022
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP: from __future__ must be first but PythonScript is wrapped.
parent
e3e53b04
Changes
105
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
105 changed files
with
0 additions
and
105 deletions
+0
-105
bt5/cloudooo_web/SkinTemplateItem/portal_skins/cloudooo_web/Document_getPropertiesAsJSON.py
...portal_skins/cloudooo_web/Document_getPropertiesAsJSON.py
+0
-1
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Alarm_checkPayableAndReceivableAccountGrouped.py
...counting/Alarm_checkPayableAndReceivableAccountGrouped.py
+0
-1
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Base_importGapFile.py
...teItem/portal_skins/erp5_accounting/Base_importGapFile.py
+0
-1
bt5/erp5_accounting_l10n_br_extend/SkinTemplateItem/portal_skins/erp5_accounting_l10n_br_extend/ERP5Site_fixBrazilianGapIds.py
..._accounting_l10n_br_extend/ERP5Site_fixBrazilianGapIds.py
+0
-1
bt5/erp5_accounting_l10n_br_sme/SkinTemplateItem/portal_skins/erp5_accounting_l10n_br_sme/ERP5Site_fixBrazilianGapIds.py
...rp5_accounting_l10n_br_sme/ERP5Site_fixBrazilianGapIds.py
+0
-1
bt5/erp5_accounting_l10n_pl/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl/FiscalReport_doReport.py
...al_skins/erp5_accounting_l10n_pl/FiscalReport_doReport.py
+0
-1
bt5/erp5_accounting_l10n_pl_default_gap/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl_default_gap/AccountModule_createAccountFromGap.py
...l10n_pl_default_gap/AccountModule_createAccountFromGap.py
+0
-1
bt5/erp5_accounting_l10n_pl_default_gap/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl_default_gap/ERP5Site_createDefaultPlGap.py
...unting_l10n_pl_default_gap/ERP5Site_createDefaultPlGap.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ActivityTool_watchActivities.py
...skins/erp5_administration/ActivityTool_watchActivities.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Base_dumpUnreferencedSecurityUid.py
...s/erp5_administration/Base_dumpUnreferencedSecurityUid.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Base_viewSecurity.py
...tem/portal_skins/erp5_administration/Base_viewSecurity.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Base_viewSecurityMappingAsUser.py
...ins/erp5_administration/Base_viewSecurityMappingAsUser.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_checkFolderHandler.py
..._skins/erp5_administration/ERP5Site_checkFolderHandler.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpBuilderList.py
...tal_skins/erp5_administration/ERP5Site_dumpBuilderList.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpInstalledBusinessTemplateList.py
...inistration/ERP5Site_dumpInstalledBusinessTemplateList.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpOrderBuilderList.py
...kins/erp5_administration/ERP5Site_dumpOrderBuilderList.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpPortalSkinsContent.py
...ns/erp5_administration/ERP5Site_dumpPortalSkinsContent.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpPortalTypeActionList.py
.../erp5_administration/ERP5Site_dumpPortalTypeActionList.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpPortalTypeList.py
..._skins/erp5_administration/ERP5Site_dumpPortalTypeList.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpPortalTypeRoleList.py
...ns/erp5_administration/ERP5Site_dumpPortalTypeRoleList.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpPropertySheetList.py
...ins/erp5_administration/ERP5Site_dumpPropertySheetList.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpRuleTesterList.py
..._skins/erp5_administration/ERP5Site_dumpRuleTesterList.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpSkinProperty.py
...al_skins/erp5_administration/ERP5Site_dumpSkinProperty.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/SkinsTool_listRelationFieldWithRelationSetterId.py
...ration/SkinsTool_listRelationFieldWithRelationSetterId.py
+0
-1
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/TemplateTool_deleteObsoleteTemplateList.py
...administration/TemplateTool_deleteObsoleteTemplateList.py
+0
-1
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/ERP5Site_migrateToEmbeddedFile.py
.../portal_skins/erp5_base/ERP5Site_migrateToEmbeddedFile.py
+0
-1
bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/Budget_getBudgetConsumptionReportData.py
...kins/erp5_budget/Budget_getBudgetConsumptionReportData.py
+0
-1
bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/SaleOrder_getShoppingCartTotalPrice.py
...kins/erp5_commerce/SaleOrder_getShoppingCartTotalPrice.py
+0
-1
bt5/erp5_commerce_loyalty_program_test/SkinTemplateItem/portal_skins/erp5_commerce_loyalty_program_test/TradeModelLine_getBaseAmountQuantityMethod.py
...rogram_test/TradeModelLine_getBaseAmountQuantityMethod.py
+0
-1
bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/ConfiguratorTool_viewRunningInstallationMessage.py
...wizard/ConfiguratorTool_viewRunningInstallationMessage.py
+0
-1
bt5/erp5_configurator_maxma_demo/SkinTemplateItem/portal_skins/erp5_configurator_maxma_demo/BusinessConfiguration_afterMaxmaDemoConfiguration.py
...demo/BusinessConfiguration_afterMaxmaDemoConfiguration.py
+0
-1
bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_standard/BusinessConfiguration_afterConfiguration.py
...ator_standard/BusinessConfiguration_afterConfiguration.py
+0
-1
bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_standard/ERP5Site_getTranslationMessageInConfiguratorUIAsPOT.py
...rd/ERP5Site_getTranslationMessageInConfiguratorUIAsPOT.py
+0
-1
bt5/erp5_configurator_standard_ui_test/SkinTemplateItem/portal_skins/erp5_configurator_standard_ui_test/Zuite_assertEndConfiguration.py
...igurator_standard_ui_test/Zuite_assertEndConfiguration.py
+0
-1
bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/FastInput_generateObjectStructure.py
...kins/erp5_consulting/FastInput_generateObjectStructure.py
+0
-1
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventModule_migrateEventWorkflowHistory.py
...skins/erp5_crm/EventModule_migrateEventWorkflowHistory.py
+0
-1
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/PersonModule_viewEmailReport.py
...tem/portal_skins/erp5_crm/PersonModule_viewEmailReport.py
+0
-1
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Alarm_senseDocumentToUpdate.py
...Item/portal_skins/erp5_dms/Alarm_senseDocumentToUpdate.py
+0
-1
bt5/erp5_dms_conversion_catalog/SkinTemplateItem/portal_skins/erp5_dms_conversion_catalog/ERP5Site_preConvertDocumentList.py
...dms_conversion_catalog/ERP5Site_preConvertDocumentList.py
+0
-1
bt5/erp5_dms_ui_test/SkinTemplateItem/portal_skins/erp5_dms_ui_test/Zuite_setupDMS.py
...plateItem/portal_skins/erp5_dms_ui_test/Zuite_setupDMS.py
+0
-1
bt5/erp5_dms_ui_test/SkinTemplateItem/portal_skins/erp5_dms_ui_test/Zuite_tearDownDMS.py
...teItem/portal_skins/erp5_dms_ui_test/Zuite_tearDownDMS.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_findTermFromPortalType.py
...ns/erp5_glossary/GlossaryModule_findTermFromPortalType.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_findTermFromPropertySheet.py
...erp5_glossary/GlossaryModule_findTermFromPropertySheet.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_findTermFromWorkflow.py
...kins/erp5_glossary/GlossaryModule_findTermFromWorkflow.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_getPOFile.py
...em/portal_skins/erp5_glossary/GlossaryModule_getPOFile.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_migrateLanguageProperty.py
...s/erp5_glossary/GlossaryModule_migrateLanguageProperty.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/Base_formatDiffObjectListToHTML.py
...tal_skins/erp5_toolbox/Base_formatDiffObjectListToHTML.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/Base_formatDiffObjectListToText.py
...tal_skins/erp5_toolbox/Base_formatDiffObjectListToText.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/Base_viewSimulationTree.py
...Item/portal_skins/erp5_toolbox/Base_viewSimulationTree.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/ERP5Site_getToBeTranslatedMessageListFromEntireSystemAsPot.py
...Site_getToBeTranslatedMessageListFromEntireSystemAsPot.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/ERP5Site_showAllUsedSelectionNames.py
..._skins/erp5_toolbox/ERP5Site_showAllUsedSelectionNames.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/ERP5Type_cloneRoleInformation.py
...ortal_skins/erp5_toolbox/ERP5Type_cloneRoleInformation.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/SkinsTool_getDeadProxyFieldList.py
...tal_skins/erp5_toolbox/SkinsTool_getDeadProxyFieldList.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/SkinsTool_getNotAssignedFieldList.py
...l_skins/erp5_toolbox/SkinsTool_getNotAssignedFieldList.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/SkinsTool_getRelationStringFieldWithoutProxyListBoxIdOrColumns.py
...l_getRelationStringFieldWithoutProxyListBoxIdOrColumns.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/SkinsTool_listDuplicateSkins.py
...portal_skins/erp5_toolbox/SkinsTool_listDuplicateSkins.py
+0
-1
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/BusinessTemplate_doVcsDiff.py
...eItem/portal_skins/erp5_vcs/BusinessTemplate_doVcsDiff.py
+0
-1
bt5/erp5_immobilisation/SkinTemplateItem/portal_skins/erp5_accounting_fr/actual_use/ratioCalculation.py
...l_skins/erp5_accounting_fr/actual_use/ratioCalculation.py
+0
-1
bt5/erp5_immobilisation/SkinTemplateItem/portal_skins/erp5_immobilisation/AmortisationSystem_addAmortisationMethod.py
...mmobilisation/AmortisationSystem_addAmortisationMethod.py
+0
-1
bt5/erp5_immobilisation/SkinTemplateItem/portal_skins/erp5_immobilisation/PortalType_ImmobilisationDelivery_addImmobilisationActions.py
...alType_ImmobilisationDelivery_addImmobilisationActions.py
+0
-1
bt5/erp5_immobilisation/SkinTemplateItem/portal_skins/erp5_immobilisation/PortalType_ImmobilisationMovement_addAmortisationMethodActions.py
...pe_ImmobilisationMovement_addAmortisationMethodActions.py
+0
-1
bt5/erp5_immobilisation/SkinTemplateItem/portal_skins/erp5_immobilisation/PortalType_Item_addImmobilisationActions.py
...mmobilisation/PortalType_Item_addImmobilisationActions.py
+0
-1
bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgeBox_getDefaultPreferencesDictAsJSON.py
...ledge_pad/KnowledgeBox_getDefaultPreferencesDictAsJSON.py
+0
-1
bt5/erp5_knowledge_pad_ui_test/SkinTemplateItem/portal_skins/erp5_knowledge_pad_ui_test/Zuite_setupGadgets.py
...al_skins/erp5_knowledge_pad_ui_test/Zuite_setupGadgets.py
+0
-1
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/WebManifest_createCloneFile.py
...rp5_officejs_appstore_base/WebManifest_createCloneFile.py
+0
-1
bt5/erp5_officejs_ui_test/SkinTemplateItem/portal_skins/erp5_officejs_ui_test/ERP5Site_printParameterAsHTMLTitle.py
...p5_officejs_ui_test/ERP5Site_printParameterAsHTMLTitle.py
+0
-1
bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPaySheetTransactionAsText.py
...roll/PaySheetTransaction_viewPaySheetTransactionAsText.py
+0
-1
bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/DSNMonthlyReport_getDataDict.py
...kins/erp5_payroll_l10n_fr/DSNMonthlyReport_getDataDict.py
+0
-1
bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/DSNMonthlyReport_getDataDictPhaseTwo.py
...5_payroll_l10n_fr/DSNMonthlyReport_getDataDictPhaseTwo.py
+0
-1
bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/DSNMonthlyReport_getSocialContributionDict.py
...oll_l10n_fr/DSNMonthlyReport_getSocialContributionDict.py
+0
-1
bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/PaySheetTransaction_getSocialContributionDict.py
..._l10n_fr/PaySheetTransaction_getSocialContributionDict.py
+0
-1
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_getPriceCalculationOperandDict.py
...skins/erp5_pdm/Resource_getPriceCalculationOperandDict.py
+0
-1
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_getScaledInventoryList.py
.../portal_skins/erp5_pdm/Resource_getScaledInventoryList.py
+0
-1
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_generateQuantityReport.py
...rtal_skins/erp5_project/Project_generateQuantityReport.py
+0
-1
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getMonthlyReportSectionList.py
...skins/erp5_project/Project_getMonthlyReportSectionList.py
+0
-1
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_exportTaskReportListAsiCalendar.py
...oject/TaskReportModule_exportTaskReportListAsiCalendar.py
+0
-1
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPageModule_updateTestPageID.py
..._skins/erp5_run_my_doc/TestPageModule_updateTestPageID.py
+0
-1
bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ERP5Site_getTileImageMetadataList.py
...skins/erp5_safeimage/ERP5Site_getTileImageMetadataList.py
+0
-1
bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/SeleniumSafeImage_uploadFile.py
...rtal_skins/erp5_safeimage/SeleniumSafeImage_uploadFile.py
+0
-1
bt5/erp5_scalability_test/SkinTemplateItem/portal_skins/erp5_scalability_test/ERP5Site_getScalabilityTestMetric.py
...rp5_scalability_test/ERP5Site_getScalabilityTestMetric.py
+0
-1
bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestResultModule_getTestPerfResultList.py
...rp5_test_result/TestResultModule_getTestPerfResultList.py
+0
-1
bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestResult_afterComplete.py
...portal_skins/erp5_test_result/TestResult_afterComplete.py
+0
-1
bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestResult_getSummary.py
...em/portal_skins/erp5_test_result/TestResult_getSummary.py
+0
-1
bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestResult_restartStuckLine.py
...tal_skins/erp5_test_result/TestResult_restartStuckLine.py
+0
-1
bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestResult_viewTestResultLineStdoutSet.py
...rp5_test_result/TestResult_viewTestResultLineStdoutSet.py
+0
-1
bt5/erp5_tiosafe_core/SkinTemplateItem/portal_skins/erp5_integration/IntegrationTestModule_createFormFromPropertySheet.py
...tion/IntegrationTestModule_createFormFromPropertySheet.py
+0
-1
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_printAsODSSummary.py
...teItem/portal_skins/erp5_trade/Order_printAsODSSummary.py
+0
-1
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/ERP5Site_migrateData.py
...eItem/portal_skins/erp5_hr_record/ERP5Site_migrateData.py
+0
-1
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_getHeightFromQuantity.py
...em/portal_skins/erp5_ui_test/Foo_getHeightFromQuantity.py
+0
-1
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/ErrorLog_reportErrorList.py
...ortal_skins/erp5_ui_test_core/ErrorLog_reportErrorList.py
+0
-1
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/MailHost_reportMessageList.py
...tal_skins/erp5_ui_test_core/MailHost_reportMessageList.py
+0
-1
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/TestTool_cleanUpTestResults.py
...al_skins/erp5_ui_test_core/TestTool_cleanUpTestResults.py
+0
-1
bt5/erp5_web_project_ui_test/SkinTemplateItem/portal_skins/erp5_web_project_test/ERP5Site_createTestStartedProject.py
...rp5_web_project_test/ERP5Site_createTestStartedProject.py
+0
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_auto_logout/setAuthCookie.py
...mplateItem/portal_skins/erp5_auto_logout/setAuthCookie.py
+0
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_generateMonthDomain.py
...teItem/portal_skins/erp5_core/Base_generateMonthDomain.py
+0
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_renameCategory.py
...emplateItem/portal_skins/erp5_core/Base_renameCategory.py
+0
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_roundPlanningBoxBoundToMinute.py
...tal_skins/erp5_core/Base_roundPlanningBoxBoundToMinute.py
+0
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.py
...emplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.py
+0
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexLatestIndexedObjects.py
...l_skins/erp5_core/ERP5Site_reindexLatestIndexedObjects.py
+0
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_updateTranslationTable.py
...portal_skins/erp5_core/ERP5Site_updateTranslationTable.py
+0
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/SkinsTool_checkDuplicateSelectionName.py
..._skins/erp5_core/SkinsTool_checkDuplicateSelectionName.py
+0
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/SkinsTool_checkFieldExternalValidator.py
..._skins/erp5_core/SkinsTool_checkFieldExternalValidator.py
+0
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_getDetailedDiff.py
...em/portal_skins/erp5_core/TemplateTool_getDetailedDiff.py
+0
-1
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/zope/connectors/connectorERP5.py
...itor/filemanager/browser/zope/connectors/connectorERP5.py
+0
-1
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_coordinates.py
...tem/portal_skins/erp5_xhtml_style/planning_coordinates.py
+0
-1
No files found.
bt5/cloudooo_web/SkinTemplateItem/portal_skins/cloudooo_web/Document_getPropertiesAsJSON.py
View file @
396d814c
from
__future__
import
print_function
#try: //Implement try catch instead of if else
#from Products.ERP5Type.JSON import dumps
from
Products.ERP5Type.JSONEncoder
import
encodeInJson
as
dumps
...
...
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Alarm_checkPayableAndReceivableAccountGrouped.py
View file @
396d814c
...
...
@@ -3,7 +3,6 @@ that a 0 balance are grouped.
In other words, check that all transactions that can be grouped are grouped.
"""
from
__future__
import
print_function
from
builtins
import
str
from
Products.CMFActivity.ActiveResult
import
ActiveResult
active_process
=
context
.
newActiveProcess
()
...
...
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Base_importGapFile.py
View file @
396d814c
from
__future__
import
print_function
from
builtins
import
str
def
recursiveDocumentList
(
obj
):
ret
=
[]
...
...
bt5/erp5_accounting_l10n_br_extend/SkinTemplateItem/portal_skins/erp5_accounting_l10n_br_extend/ERP5Site_fixBrazilianGapIds.py
View file @
396d814c
from
__future__
import
print_function
category_list
=
context
.
portal_catalog
(
path
=
"%portal_categories/gap2/br%"
)
for
cat
in
category_list
:
...
...
bt5/erp5_accounting_l10n_br_sme/SkinTemplateItem/portal_skins/erp5_accounting_l10n_br_sme/ERP5Site_fixBrazilianGapIds.py
View file @
396d814c
from
__future__
import
print_function
category_list
=
context
.
portal_catalog
(
path
=
"%portal_categories/gap2/br%"
)
for
cat
in
category_list
:
...
...
bt5/erp5_accounting_l10n_pl/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl/FiscalReport_doReport.py
View file @
396d814c
from
__future__
import
print_function
from
builtins
import
str
from
builtins
import
range
from
builtins
import
object
...
...
bt5/erp5_accounting_l10n_pl_default_gap/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl_default_gap/AccountModule_createAccountFromGap.py
View file @
396d814c
...
...
@@ -2,7 +2,6 @@
Deployment script for crating initial accounts upon gap/pl/default structure
Warning: Before using this script as zope, edit account_workflow and give Manager permission to validate_action
"""
from
__future__
import
print_function
#This script will REMOVE any existing accounts!!!
#comment following if you are sure
...
...
bt5/erp5_accounting_l10n_pl_default_gap/SkinTemplateItem/portal_skins/erp5_accounting_l10n_pl_default_gap/ERP5Site_createDefaultPlGap.py
View file @
396d814c
...
...
@@ -4,7 +4,6 @@ Creates gap structure under gap/pl/default.
The definition text is a raw text representation of a wiki page
with accountants-approved gap structure
"""
from
__future__
import
print_function
gap_text
=
\
"""* [0] Aktywa trwałe
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ActivityTool_watchActivities.py
View file @
396d814c
from
__future__
import
print_function
print
(
'<html><head><meta http-equiv="refresh" content="%s"></head><body>'
%
refresh_interval
)
for
table
in
'message'
,
'message_queue'
:
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Base_dumpUnreferencedSecurityUid.py
View file @
396d814c
from
__future__
import
print_function
portal
=
context
.
getPortalObject
()
req
=
portal
.
erp5_sql_connection
.
manage_test
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Base_viewSecurity.py
View file @
396d814c
from
__future__
import
print_function
from
AccessControl
import
getSecurityManager
from
zExceptions
import
Unauthorized
from
pprint
import
pformat
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Base_viewSecurityMappingAsUser.py
View file @
396d814c
from
__future__
import
print_function
group_id_list_generator
=
getattr
(
context
,
'ERP5Type_asSecurityGroupId'
)
security_category_dict
=
{}
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_checkFolderHandler.py
View file @
396d814c
from
__future__
import
print_function
def
checkTopLevel
():
portal
=
context
.
getPortalObject
()
for
o
in
portal
.
objectValues
():
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpBuilderList.py
View file @
396d814c
from
__future__
import
print_function
for
builder
in
sorted
(
context
.
getPortalObject
().
portal_deliveries
.
contentValues
(),
key
=
lambda
x
:
x
.
getTitle
()):
print
(
builder
.
getId
())
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpInstalledBusinessTemplateList.py
View file @
396d814c
from
__future__
import
print_function
if
ignore_business_template_list
is
None
:
ignore_business_template_list
=
[]
for
business_template
in
sorted
(
context
.
getPortalObject
().
portal_templates
.
contentValues
(
portal_type
=
'Business Template'
),
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpOrderBuilderList.py
View file @
396d814c
from
__future__
import
print_function
for
builder
in
sorted
(
context
.
getPortalObject
().
portal_orders
.
contentValues
(),
key
=
lambda
x
:
x
.
getTitle
()):
print
(
builder
.
getId
())
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpPortalSkinsContent.py
View file @
396d814c
from
__future__
import
print_function
from
builtins
import
str
import
hashlib
portal
=
context
.
getPortalObject
()
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpPortalTypeActionList.py
View file @
396d814c
from
__future__
import
print_function
for
ti
in
sorted
(
context
.
getPortalObject
().
portal_types
.
contentValues
(),
key
=
lambda
x
:
x
.
getId
()):
for
ai
in
sorted
(
ti
.
contentValues
(
portal_type
=
'Action Information'
),
key
=
lambda
x
:
x
.
getReference
()):
print
(
ti
.
getId
())
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpPortalTypeList.py
View file @
396d814c
from
__future__
import
print_function
for
ti
in
sorted
(
context
.
getPortalObject
().
portal_types
.
contentValues
(),
key
=
lambda
x
:
x
.
getId
()):
print
(
ti
.
getId
())
print
(
" "
,
"
\
n
"
.
join
([
x
for
x
in
(
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpPortalTypeRoleList.py
View file @
396d814c
from
__future__
import
print_function
for
ti
in
sorted
(
context
.
getPortalObject
().
portal_types
.
contentValues
(),
key
=
lambda
x
:
x
.
getId
()):
for
ri
in
sorted
(
ti
.
contentValues
(
portal_type
=
'Role Information'
),
key
=
lambda
x
:(
x
.
getTitle
(),
x
.
getLocalRoleGroupId
(),
x
.
getRoleBaseCategoryScriptId
(),
x
.
getRoleBaseCategoryList
())):
print
(
ti
.
getId
())
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpPropertySheetList.py
View file @
396d814c
from
__future__
import
print_function
if
ignore_property_sheet_list
is
None
:
ignore_property_sheet_list
=
[]
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpRuleTesterList.py
View file @
396d814c
from
__future__
import
print_function
for
rule
in
sorted
(
context
.
getPortalObject
().
portal_rules
.
contentValues
(),
key
=
lambda
x
:
x
.
getTitle
()):
if
rule
.
getValidationState
()
!=
'validated'
:
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpSkinProperty.py
View file @
396d814c
from
__future__
import
print_function
# This method outputs the skin properties in the format that you can
# easily get diff like the following:
# ---
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/SkinsTool_listRelationFieldWithRelationSetterId.py
View file @
396d814c
"""Utility script listing all relation fields that are using relation_setter_id feature.
This helps migrating them after r33837
"""
from
__future__
import
print_function
multi_relation_field_meta_type_list
=
[
'RelationStringField'
,
'MultiRelationStringField'
]
for
field_path
,
field
in
context
.
ZopeFind
(
...
...
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/TemplateTool_deleteObsoleteTemplateList.py
View file @
396d814c
from
__future__
import
print_function
portal_templates
=
context
.
getPortalObject
().
portal_templates
delete_list
=
[]
bt_list
=
portal_templates
.
objectValues
()
...
...
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/ERP5Site_migrateToEmbeddedFile.py
View file @
396d814c
...
...
@@ -2,7 +2,6 @@
This script when triggered will migrate all embedded "File" and "Image"
objects to an unified "Embedded File".
"""
from
__future__
import
print_function
active_process
=
context
.
getPortalObject
().
portal_activities
.
newActiveProcess
()
context
.
ERP5Site_checkDataWithScript
(
"Base_migrateToEmbeddedFile"
,
tag
=
"migrate"
,
...
...
bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/Budget_getBudgetConsumptionReportData.py
View file @
396d814c
from
__future__
import
division
from
past.utils
import
old_div
from
pprint
import
pformat
portal
=
context
.
getPortalObject
()
...
...
bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/SaleOrder_getShoppingCartTotalPrice.py
View file @
396d814c
...
...
@@ -9,7 +9,6 @@
Script can optionally include currency.
"""
from
__future__
import
division
from
builtins
import
str
from
past.utils
import
old_div
...
...
bt5/erp5_commerce_loyalty_program_test/SkinTemplateItem/portal_skins/erp5_commerce_loyalty_program_test/TradeModelLine_getBaseAmountQuantityMethod.py
View file @
396d814c
from
__future__
import
division
from
past.utils
import
old_div
if
base_application
in
(
'base_amount/loyalty_program/using_point'
,
'base_amount/loyalty_program/coupon'
):
def
getBaseAmountQuantity
(
delivery_amount
,
base_application
,
**
kw
):
...
...
bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wizard/ConfiguratorTool_viewRunningInstallationMessage.py
View file @
396d814c
from
__future__
import
division
# different part of the configuration process in estimatd percentages
# values for machine with pystones =(1.3600000000000012, 36764.705882352908)
from
past.utils
import
old_div
...
...
bt5/erp5_configurator_maxma_demo/SkinTemplateItem/portal_skins/erp5_configurator_maxma_demo/BusinessConfiguration_afterMaxmaDemoConfiguration.py
View file @
396d814c
""" This script will be called to apply the customization. """
from
__future__
import
print_function
from
AccessControl
import
getSecurityManager
from
erp5.component.module.Log
import
log
...
...
bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_standard/BusinessConfiguration_afterConfiguration.py
View file @
396d814c
""" This script will be called to apply the customization. """
from
__future__
import
print_function
from
erp5.component.module.Log
import
log
portal
=
context
.
getPortalObject
()
...
...
bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_standard/ERP5Site_getTranslationMessageInConfiguratorUIAsPOT.py
View file @
396d814c
from
__future__
import
print_function
message_dict
=
{}
FUNC_NAME_LIST
=
(
'N_'
,
'Base_translateString'
,
...
...
bt5/erp5_configurator_standard_ui_test/SkinTemplateItem/portal_skins/erp5_configurator_standard_ui_test/Zuite_assertEndConfiguration.py
View file @
396d814c
from
__future__
import
print_function
from
builtins
import
str
portal
=
context
.
getPortalObject
()
html_status_report
=
str
(
portal
.
portal_configurator
.
getInstallationStatusReport
(
active_process_id
=
2
))
...
...
bt5/erp5_consulting/SkinTemplateItem/portal_skins/erp5_consulting/FastInput_generateObjectStructure.py
View file @
396d814c
from
__future__
import
print_function
from
past.builtins
import
cmp
from
builtins
import
range
...
...
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventModule_migrateEventWorkflowHistory.py
View file @
396d814c
from
__future__
import
print_function
portal
=
context
.
getPortalObject
()
active_process
=
portal
.
portal_activities
.
newActiveProcess
()
portal
.
event_module
.
recurseCallMethod
(
...
...
bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/PersonModule_viewEmailReport.py
View file @
396d814c
from
__future__
import
print_function
uids
=
context
.
portal_selections
.
getSelectionCheckedUidsFor
(
selection_name
)
if
len
(
uids
)
==
0
:
# uids = map(lambda x:x.uid, context.portal_selections.callSelectionFor(selection_name))
...
...
bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Alarm_senseDocumentToUpdate.py
View file @
396d814c
...
...
@@ -4,7 +4,6 @@ is based on calculation of the frequency_index and creation_date_index.
Documents which their frequency_index and creation_date_index are the
same as those calculated, are updated.
"""
from
__future__
import
division
from
builtins
import
range
from
past.utils
import
old_div
from
erp5.component.module.DateUtils
import
convertDateToHour
...
...
bt5/erp5_dms_conversion_catalog/SkinTemplateItem/portal_skins/erp5_dms_conversion_catalog/ERP5Site_preConvertDocumentList.py
View file @
396d814c
...
...
@@ -4,7 +4,6 @@
It will do that recursively in entire ERP5 instance.
"""
from
__future__
import
print_function
context
.
ERP5Site_checkDataWithScript
(
"Base_callPreConvert"
,
tag
=
"pre_convert"
,
packet
=
2
,
...
...
bt5/erp5_dms_ui_test/SkinTemplateItem/portal_skins/erp5_dms_ui_test/Zuite_setupDMS.py
View file @
396d814c
from
__future__
import
print_function
# Setup System Preference
dms_system_preference_id
=
'dms_system_preference_ui_tests'
portal_preferences
=
context
.
portal_preferences
...
...
bt5/erp5_dms_ui_test/SkinTemplateItem/portal_skins/erp5_dms_ui_test/Zuite_tearDownDMS.py
View file @
396d814c
from
__future__
import
print_function
# Delete System Preference
#portal_preferences = context.portal_preferences
#portal_preferences.manage_delObjects(['dms_system_preference_ui_tests', 'dms_preference_ui_tests'])
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_findTermFromPortalType.py
View file @
396d814c
from
__future__
import
print_function
result
=
context
.
GlossaryModule_getTermDictListFromPortalType
(
portal_type_list
)
if
export_tsv
:
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_findTermFromPropertySheet.py
View file @
396d814c
from
__future__
import
print_function
result
=
context
.
GlossaryModule_getTermDictListFromPropertySheet
(
property_sheet_list
)
if
export_tsv
:
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_findTermFromWorkflow.py
View file @
396d814c
from
__future__
import
print_function
result
=
context
.
GlossaryModule_getTermDictListFromWorkflow
(
template_list
)
if
export_tsv
:
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_getPOFile.py
View file @
396d814c
from
__future__
import
print_function
from
DateTime
import
DateTime
MESSAGE_TEMPLATE
=
'''
\
msgid %(english)s
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_migrateLanguageProperty.py
View file @
396d814c
from
__future__
import
print_function
# This script set language property according to existing language category.
for
i
in
context
.
getPortalObject
().
glossary_module
.
objectValues
():
lang_list
=
[
x
.
split
(
'/'
)[
1
]
for
x
in
i
.
categories
if
x
.
startswith
(
'language/'
)]
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/Base_formatDiffObjectListToHTML.py
View file @
396d814c
from
__future__
import
print_function
from
erp5.component.module.DiffUtils
import
DiffFile
from
Products.PythonScripts.standard
import
html_quote
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/Base_formatDiffObjectListToText.py
View file @
396d814c
from
__future__
import
print_function
def
sortDiffObjectList
(
diff_object_list
):
return
sorted
(
diff_object_list
,
key
=
lambda
x
:
(
x
.
object_state
,
x
.
object_class
,
x
.
object_id
))
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/Base_viewSimulationTree.py
View file @
396d814c
from
__future__
import
print_function
# License: GPL
# Author: Lukasz Nowak <lukasz.nowak@ventis.com.pl>
# Copyright 2007 Ventis s. c.
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/ERP5Site_getToBeTranslatedMessageListFromEntireSystemAsPot.py
View file @
396d814c
from
__future__
import
print_function
from
Products.ERP5Type.Utils
import
getMessageIdWithContext
message_dict
=
{}
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/ERP5Site_showAllUsedSelectionNames.py
View file @
396d814c
from
__future__
import
print_function
# This tool is able to check, if selection_name in listboxes in forms
# are unique "enough".
# It shall print nothing on properly made site, which will mean
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/ERP5Type_cloneRoleInformation.py
View file @
396d814c
"""Obsolete compatibility script.
"""
from
__future__
import
print_function
from
erp5.component.module.Log
import
log
log
(
"Obsolete script, please use BaseType_copyRoleList instead"
)
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/SkinsTool_getDeadProxyFieldList.py
View file @
396d814c
"""List all dead proxy fields
"""
from
__future__
import
print_function
portal_skin
=
context
.
REQUEST
.
get
(
'portal_skin'
,
'View'
)
print
(
"<html>"
)
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/SkinsTool_getNotAssignedFieldList.py
View file @
396d814c
"""Prints all fields that are in 'not assigned' group.
This happens after updating a form where some fields have been added locally.
"""
from
__future__
import
print_function
for
form_path
,
form
in
context
.
ZopeFind
(
context
.
portal_skins
,
obj_metatypes
=
[
'ERP5 Form'
],
search_sub
=
1
):
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/SkinsTool_getRelationStringFieldWithoutProxyListBoxIdOrColumns.py
View file @
396d814c
from
__future__
import
print_function
multi_relation_field_meta_type_list
=
[
'RelationStringField'
,
'MultiRelationStringField'
]
for
field_path
,
field
in
context
.
ZopeFind
(
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/SkinsTool_listDuplicateSkins.py
View file @
396d814c
"""List all skins that are present in more than one skin folder, ordered by
priority.
"""
from
__future__
import
print_function
# make sure context is the skins tool
stool
=
context
.
portal_skins
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/BusinessTemplate_doVcsDiff.py
View file @
396d814c
from
__future__
import
print_function
from
past.builtins
import
basestring
vcs_tool
=
context
.
getVcsTool
()
template_tool
=
context
.
getPortalObject
().
portal_templates
...
...
bt5/erp5_immobilisation/SkinTemplateItem/portal_skins/erp5_accounting_fr/actual_use/ratioCalculation.py
View file @
396d814c
from
__future__
import
division
from
past.utils
import
old_div
initial_durability
=
kw
.
get
(
'initial_durability'
)
if
start_remaining_annuities
is
None
or
stop_remaining_annuities
is
None
\
...
...
bt5/erp5_immobilisation/SkinTemplateItem/portal_skins/erp5_immobilisation/AmortisationSystem_addAmortisationMethod.py
View file @
396d814c
from
__future__
import
print_function
# XXX Not updated, Immobilisation portal_type does not exist anymore
# but it has to update each delivery line and cell portal_type which
# has already such actions
...
...
bt5/erp5_immobilisation/SkinTemplateItem/portal_skins/erp5_immobilisation/PortalType_ImmobilisationDelivery_addImmobilisationActions.py
View file @
396d814c
from
__future__
import
print_function
actions_to_add
=
[
{
'name'
:
'Immobilisation Validity Errors'
,
'id'
:
'immobilisation_validity_errors'
,
...
...
bt5/erp5_immobilisation/SkinTemplateItem/portal_skins/erp5_immobilisation/PortalType_ImmobilisationMovement_addAmortisationMethodActions.py
View file @
396d814c
from
__future__
import
print_function
from
string
import
capitalize
view_id_basis
=
"%s_%s_amortisation_method_view_details"
...
...
bt5/erp5_immobilisation/SkinTemplateItem/portal_skins/erp5_immobilisation/PortalType_Item_addImmobilisationActions.py
View file @
396d814c
from
__future__
import
print_function
actions_to_add
=
[
{
'name'
:
'Immobilisation Periods'
,
'id'
:
'immobilisation_periods'
,
...
...
bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgeBox_getDefaultPreferencesDictAsJSON.py
View file @
396d814c
from
__future__
import
print_function
user_preferences
=
context
.
KnowledgeBox_getDefaultPreferencesDict
()
print
(
user_preferences
)
return
printed
bt5/erp5_knowledge_pad_ui_test/SkinTemplateItem/portal_skins/erp5_knowledge_pad_ui_test/Zuite_setupGadgets.py
View file @
396d814c
from
__future__
import
print_function
# Publish all knowledge pad gadgets
for
gadget
in
context
.
portal_gadgets
.
objectValues
():
if
gadget
.
getValidationState
()
==
'invisible'
:
...
...
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/WebManifest_createCloneFile.py
View file @
396d814c
from
__future__
import
print_function
portal
=
context
.
getPortalObject
()
# Get Software Product Object
...
...
bt5/erp5_officejs_ui_test/SkinTemplateItem/portal_skins/erp5_officejs_ui_test/ERP5Site_printParameterAsHTMLTitle.py
View file @
396d814c
from
__future__
import
print_function
print
(
"<html><body><h1 class='test-script-title'>Title is : "
+
parameter
+
"</h1></body></html>"
)
return
printed
bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPaySheetTransactionAsText.py
View file @
396d814c
...
...
@@ -2,7 +2,6 @@
this script is just made to have a simple visual render of the paysheet
calculation
'''
from
__future__
import
print_function
from
builtins
import
str
line_dict_list
=
context
.
PaySheetTransaction_getLineListAsDict
()
...
...
bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/DSNMonthlyReport_getDataDict.py
View file @
396d814c
from
__future__
import
division
from
builtins
import
str
from
past.utils
import
old_div
from
erp5.component.module.DateUtils
import
addToDate
,
getIntervalBetweenDates
,
getNumberOfDayInMonth
...
...
bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/DSNMonthlyReport_getDataDictPhaseTwo.py
View file @
396d814c
from
__future__
import
division
from
builtins
import
str
from
past.utils
import
old_div
from
erp5.component.module.DateUtils
import
getNumberOfDayInMonth
...
...
bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/DSNMonthlyReport_getSocialContributionDict.py
View file @
396d814c
from
__future__
import
division
from
builtins
import
str
from
past.utils
import
old_div
from
erp5.component.module.DateUtils
import
addToDate
...
...
bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/PaySheetTransaction_getSocialContributionDict.py
View file @
396d814c
from
__future__
import
division
from
builtins
import
str
from
past.utils
import
old_div
from
erp5.component.module.DateUtils
import
getNumberOfDayInMonth
...
...
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_getPriceCalculationOperandDict.py
View file @
396d814c
# coding: utf-8
from
__future__
import
division
from
builtins
import
next
from
builtins
import
zip
from
past.utils
import
old_div
...
...
bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_getScaledInventoryList.py
View file @
396d814c
...
...
@@ -7,7 +7,6 @@ Uses sampling_amount, defaults to 20.
Samples inventory by proper differency, returns
sampling_amount inventory lines, sorted by date.
"""
from
__future__
import
division
# XXX: Might be set in preferences
from
builtins
import
str
...
...
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_generateQuantityReport.py
View file @
396d814c
from
__future__
import
division
# This is what we want to display in the report
# project_month worker1 worker2 worker3
# january 34 32 15
...
...
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getMonthlyReportSectionList.py
View file @
396d814c
from
__future__
import
division
from
builtins
import
range
from
past.utils
import
old_div
request
=
context
.
REQUEST
...
...
bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_exportTaskReportListAsiCalendar.py
View file @
396d814c
"""Export the current selection in task report module in iCalendar format.
"""
from
__future__
import
print_function
from
zExceptions
import
Unauthorized
# XXX bypass CookieCrumbler
if
context
.
REQUEST
.
AUTHENTICATED_USER
.
getUserName
()
==
'Anonymous User'
:
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPageModule_updateTestPageID.py
View file @
396d814c
...
...
@@ -2,7 +2,6 @@
This script is intended to be run before exporting business template of test pages
It will change ID of all published/shared/released test page so that it can be exported easily
"""
from
__future__
import
print_function
portal
=
context
.
getPortalObject
()
test_pages
=
portal
.
test_page_module
.
searchFolder
(
validation_state
=
...
...
bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ERP5Site_getTileImageMetadataList.py
View file @
396d814c
from
__future__
import
print_function
import
json
portal
=
context
.
getPortalObject
()
context
.
REQUEST
.
response
.
setHeader
(
'Access-Control-Allow-Origin'
,
'*'
)
...
...
bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/SeleniumSafeImage_uploadFile.py
View file @
396d814c
from
__future__
import
print_function
#from Products.ERP5.Document.TileImageTransformed import TileImageTransformed
#from cStringIO import StringIO
...
...
bt5/erp5_scalability_test/SkinTemplateItem/portal_skins/erp5_scalability_test/ERP5Site_getScalabilityTestMetric.py
View file @
396d814c
from
__future__
import
division
from
past.utils
import
old_div
import
json
from
DateTime
import
DateTime
...
...
bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestResultModule_getTestPerfResultList.py
View file @
396d814c
from
__future__
import
division
#from Products.ERP5Type.Document import newTempBase
#from Products.ZSQLCatalog.SQLCatalog import ComplexQuery, SimpleQuery
from
builtins
import
str
...
...
bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestResult_afterComplete.py
View file @
396d814c
""" Called after test results are saved under ERP5 from workflow transition. """
from
__future__
import
print_function
recipient_list
=
[]
include_link
=
1
...
...
bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestResult_getSummary.py
View file @
396d814c
...
...
@@ -2,7 +2,6 @@
Return for buildbot test summary info.
status, all tests, failures, errors
"""
from
__future__
import
print_function
seconds
=
0.0
for
obj
in
context
.
contentValues
():
seconds
+=
obj
.
getProperty
(
'duration'
)
...
...
bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestResult_restartStuckLine.py
View file @
396d814c
from
__future__
import
division
from
past.utils
import
old_div
from
DateTime
import
DateTime
now
=
DateTime
()
...
...
bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestResult_viewTestResultLineStdoutSet.py
View file @
396d814c
...
...
@@ -3,7 +3,6 @@ Web API intended for listing, one per line, the report URL (typically present
in node's stdout) of all nodes involved in a Test Result.
Multiline stdout values behaviour is undefined.
"""
from
__future__
import
print_function
for
test_result_node
in
context
.
objectValues
(
portal_type
=
'Test Result Node'
):
if
test_result_node
.
getCmdline
()
==
'LOG url'
:
print
(
test_result_node
.
getStdout
())
...
...
bt5/erp5_tiosafe_core/SkinTemplateItem/portal_skins/erp5_integration/IntegrationTestModule_createFormFromPropertySheet.py
View file @
396d814c
from
__future__
import
print_function
# This script is intented to be called on a form
ps
=
context
.
getPortalObject
().
portal_property_sheets
[
property_sheet_id
]
...
...
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Order_printAsODSSummary.py
View file @
396d814c
from
__future__
import
division
# this API uses format= as argument
# pylint: disable=redefined-builtin
...
...
bt5/erp5_travel_expense/SkinTemplateItem/portal_skins/erp5_hr_record/ERP5Site_migrateData.py
View file @
396d814c
from
__future__
import
print_function
portal
=
context
.
getPortalObject
()
# Update Photos
...
...
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_getHeightFromQuantity.py
View file @
396d814c
"""Returns the quantity divided by the max quantity"""
from
__future__
import
division
from
past.utils
import
old_div
q
=
context
.
getQuantity
()
max_q
=
0.0
...
...
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/ErrorLog_reportErrorList.py
View file @
396d814c
from
__future__
import
print_function
for
error_entry
in
context
.
error_log
.
getLogEntries
():
for
key
in
error_entry
:
if
key
not
in
[
"tb_text"
,
"tb_html"
,
'req_html'
]:
...
...
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/MailHost_reportMessageList.py
View file @
396d814c
...
...
@@ -6,7 +6,6 @@
the instance spam mailing lists during the
Functional Tests.
"""
from
__future__
import
print_function
if
getattr
(
context
.
MailHost
,
"getMessageList"
,
None
)
is
None
:
return
"ERROR: MailHost is not a DummyMailHost"
...
...
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/TestTool_cleanUpTestResults.py
View file @
396d814c
from
__future__
import
print_function
from
zExceptions
import
BadRequest
portal_tests
=
container
.
portal_tests
if
test_zuite_relative_url
is
not
None
:
...
...
bt5/erp5_web_project_ui_test/SkinTemplateItem/portal_skins/erp5_web_project_test/ERP5Site_createTestStartedProject.py
View file @
396d814c
from
__future__
import
print_function
import
time
from
datetime
import
datetime
portal
=
context
.
getPortalObject
()
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_auto_logout/setAuthCookie.py
View file @
396d814c
from
__future__
import
division
from
future
import
standard_library
standard_library
.
install_aliases
()
from
past.utils
import
old_div
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_generateMonthDomain.py
View file @
396d814c
from
__future__
import
division
# - Months always starts at 0h of the current month's first day and
# finish 0h of the next month's first day.
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_renameCategory.py
View file @
396d814c
from
__future__
import
print_function
from
builtins
import
str
new_category_list
=
()
from_cat
=
from_cat
+
'/'
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_roundPlanningBoxBoundToMinute.py
View file @
396d814c
...
...
@@ -2,7 +2,6 @@
Script used by PlanningBox validator to round the bound dates to the
closest full minute.
"""
from
__future__
import
division
from
past.utils
import
old_div
if
full_date
.
second
()
>
30
:
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.py
View file @
396d814c
from
__future__
import
print_function
from
random
import
getrandbits
portal
=
context
.
getPortalObject
()
if
clear_catalog
:
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexLatestIndexedObjects.py
View file @
396d814c
from
__future__
import
print_function
# Reindex objects which indexation_timestamp is at most
# delta seconds before current time (ie, bound inclued).
# Unindex objects which cannot be found.
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_updateTranslationTable.py
View file @
396d814c
from
__future__
import
print_function
from
Products.ERP5Type.Utils
import
getMessageIdWithContext
supported_languages
=
context
.
Localizer
.
get_supported_languages
()
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/SkinsTool_checkDuplicateSelectionName.py
View file @
396d814c
This diff is collapsed.
Click to expand it.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/SkinsTool_checkFieldExternalValidator.py
View file @
396d814c
This diff is collapsed.
Click to expand it.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_getDetailedDiff.py
View file @
396d814c
This diff is collapsed.
Click to expand it.
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/zope/connectors/connectorERP5.py
View file @
396d814c
This diff is collapsed.
Click to expand it.
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/planning_coordinates.py
View file @
396d814c
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment