where does crm_lead history get saved in database

Asked by nima

hello,
i am using OpenERP server 6.0.1 RC2 ,and i am trying to develop a customized module.but i cannot find where does crm_lead history is kept in database . could some one please help me out?
thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
nima
Solved:
Last query:
Last reply:
Revision history for this message
Lorenzo Battistini (elbati) said :
#1

Hello,
I think you need to handle the 'message_ids' field of 'crm.lead' model. See 'crm/crm_lead.py' file

Revision history for this message
nima (0.5a) said :
#2

i have checked th crm_lead.py .i didn't help .it is handeled somewhere else that i cannot figure out

Revision history for this message
Lorenzo Battistini (elbati) said :
#3

maybe I'm missing what you are looking for

Revision history for this message
nima (0.5a) said :
#4

it is saved under mailgate_message with model name of crm.lead .you can name it note or email.user_id should be the one's who is rersponsible for the history and res_id should be the lead_id.