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

I am developing a custom module for Odoo18.

I what the following:

  1. Click on a record in a list view -> Opens Form popup
  2. In the Form popup I see Chatter.

p.s. The record I am clicking has:

_inherit = ["mail.thread"] 

How would I do it? At the moment I cannot see chatter in popup while it is shown when form is shown full screen (not popup).

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

Hi Anas, I have like in your example but it is not enough. I want to have chatter in Popup Form view.

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

Hello ,

Modify the Form View  :

<record id="view_form_your_model" model="ir.ui.view">

    <field name="name">your.model.form</field>

    <field name="model">your.model</field>

    <field name="arch" type="xml">

        <form string="Your Model Form">

            <sheet>

                <group>

                    <!-- Your fields go here -->

                </group>

            </sheet>

            <chatter/>

        </form>

    </field>

</record>



อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ค. 23
2827
Change text of Send Message Button แก้ไขแล้ว
2
ก.ค. 25
587
1
พ.ค. 25
1114
1
พ.ค. 25
1151
1
ก.พ. 25
1258