Files
enterprise-addons/mrp_workorder_plm/models/quality.py
T

14 lines
340 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models
class QualityPoint(models.Model):
_inherit = "quality.point"
def _get_sync_values(self):
if not self:
return tuple()
self.ensure_one()
return (self.test_type_id, self.title, self.component_id)