Hi,
I need the "add a line" button on top of the tree within a form.
How can I achieve this?
Thank you
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I need the "add a line" button on top of the tree within a form.
How can I achieve this?
Thank you
Hi,
You can use the attribute editable='top' in your tree view
example:
<tree string="Order" editable="top">
<field name="name"/>
<field name="model_id"/>
</tree>
Hope it helps
does not work if the tree is inside a form
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
7月 25
|
2493 | ||
|
2
7月 25
|
7936 | ||
|
2
7月 25
|
4371 | ||
|
2
7月 25
|
4087 | ||
|
2
6月 25
|
2687 |