Dear Odoo Experts,
Can you please guide me how can I add a field to chatter
just like we use to add send a message field.
My requirement is to add a selection field in chatter so the user select value from the selection field and send a message directly instead of typing message.
TIA
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
3547
瀏覽次數
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
1
2月 25
|
1536 | ||
|
2
12月 24
|
2514 | ||
|
0
11月 24
|
1623 | ||
|
3
5月 24
|
4747 | ||
|
0
1月 25
|
2698 |
<record id="res_partner_inherited_for_mail" model="ir.ui.view">
<field name="name">res.partner.mail</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//sheet" position="after">
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="phone"/>
<field name="email"/>
</div>
</xpath>
</field>
</record>
Thank you @Meet for responding. Should I use the same code in xml after inheriting the res.partner model?