15 lines
451 B
Python
15 lines
451 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class HelpdeskSla(models.Model):
|
|
_inherit = 'helpdesk.sla'
|
|
|
|
product_ids = fields.Many2many('product.template',
|
|
string="Services",
|
|
domain="[('sale_ok', '=', True), ('type', '=', 'service')]",
|
|
)
|
|
use_helpdesk_sale_timesheet = fields.Boolean(related="team_id.use_helpdesk_sale_timesheet")
|