diff --git a/templates/design40_webpages/part/_parent_variant.html b/templates/design40_webpages/part/_parent_variant.html
index 56f380ac43..b7e031f239 100644
--- a/templates/design40_webpages/part/_parent_variant.html
+++ b/templates/design40_webpages/part/_parent_variant.html
@@ -210,100 +210,6 @@
[% BLOCK panel_1 %]
-
[% LxERP.t8("Create new Variants") %]
-
- [% FOREACH variant_property = SELF.part.variant_properties %]
-
-
[% variant_property.displayable_name | html %]
- [% L.select_tag("variant_properties." _ variant_property.id _ ".selected_property_value_ids[]",
- variant_property.property_values,
- title_key='displayable_name', value_key='id',
- id="selected_property_value_ids_" _ variant_property.id,
- multiple=1,
- ) %]
- [% L.multiselect2side(
- "selected_property_value_ids_" _ variant_property.id,
- labelsx=LxERP.t8("All Property Values"),
- labeldx=LxERP.t8("Selected Property Values")
- ) %]
-
- [% END %]
-
- [% L.button_tag('kivi.Part.create_variants();', LxERP.t8("Create Variants with selected Values")) %]
- [% END %]
-
-
- [%
- INCLUDE 'common/toggle_panel.html'
- block_name='panel_1'
- toggle_class='panel_1'
- display_status='closed'
- button_closed=LxERP.t8('Show Create new Variants')
- button_open=LxERP.t8('Hide Create new Variants')
- %]
-
-
- [% BLOCK panel_2 %]
- [% LxERP.t8("Convert Part to Variant") %]
-
-
- [% 'Variant Properties' | $T8 %]
-
-
-
- [% FOREACH variant_property = SELF.part.variant_properties %]
- [% variant_property.displayable_name | html %] |
- [% END %]
-
-
-
-
- [% FOREACH variant_property = SELF.part.variant_properties %]
-
- [% L.select_tag("convert_part.variant_properties." _ variant_property.id _ ".selected_property_value_id",
- variant_property.property_values,
- title_key='displayable_name', value_key='id',
- size=variant_property.property_values.size,
- ) %]
- |
- [% END %]
-
-
-
-
- [% P.part.picker('convert_part.id', undef,
- part_type=SELF.part.part_type, variant_type='single',
- placeholder=(LxERP.t8('Type:') _ ' ' _ LxERP.t8(SELF.part.part_type)),
- class="wi-wide"
- ) %]
-
-
- [% L.button_tag('kivi.Part.convert_part_to_variant();', LxERP.t8("Convert")) %]
- [% END %]
-
-
- [%
- INCLUDE 'common/toggle_panel.html'
- block_name='panel_2'
- toggle_class='panel_2'
- display_status='closed'
- button_closed=LxERP.t8('Show Convert Part to Variant')
- button_open=LxERP.t8('Hide Convert Part to Variant')
- %]
-
-
-
- [%
- INCLUDE 'common/toggle_panel.html'
- block_name='panel_3'
- toggle_class='panel_3'
- display_status='open'
- button_closed=LxERP.t8('Show Edit Properties')
- button_open=LxERP.t8('Hide Edit Properties')
- %]
-
-
- [% BLOCK panel_3 %]
[% LxERP.t8("Edit Properties") %]
@@ -437,6 +343,100 @@ [% LxERP.t8("Edit Properties") %]
[% L.button_tag('kivi.Part.update_variants_properties();', LxERP.t8("Update Variants")) %]
[% END %]
+
+ [%
+ INCLUDE 'common/toggle_panel.html'
+ block_name='panel_1'
+ toggle_class='panel_1'
+ display_status='closed'
+ button_closed=LxERP.t8('Show Edit Properties')
+ button_open=LxERP.t8('Hide Edit Properties')
+ %]
+
+
+ [% BLOCK panel_2 %]
+ [% LxERP.t8("Create new Variants") %]
+
+ [% FOREACH variant_property = SELF.part.variant_properties %]
+
+
[% variant_property.displayable_name | html %]
+ [% L.select_tag("variant_properties." _ variant_property.id _ ".selected_property_value_ids[]",
+ variant_property.property_values,
+ title_key='displayable_name', value_key='id',
+ id="selected_property_value_ids_" _ variant_property.id,
+ multiple=1,
+ ) %]
+ [% L.multiselect2side(
+ "selected_property_value_ids_" _ variant_property.id,
+ labelsx=LxERP.t8("All Property Values"),
+ labeldx=LxERP.t8("Selected Property Values")
+ ) %]
+
+ [% END %]
+
+ [% L.button_tag('kivi.Part.create_variants();', LxERP.t8("Create Variants with selected Values")) %]
+ [% END %]
+
+
+ [%
+ INCLUDE 'common/toggle_panel.html'
+ block_name='panel_2'
+ toggle_class='panel_2'
+ display_status='closed'
+ button_closed=LxERP.t8('Show Create new Variants')
+ button_open=LxERP.t8('Hide Create new Variants')
+ %]
+
+
+ [% BLOCK panel_3 %]
+ [% LxERP.t8("Convert Part to Variant") %]
+
+
+ [% 'Variant Properties' | $T8 %]
+
+
+
+ [% FOREACH variant_property = SELF.part.variant_properties %]
+ [% variant_property.displayable_name | html %] |
+ [% END %]
+
+
+
+
+ [% FOREACH variant_property = SELF.part.variant_properties %]
+
+ [% L.select_tag("convert_part.variant_properties." _ variant_property.id _ ".selected_property_value_id",
+ variant_property.property_values,
+ title_key='displayable_name', value_key='id',
+ size=variant_property.property_values.size,
+ ) %]
+ |
+ [% END %]
+
+
+
+
+ [% P.part.picker('convert_part.id', undef,
+ part_type=SELF.part.part_type, variant_type='single',
+ placeholder=(LxERP.t8('Type:') _ ' ' _ LxERP.t8(SELF.part.part_type)),
+ class="wi-wide"
+ ) %]
+
+
+ [% L.button_tag('kivi.Part.convert_part_to_variant();', LxERP.t8("Convert")) %]
+ [% END %]
+
+
+ [%
+ INCLUDE 'common/toggle_panel.html'
+ block_name='panel_3'
+ toggle_class='panel_3'
+ display_status='closed'
+ button_closed=LxERP.t8('Show Convert Part to Variant')
+ button_open=LxERP.t8('Hide Convert Part to Variant')
+ %]
+
+