Skip to Content
Menu
This question has been flagged
3249 Zobrazenia

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
5
máj 17
5469
2
dec 19
3004
0
nov 18
3271
2
nov 23
7511
2
máj 23
7792