Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3238 Zobrazení

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šit
Related Posts Odpovědi Zobrazení Aktivita
5
kvě 17
5436
2
pro 19
2970
0
lis 18
3254
2
lis 23
7496
2
kvě 23
7739