Odoo18-Base/addons/pos_sms/models/pos_config.py
2025-01-06 10:57:38 +07:00

8 lines
289 B
Python

from odoo import fields, models
class PosConfig(models.Model):
_inherit = 'pos.config'
sms_receipt_template_id = fields.Many2one('sms.template', string="Sms Receipt template", domain=[('model', '=', 'pos.order')], help="SMS will be sent to the customer based on this template")