flectra/addons/sms/models/res_partner.py
2018-01-16 02:34:37 -08:00

15 lines
387 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
from flectra import models
class ResPartner(models.Model):
_inherit = 'res.partner'
def _get_default_sms_recipients(self):
""" Override of mail.thread method.
SMS recipients on partners are the partners themselves.
"""
return self