Commit 1da1b6e6 authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Change order in which we update Bussiness Template

Required as most of the changes we have are in erp5_core and that's
why its important to install/update it before we install erp5_catalog_storage
bt5.
parent 7aa09b11
...@@ -812,8 +812,8 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin): ...@@ -812,8 +812,8 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
update_business_templates = os.environ.get('update_business_templates') is not None update_business_templates = os.environ.get('update_business_templates') is not None
erp5_load_data_fs = int(os.environ.get('erp5_load_data_fs', 0)) erp5_load_data_fs = int(os.environ.get('erp5_load_data_fs', 0))
if update_business_templates and erp5_load_data_fs: if update_business_templates and erp5_load_data_fs:
template_list[:0] = (erp5_catalog_storage, 'erp5_property_sheets', template_list[:0] = ('erp5_property_sheets', 'erp5_core',
'erp5_core', 'erp5_xhtml_style') erp5_catalog_storage, 'erp5_xhtml_style')
# keep a mapping type info name -> property sheet list, to remove them in # keep a mapping type info name -> property sheet list, to remove them in
# tear down. # tear down.
......
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