Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Internal notes on Journal Entries

By
Nicolas Lopez
on 3/14/16, 5:27 PM 357 views

Dear Colleagues,

I'm just trying to figure out if there is a module to enable the "messages and communication history" for journal entries (account.move). Basically what is missing for us are the atomatic notes created by Odoo indicating who" and "when" created or modified a journal entry.

As a workaround I have tested the module "auditlog", the problem is that it logs the "id" of the object, but there is no direct link from the journal entry to the log, so for a normal user it's not a solution.

Thanks,

Nicolas

1

Axel Mendoza

--Axel Mendoza--
10318
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 3/14/16, 6:49 PM

You could do it simply by add the necessary code for that model. like:

#put it to inherit from mail.threadclass account_move(osv.osv):    _name = 'account.move'    _inherit = ['mail.thread']

Extend the views to add the chatter widget, like:

<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>

The only thing is that normally the openchatter widget is after the <sheet> tag but there is no sheet in the original view, Try it to see how it looks

Dear Alex, thanks for your fast response. I was wondering if there is already a module for this, cause I don't have develpment skills.

Nicolas Lopez
on 3/15/16, 7:44 AM

Sorry, I've just misstyped your name AXEL. :)

Nicolas Lopez
on 3/15/16, 7:46 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/14/16, 5:27 PM
Seen: 357 times
Last updated: 3/14/16, 10:24 PM