Hello odoo community
I have a question does anyone know the example that with the function it would create "Log an internal note"?. Lets say i click a button and Log an internal note will appear on the mail thread?
Example i tried
the message is created into database but in the mail thread i cant see it
log_message.create(cr, uid, {
'body': '{0} Invoice Date: {1}'.format(log_message_date,name[0]),
'record_name': name[0],
'model':'pp.control',
'type':'notification',
#'website_published':1,
'res_id':record.id,
})
Thank you