تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
1120 أدوات العرض

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>



الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يوليو 23
2762
2
يوليو 25
460
1
مايو 25
960
1
مايو 25
997
1
فبراير 25
1129