Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
9301 มุมมอง

I have a button to populate a one2many field by creating lines from a number of criteria with default values. I would like the fom to display a tree view of the lines which allows editing the default values in the lines but not adding new rows.

How can this be achieved?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

In the tree node of the one2many field, just set create="false".

This will disable the Add an item link.

See also this question

อวตาร
ละทิ้ง
ผู้เขียน
คำตอบที่ดีที่สุด

I this still possible in Odoo 16? No.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
How to auto refresh view? แก้ไขแล้ว
12
ธ.ค. 23
44305
7
ส.ค. 25
34430
0
มี.ค. 15
3305
0
มี.ค. 15
5085
8
ม.ค. 24
17082