Commit ac36e283 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5:

* test: slapos_panel_compatibility was added
* test: create Trade Condition for Deposit
* test:  slapos_panel_compatibility skin selection
parent 0819fdad
......@@ -202,6 +202,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -255,6 +256,7 @@ erp5_jquery_sheet_editor
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -295,6 +297,7 @@ erp5_jquery_sheet_editor
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -337,6 +340,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -379,6 +383,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : '\n'.join(common_folder_list.split('\n')[1:]),
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -417,6 +422,7 @@ erp5_jquery_sheet_editor
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -456,6 +462,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -494,6 +501,7 @@ erp5_jquery_sheet_editor
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -532,6 +540,7 @@ erp5_jquery_sheet_editor
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -571,6 +580,7 @@ erp5_jquery_sheet_editor
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -611,6 +621,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -651,6 +662,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -691,6 +703,7 @@ erp5_jquery_sheet_editor
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -732,6 +745,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -771,6 +785,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -808,6 +823,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -845,6 +861,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -882,6 +899,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -936,6 +954,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -973,6 +992,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -1010,6 +1030,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -1047,6 +1068,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -1084,6 +1106,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......@@ -1124,6 +1147,7 @@ erp5_xhtml_style
external_method
slapos_disaster_recovery
slapos_panel
slapos_panel_compatibility
""" % {'common_folder_list' : common_folder_list,
'common2_folder_list' : common2_folder_list,
'common3_folder_list' : common3_folder_list,
......
......@@ -176,6 +176,18 @@ class TestSlapOSVirtualMasterScenarioMixin(DefaultScenarioMixin):
)
sale_trade_condition.validate()
# Create Trade Condition to create Deposit
sale_trade_condition = self.portal.sale_trade_condition_module.newContent(
portal_type="Sale Trade Condition",
reference="For deposit",
trade_condition_type="deposit",
specialise_value=sale_trade_condition,
source_value=seller_organisation,
source_section_value=seller_organisation,
price_currency_value=currency,
)
sale_trade_condition.validate()
# Create Trade Condition to create Project
if is_virtual_master_accountable:
source_section_value = seller_organisation
......
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