Hello,
In Odoo V10 the field message_last_post in crm.lead do not seem used any more - the value is always empty.
Does somebody can confirm ? Is it replaced by something else ?
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
In Odoo V10 the field message_last_post in crm.lead do not seem used any more - the value is always empty.
Does somebody can confirm ? Is it replaced by something else ?
Thanks
in odoo11/addons/mail/models/mail_thread.py
class MailThread(...
def message_post(...
# Post-process: subscribe author, update message_last_post
# Note: the message_last_post mechanism is no longer used. This
# will be removed in a later version.
if (self._context.get('mail_save_message_last_post') and
model and model != 'mail.thread' and self.ids and subtype_id):
subtype_rec = self.env['mail.message.subtype'].sudo().browse(subtype_id)
if not subtype_rec.internal:
# done with SUPERUSER_ID, because on some models users can post only with read access, not necessarily write access
self.sudo().write({'message_last_post': fields.Datetime.now()})
So you are right, they planing to remove this field. And, as you see, Odoo have a code for filling this field, but field es always empty. This is realy strange.
This field do not support odoo concept, but some of my clients want to see in leads kanban date of last communication with they client. But if users use staging system and next activity system, then field 'message_last_post' don't necessary.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up