Community mailing list archives

community@mail.odoo.com

Re: Import messages into OpenChatter

by
Bruno Figares
- 04/28/2016 10:39:06
you can import anything that is saved on the database. I'm not 100% sure this is what you're looking for, but you can import comments on anything by using the mail_message, type comment and setting the 'model' table to whatever you want. I recently imported data for contacts for example by setting that value to res_partner, and the partner id to res_id (I think this is what the column was named).

The easiest way to import it is by exporting a sample message, removing the identifiers and trying to reimport it. There are some variables that are needed (model specifically is not set if you set only the message payload, message type and external id identifiers), you will have to experiment with this but it is not very difficult.

Good luck



On Thu, Apr 28, 2016 at 4:54 AM, Shawn Varghese <shawnvarghese.m@gmail.com> wrote:
Hello All,

Does anyone know if it is possible to import chatter messages into a record for Odoo v8?
If so, how should the format of the file be?

I was trying something like this, but with no success:

Name Messages
New Lead Visited client site

made site survey

Regards,
Shawn

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe