13 lines
371 B
Python
13 lines
371 B
Python
# -*- encoding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class IotTrigger(models.Model):
|
|
_inherit = 'iot.trigger'
|
|
|
|
action = fields.Selection(selection_add=[('pass', 'Pass'),
|
|
('fail', 'Fail'),
|
|
('measure', 'Take Measure')])
|