mirror of
https://github.com/bringout/oca-ocb-mail.git
synced 2026-04-23 17:01:59 +02:00
19.0 vanilla
This commit is contained in:
parent
5df8c07b59
commit
daa394e8b0
2114 changed files with 564841 additions and 299642 deletions
11
odoo-bringout-oca-ocb-sms/sms/models/res_company.py
Normal file
11
odoo-bringout-oca-ocb-sms/sms/models/res_company.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from odoo import models
|
||||
|
||||
from odoo.addons.sms.tools.sms_api import SmsApi
|
||||
|
||||
|
||||
class ResCompany(models.Model):
|
||||
_inherit = 'res.company'
|
||||
|
||||
def _get_sms_api_class(self):
|
||||
self.ensure_one()
|
||||
return SmsApi
|
||||
Loading…
Add table
Add a link
Reference in a new issue