1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/whatsapp_website_sale/models/website.py
2024-12-10 09:04:09 +07:00

10 lines
296 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class Website(models.Model):
_inherit = 'website'
wa_sale_template_id = fields.Many2one('whatsapp.template', domain=[('model', '=', 'sale.order'), ('status', '=', 'approved')])