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

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