Commit 5e4e104e authored by Romain Courteaud's avatar Romain Courteaud

XXX do not install slapos_subscription_request

Everything should work without it.
It will be rework later.
parent 9ba2956f
...@@ -218,8 +218,6 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin): ...@@ -218,8 +218,6 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
'software_publication_module', 'software_publication_module',
'software_release_module', 'software_release_module',
'sound_module', 'sound_module',
'subscription_condition_module',
'subscription_request_module',
'support_request_module', 'support_request_module',
'system_event_module', 'system_event_module',
'task_module', 'task_module',
...@@ -264,7 +262,121 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin): ...@@ -264,7 +262,121 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
""" Make sure Installed business Templates are """ Make sure Installed business Templates are
what it is expected. """ what it is expected. """
expected_business_template_list = self.getExpectedBusinessTemplateInstalledAfterConfiguration() expected_business_template_list = [
'erp5_core',
'erp5_xhtml_style',
'erp5_property_sheets',
'erp5_mysql_innodb_catalog',
'erp5_upgrader',
'slapos_upgrader',
'erp5_full_text_mroonga_catalog',
'erp5_core_proxy_field_legacy',
'erp5_base',
'erp5_administration',
'erp5_configurator',
'slapos_configurator',
'erp5_simulation',
'erp5_pdm',
'erp5_trade',
'erp5_tiosafe_core',
'erp5_item',
'erp5_forge',
'erp5_ingestion_mysql_innodb_catalog',
'erp5_ingestion',
'erp5_crm',
'erp5_system_event',
'erp5_secure_payment',
'erp5_security_uid_innodb_catalog',
'erp5_payzen_secure_payment',
'erp5_wechat_secure_payment',
'erp5_ooo_import',
'erp5_odt_style',
'erp5_ods_style',
'erp5_jquery',
'erp5_jquery_plugin_colorpicker',
'erp5_jquery_plugin_elastic',
'erp5_jquery_plugin_jqchart',
'erp5_jquery_plugin_mbmenu',
'erp5_jquery_plugin_sheet',
'erp5_jquery_sheet_editor',
'erp5_jquery_ui',
'erp5_deferred_style',
'erp5_dhtml_style',
'erp5_knowledge_pad',
'erp5_web',
'erp5_rss_style',
'erp5_dms',
'erp5_content_translation',
'erp5_software_pdm',
'erp5_svg_editor',
'erp5_syncml',
'erp5_computer_immobilisation',
'erp5_open_trade',
'erp5_accounting',
'erp5_commerce',
'erp5_credential',
'erp5_km',
'erp5_web_download_theme',
'erp5_web_shacache',
'erp5_data_set',
'erp5_web_shadir',
'erp5_invoicing',
'erp5_simplified_invoicing',
'erp5_credential_oauth2',
'erp5_accounting_l10n_fr',
'erp5_accounting_l10n_ifrs',
'erp5_code_mirror',
'erp5_font',
'erp5_hal_json_style',
'erp5_immobilisation',
'erp5_l10n_fr',
'erp5_l10n_ja',
'erp5_l10n_zh',
'erp5_monaco_editor',
'erp5_movement_table_catalog',
'erp5_web_renderjs_ui',
'erp5_web_service',
'erp5_graph_editor',
'slapos_jio',
'slapos_l10n_zh',
'erp5_bearer_token',
'erp5_certificate_authority',
'erp5_access_token',
'erp5_project',
'erp5_oauth',
'erp5_oauth_facebook_login',
'erp5_oauth_google_login',
'erp5_run_my_doc',
'erp5_slapos_tutorial',
'erp5_slapos_tutorial_data',
'erp5_slideshow_style',
'erp5_authentication_policy',
'erp5_multimedia',
'erp5_corporate_identity',
'erp5_officejs',
'erp5_oauth2_resource',
'erp5_notebook',
'erp5_smart_assistant',
'erp5_interaction_drop',
'slapos_mysql_innodb_catalog',
'slapos_cloud',
'slapos_slap_tool',
'slapos_category',
'slapos_rss_style',
'slapos_pdm',
'slapos_crm',
'slapos_accounting',
'slapos_payzen',
'slapos_wechat',
'slapos_web_deploy',
'slapos_erp5',
'erp5_big_file',
'erp5_json_type',
'erp5_data_notebook',
'erp5_wendelin',
'slapos_abyss',
'erp5_development_wizard'
]
# If mixin contains a custom definition that introduce new business templated from # If mixin contains a custom definition that introduce new business templated from
# the project scope, them include it on expected list. # the project scope, them include it on expected list.
......
<local_roles_item>
<local_roles>
</local_roles>
</local_roles_item>
\ No newline at end of file
<local_roles_item>
<local_roles>
<role id='F-CUSTOMER'>
<item>Auditor</item>
</role>
<role id='F-PRODUCTION*'>
<item>Auditor</item>
</role>
</local_roles>
</local_roles_item>
\ No newline at end of file
<type_roles>
<role id='Auditor; Author'>
<property id='title'>Company group</property>
<multi_property id='categories'>local_role_group/group</multi_property>
<multi_property id='category'>group/company</multi_property>
<multi_property id='base_category'>group</multi_property>
</role>
</type_roles>
\ No newline at end of file
<type_roles>
<role id='Assignor'>
<property id='title'>Company group</property>
<multi_property id='categories'>local_role_group/group</multi_property>
<multi_property id='category'>group/company</multi_property>
<multi_property id='base_category'>group</multi_property>
</role>
</type_roles>
\ No newline at end of file
<type_roles>
<role id='Auditor'>
<property id='title'>Member</property>
<multi_property id='category'>function/customer</multi_property>
<multi_property id='base_category'>function</multi_property>
</role>
<role id='Auditor'>
<property id='title'>Production</property>
<multi_property id='category'>function/production*</multi_property>
<multi_property id='base_category'>function</multi_property>
</role>
</type_roles>
\ No newline at end of file
<type_roles>
<role id='Assignee'>
<property id='title'>Destination Project Production Agent</property>
<property id='description'>XXX add local role group</property>
<property id='condition'>python: context.getDestinationProject('', portal_type='Project') != ""</property>
<property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property>
<multi_property id='category'>function/production/agent</multi_property>
<multi_property id='base_category'>destination_project</multi_property>
</role>
<role id='Assignor'>
<property id='title'>Destination Project Production Manager</property>
<property id='description'>XXX add local role group</property>
<property id='condition'>python: context.getDestinationProject('', portal_type='Project') != ""</property>
<property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property>
<multi_property id='category'>function/production/manager</multi_property>
<multi_property id='base_category'>destination_project</multi_property>
</role>
<role id='Assignee'>
<property id='title'>Source Project Production Agent</property>
<property id='description'>XXX add local role group</property>
<property id='condition'>python: context.getSourceProject('', portal_type='Project') != ""</property>
<property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property>
<multi_property id='category'>function/production/agent</multi_property>
<multi_property id='base_category'>source_project</multi_property>
<multi_property id='base_category'>function</multi_property>
</role>
<role id='Assignor'>
<property id='title'>Source Project Production Manager</property>
<property id='description'>XXX add local role group</property>
<property id='condition'>python: context.getSourceProject('', portal_type='Project') != ""</property>
<property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property>
<multi_property id='category'>function/production/manager</multi_property>
<multi_property id='base_category'>source_project</multi_property>
<multi_property id='base_category'>function</multi_property>
</role>
</type_roles>
\ No newline at end of file
...@@ -25,7 +25,6 @@ import difflib ...@@ -25,7 +25,6 @@ import difflib
slapos_folder_list = """slapos_abyss slapos_folder_list = """slapos_abyss
slapos_base slapos_base
slapos_contract slapos_contract
slapos_subscription_request
slapos_crm_monitoring slapos_crm_monitoring
slapos_accounting slapos_accounting
slapos_administration slapos_administration
...@@ -898,7 +897,6 @@ slapos_upgrader ...@@ -898,7 +897,6 @@ slapos_upgrader
slapos_abyss slapos_abyss
slapos_base slapos_base
slapos_contract slapos_contract
slapos_subscription_request
slapos_crm_monitoring slapos_crm_monitoring
slapos_accounting slapos_accounting
slapos_administration slapos_administration
......
...@@ -17,7 +17,6 @@ slapos_jio ...@@ -17,7 +17,6 @@ slapos_jio
slapos_panel slapos_panel
slapos_payzen slapos_payzen
slapos_upgrader slapos_upgrader
slapos_subscription_request
slapos_web_deploy slapos_web_deploy
slapos_abyss slapos_abyss
erp5_slapos_tutorial_data erp5_slapos_tutorial_data
\ No newline at end of file
...@@ -91,8 +91,6 @@ service_module/zero_emission_ratio ...@@ -91,8 +91,6 @@ service_module/zero_emission_ratio
software_installation_module software_installation_module
software_instance_module software_instance_module
software_product_module software_product_module
subscription_condition_module
subscription_request_module
support_request_module support_request_module
support_request_module/slapos_crm_support_request_template support_request_module/slapos_crm_support_request_template
system_event_module system_event_module
......
...@@ -91,10 +91,6 @@ Software Instance ...@@ -91,10 +91,6 @@ Software Instance
Software Instance Module Software Instance Module
Software Product Software Product
Software Product Module Software Product Module
Subscription Condition
Subscription Condition Module
Subscription Request
Subscription Request Module
Support Request Support Request
Support Request Module Support Request Module
System Event Module System Event Module
......
...@@ -286,7 +286,6 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -286,7 +286,6 @@ class testSlapOSMixin(ERP5TypeTestCase):
'slapos_cloud', 'slapos_cloud',
'slapos_l10n_zh', 'slapos_l10n_zh',
'slapos_mysql_innodb_catalog', 'slapos_mysql_innodb_catalog',
'slapos_subscription_request',
'slapos_slap_tool', 'slapos_slap_tool',
'slapos_category', 'slapos_category',
'slapos_rss_style', 'slapos_rss_style',
......
...@@ -8,7 +8,6 @@ slapos_bt_list = [ ...@@ -8,7 +8,6 @@ slapos_bt_list = [
'erp5_web_shadir', 'erp5_web_shadir',
'slapos_accounting', 'slapos_accounting',
'slapos_cache', 'slapos_cache',
'slapos_subscription_request',
'slapos_cloud', 'slapos_cloud',
'slapos_erp5', 'slapos_erp5',
'slapos_pdm', 'slapos_pdm',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment