Files
enterprise-addons/quality_mrp_workorder_iot/models/iot_trigger.py
T

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')])