You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

9 lines
294 B

# -*- coding: utf-8 -*-
from openerp import models, fields, api, _
class SaleOrder(models.Model):
_inherit = 'sale.order'
message_follower_ids = fields.One2many(
'mail.followers', 'res_id', string='Followers',
domain=lambda self: [('res_model', '=', self._name)])