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

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
7月 23
2770
2
7月 25
501
1
5月 25
986
1
5月 25
1028
1
2月 25
1164