odoo 10 中的 editable = "top" 和 editable = "bottom" 有什么区别?

what is the difference between editable = "top" and editable = "bottom" in odoo 10?

这是我的代码,

<tree string="School Tree" editable="top">
    <field name="name"/>
    <field name="school_id"/>
    <field name="age" />
</tree>

我尝试了 editable="top"editable="bottom" 但它给出了相同的结果,谁能解释确切的区别?

你可以看到x2many字段的区别:

editable="top" 当您单击添加项目时,树顶部会添加一行以输入信息

editable="bottom" 该行被添加到底部。

在 one2many 或 many2many 中使用 bottom 否则当行被添加到树的顶部时你会混淆用户,特别是当有几十行时。