24
24
<field name="arch" type="xml">
25
25
<form string="Product Configurator">
27
<field name="product_tmpl_id" on_change="onchange_product_tmpl_id(product_tmpl_id)"/>
28
<field name="product_variant_id" on_change="onchange_product_variant_id(product_variant_id, dimension_configuration_line_ids)" context="{'dimension_configuration_line_ids': dimension_configuration_line_ids}" />
31
<field colspan="4" name="dimension_configuration_line_ids">
32
<tree string="Dimension" editable="bottom">
33
<field name="dimension_type_id" readonly="1" on_change="onchange_dimension_type_id(dimension_type_id)" context="{'product_tmpl_id':parent.product_tmpl_id}" />
34
<field name="dimension_type_value_id" widget="selection" on_change="onchange_dimension_type_value_id(dimension_type_value_id)" />
35
<field name="dimension_custom_value" on_change="onchange_dimension_custom_value(dimension_custom_value, allow_custom_value)" attrs="{'readonly':[('allow_custom_value','=',False)]}" />
36
<field name="allow_custom_value" readonly="1"/>
38
<form string="Dimension" editable="bottom">
39
<field name="dimension_type_id" readonly="1" on_change="onchange_dimension_type_id(dimension_type_id)" context="{'product_tmpl_id':parent.product_tmpl_id}" />
40
<field name="dimension_type_value_id" widget="selection" on_change="onchange_dimension_type_value_id(dimension_type_value_id)" />
41
<field name="dimension_custom_value" on_change="onchange_dimension_custom_value(dimension_custom_value, allow_custom_value)" attrs="{'readonly':[('allow_custom_value','=',False)]}" />
42
<field name="allow_custom_value" readonly="1"/>
27
<field name="product_tmpl_id" on_change="onchange_product_tmpl_id(product_tmpl_id)"/>
28
<field name="product_variant_id" on_change="onchange_product_variant_id(product_variant_id, dimension_configuration_line_ids)" context="{'dimension_configuration_line_ids': dimension_configuration_line_ids}" />
31
<field colspan="4" name="dimension_configuration_line_ids">
32
<tree string="Dimension" editable="bottom">
33
<field name="dimension_type_id" readonly="1" on_change="onchange_dimension_type_id(dimension_type_id)" context="{'product_tmpl_id':parent.product_tmpl_id}" />
34
<field name="dimension_type_value_id" widget="selection" on_change="onchange_dimension_type_value_id(dimension_type_value_id)" />
35
<field name="dimension_custom_value" on_change="onchange_dimension_custom_value(dimension_custom_value, allow_custom_value)" attrs="{'readonly':[('allow_custom_value','=',False)]}" />
36
<field name="allow_custom_value" readonly="1"/>
38
<form string="Dimension">
39
<field name="dimension_type_id" readonly="1" on_change="onchange_dimension_type_id(dimension_type_id)" context="{'product_tmpl_id':parent.product_tmpl_id}" />
40
<field name="dimension_type_value_id" widget="selection" on_change="onchange_dimension_type_value_id(dimension_type_value_id)" />
41
<field name="dimension_custom_value" on_change="onchange_dimension_custom_value(dimension_custom_value, allow_custom_value)" attrs="{'readonly':[('allow_custom_value','=',False)]}" />
42
<field name="allow_custom_value" readonly="1"/>
47
48
<group col="2" colspan="2">