跳至內容
選單
此問題已被標幟
2 回覆
1371 瀏覽次數

Hi,

In Odoo 16 I don't know how to show the attachment button in form view of my own model.

Thanks in advance,

Boris

頭像
捨棄
最佳答案

Hi Boris, I think you are talking about chatter attachment button, to add chatter on your form you need to inherit from mail.thread   on your model , add  on your manifest and then add this code at the end of the form tag on form view: 


頭像
捨棄
作者 最佳答案

HI Andrés Carles,

It works perfectly. Thank you very much.

Boris

頭像
捨棄