Files
odoo_source/addons/website_blog/models/mail_message.py
T
Thibault Delavallée 8f105b6624 [IMP] website_blog: path computation (unique key) for paragraphs in medium-like blogs
is now done server-side and stored directly in the html content, as post processing.
The front-end attaches messages based on the attribute data-chatter-id, but do not
compute the attribute itself anymore.
Misc cleaning of code.

bzr revid: tde@openerp.com-20140403112656-ane3ovhh70qdc8b4
2014-04-03 13:26:56 +02:00

14 lines
313 B
Python

# -*- coding: utf-8 -*-
from openerp.osv import osv, fields
class MailMessage(osv.Model):
_inherit = 'mail.message'
_columns = {
'path': fields.char(
'Discussion Path', select=1,
help='Used to display messages in a paragraph-based chatter using a unique path;'),
}