~openerp-commiter/openobject-addons/extra-6.0

« back to all changes in this revision

Viewing changes to mrp_bom_customization/configurator_view.xml

[IMP] Adding multi_company_stock_module, nto finished

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
                                        <field name="product_id" readonly="1"/>
29
29
                                        <field name="bom_property_id_selection" on_change="onchange_bom_property_id_selection(bom_property_id_selection, product_id, 'sol_id' in context and context['sol_id'])"/><!-- domain="[('group_id','=',13)]"  -->
30
30
                                        <field colspan="4" nolabel="1" name="configurator_line_ids" widget="one2many_list" on_change="onchange_configurator_line_ids(configurator_line_ids, bom_property_id_selection, product_id)">
31
 
                                                <form string="Key / Value" editable="bottom">
32
 
                                                        <field name="customization_group_id" readonly="1" />
 
31
                                                <form string="Key / Value" >
 
32
                                                        <field name="customization_group_id" readonly="1" required="0" />
33
33
                                                        <field name="customization_key_id" readonly="1" on_change="onchange_customization_key_id(customization_key_id)"/>
34
 
                                                        <field name="customization_value_id" widget="selection" />
 
34
                                                        <field name="customization_value_id" widget="selection" required="1"/>
35
35
                                                </form>
36
36
                                                <tree string="Key / Value" editable="bottom">
37
 
                                                        <field name="customization_group_id" readonly="1"/>
 
37
                                                        <field name="customization_group_id" readonly="1" required="0"/>
38
38
                                                        <field name="customization_key_id" readonly="1" />
39
 
                                                        <field name="customization_value_id" widget="selection"/>
 
39
                                                        <field name="customization_value_id" widget="selection" required="1"/>
40
40
                                                </tree>
41
41
                                        </field>
42
42
                                        <newline/>
43
43
                                        <group col="2" colspan="2">
44
 
                                                <button icon="gtk-cancel" special="cancel" string="Cancel" />
45
44
                                                <button icon="gtk-ok" name="configure_line" string="Validate" type="object" />
46
45
                                        </group>
47
46
                                </form>