This question has been flagged

I need have a form view where I need a editable list so the user can edit some values on the fly. Those related records have data in relations as well so it has lists so I need to open it in a form view that has the options to edit and save data.

But if you have a editable list, when you click on a record it just gives you a popup of the form view that cannot be edited. So I need another list with way less data that is not editable so it will open a real form view and not a popup!

But if I have both lists on the same form view it just shows data on the one that is last in the view definition.  

An example how my structure in the form view is:

<form>
    <notebook>
        <page string="Editable List">
            <field name=related_ids>
                <tree editable="bottom" create="0">
                    <field name="name"/>
                    <field name="editable_data_field_1"/>
                    <field name="editable_data_field_2"/>
                </tree>
            </field>
        </page>
        <page string="Open form view">
            <field name=related_ids>
                <tree>
                    <field name="name"/>  
                </tree>
            </field>
        </page>
    </notebook>
</form>


Avatar
Discard