跳至內容
選單
此問題已被標幟
3265 瀏覽次數

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>


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
5
5月 17
5477
2
12月 19
3008
0
11月 18
3272
2
11月 23
7519
2
5月 23
7801