Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2913 Vizualizări

Kindly suggest something

Imagine profil
Abandonează
Cel mai bun răspuns

You can add attribute trackvisibility = 'onchange' for the journal_id field and this will automatically post message logs whenever create a journal entry for the vendor bill. You can also manually update the log by overriding the write() method of invoice and add log by using message_post() function.

Imagine profil
Abandonează
Autor

sir your answer seems very right. Thank you so much for your reply. I used following lines of code after inheriting into account.move

<?xml version="1.0" encoding="utf-8" ?>

<odoo>

<data>

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

<field name="name">account.move.form</field>

<field name="model">account.move</field>

<field name="inherit_id" ref="account.view_move_form"/>

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

<xpath expr="//notebook" position="after">

<div class="oe_chatter">

<field name="message_follower_ids" widget="mail_followers"/>

<field name="message_ids" widget="mail_thread" options='{"thread_level": 1}'/>

</div>

</xpath>

</field>

</record>

</data>

</odoo>

Related Posts Răspunsuri Vizualizări Activitate
2
dec. 21
4707
3
ian. 25
4839
3
mai 24
6740
1
iul. 23
1948
1
aug. 24
3102