diff --git a/odoo_openupgrade_wizard/templates/config.yml.j2 b/odoo_openupgrade_wizard/templates/config.yml.j2 index dcda4a7..d435171 100644 --- a/odoo_openupgrade_wizard/templates/config.yml.j2 +++ b/odoo_openupgrade_wizard/templates/config.yml.j2 @@ -35,32 +35,32 @@ migration_steps: workload_settings: - # Ignored module list - ignored_module_list: [] + # Ignored module list + ignored_module_list: [] - # porting a module requires 45 minutes minimaly - port_minimal_time: 45 + # porting a module requires 45 minutes minimaly + port_minimal_time: 45 - # a migration cost more for each version - port_per_version: 15 + # a migration cost more for each version + port_per_version: 15 - # Porting 120 lines of Python code costs 1 hour - port_per_python_line_time: 0.5 + # Porting 120 lines of Python code costs 1 hour + port_per_python_line_time: 0.5 - # Porting 120 lines of Javascript code costs 1 hour - port_per_javascript_line_time: 0.5 + # Porting 120 lines of Javascript code costs 1 hour + port_per_javascript_line_time: 0.5 - # Porting 10 lines of XML costs 1 minute - port_per_xml_line_time: 0.10 + # Porting 10 lines of XML costs 1 minute + port_per_xml_line_time: 0.10 - # Minimal time for Openupgrade PR - open_upgrade_minimal_time: 10 + # Minimal time for Openupgrade PR + open_upgrade_minimal_time: 10 - # time for a line of model in the openupgrade_analysis.txt - openupgrade_model_line_time: 10 + # time for a line of model in the openupgrade_analysis.txt + openupgrade_model_line_time: 10 - # Time for a line of field in the openupgrade_analysis.txt - openupgrade_field_line_time: 5 + # Time for a line of field in the openupgrade_analysis.txt + openupgrade_field_line_time: 5 - # Time for a line of XML in the openupgrade_analysis.txt - openupgrade_xml_line_time: 0.1 + # Time for a line of XML in the openupgrade_analysis.txt + openupgrade_xml_line_time: 0.1 diff --git a/tests/data/output_expected/config.yml b/tests/data/output_expected/config.yml index dcf6ba0..c9784ed 100644 --- a/tests/data/output_expected/config.yml +++ b/tests/data/output_expected/config.yml @@ -42,32 +42,32 @@ migration_steps: workload_settings: - # Ignored module list - ignored_module_list: [] + # Ignored module list + ignored_module_list: [] - # porting a module requires 45 minutes minimaly - port_minimal_time: 45 + # porting a module requires 45 minutes minimaly + port_minimal_time: 45 - # a migration cost more for each version - port_per_version: 15 + # a migration cost more for each version + port_per_version: 15 - # Porting 120 lines of Python code costs 1 hour - port_per_python_line_time: 0.5 + # Porting 120 lines of Python code costs 1 hour + port_per_python_line_time: 0.5 - # Porting 120 lines of Javascript code costs 1 hour - port_per_javascript_line_time: 0.5 + # Porting 120 lines of Javascript code costs 1 hour + port_per_javascript_line_time: 0.5 - # Porting 10 lines of XML costs 1 minute - port_per_xml_line_time: 0.10 + # Porting 10 lines of XML costs 1 minute + port_per_xml_line_time: 0.10 - # Minimal time for Openupgrade PR - open_upgrade_minimal_time: 10 + # Minimal time for Openupgrade PR + open_upgrade_minimal_time: 10 - # time for a line of model in the openupgrade_analysis.txt - openupgrade_model_line_time: 10 + # time for a line of model in the openupgrade_analysis.txt + openupgrade_model_line_time: 10 - # Time for a line of field in the openupgrade_analysis.txt - openupgrade_field_line_time: 5 + # Time for a line of field in the openupgrade_analysis.txt + openupgrade_field_line_time: 5 - # Time for a line of XML in the openupgrade_analysis.txt - openupgrade_xml_line_time: 0.1 \ No newline at end of file + # Time for a line of XML in the openupgrade_analysis.txt + openupgrade_xml_line_time: 0.1