Merge pull request #5944 from expsa/samir_aladawi_add_sponsor_phone
[UPD] odex_takaful: activate sms in takaful.sponsorship model
This commit is contained in:
commit
873dcb518e
|
|
@ -132,6 +132,10 @@ class TakafulSponsorship(models.Model):
|
|||
record_url = fields.Char(string="Record URL", readonly=True)
|
||||
is_canceled_refund = fields.Boolean()
|
||||
|
||||
|
||||
def _sms_get_number_fields(self):
|
||||
return ['sponsor_phone']
|
||||
|
||||
@api.depends('is_canceled_refund')
|
||||
def cancel_refund_tamded(self):
|
||||
for rec in self:
|
||||
|
|
|
|||
Loading…
Reference in New Issue