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

I can see setting create=false in the tree view, as it removes the create button at the top left.

But what does it do in a form? Does it do the same in the case where a menu entry direct pops up a form?

So far I've only used menu entry -> tree -> form.

Also, the Odoo API doc only mentions it relative to the tree/list view. On the other hand grepping through the Odoo sources reveals it being used on forms.

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

Let me answer my own question: while you're in a form, there's also a create button at the top. That's the one that will be removed.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ม.ค. 22
4051
2
ก.พ. 22
17473
How to create my own view? แก้ไขแล้ว
4
ธ.ค. 23
20055
2
ม.ค. 16
4230
1
มี.ค. 15
7027