I'm trying to add a new field in mail.thread in order to have tags in it.
I've created a new module, named myTaggedMailThread :
from openerp.osv import osv
from openerp import api, fields, models
class myTaggedMailThread(models.Model):
_inherit = 'mail.thread'
_name='mail.thread'
_columns = {
'current_tags': fields.Text('current_tags', help="Tags", default='test current tags')
}
#current_tags = fields.Text('current_tags', help="Tags", default=' test current tag ')
myTaggedMailThread ()
But I get an error when lauching my odoo instance :
File "/opt/myOdoo/app/openerp/field.py", line 343, in __getattr__
return self._attrs[name].
RuntimeError : maximum recursion depth exceeded
Can someone explain what I'm doing wrong please ?