If I click on a table row with one2many field - popup appears with the form view for that model, however oe_chatter is not showing in the popup. How to make it work?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hi,
after spending hours searching for an answer, I found a solution (for Odoo v13 - but might also work for v11):
By default, the oe_chatter class gets hidden by CSS if the form is viewed in a popup. To resolve this issue, I simply added an inline-style to the oe_chatter-div like this:
<div class="oe_chatter" style="display:block;">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="message_ids" widget="mail_thread"/>
</div>
I also placed the chatter inside a notebook-page so that it renders fine.
Note: I also found the suggestion to simply remove the "oe_chatter"-class inside the div. This works to show the e-mail thread but it won't let you add new Notes and E-Mails (see https://www.odoo.com/fr_FR/forum/aide-1/question/odoo-10-chatter-in-popup-dialogs-129284 )
-Robert
You are a genius, Robert! It works for v11 as well!
Hi guys,
Any way of doing this in Odoo 16 or 17 SaaS?
Thanks!
I tested it in 16.0. Adding style="display:block;" to chatter and moving it to <sheet> will display chatter in popup form
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 1 22
|
18629 | ||
|
3
thg 7 19
|
5500 | ||
|
3
thg 4 15
|
4946 | ||
|
2
thg 4 15
|
4368 | ||
|
4
thg 11 20
|
7988 |
Adding
to chatter and moving it to sheet works for 16.0