Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3260 Lượt xem

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>


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 5 17
5475
2
thg 12 19
3006
0
thg 11 18
3272
2
thg 11 23
7514
2
thg 5 23
7798