Files
manufacture/quality_control/models/product_template.py
Pedro M. Baeza 75332fdee6 [IMP] quality_control:
Total refactorization with new API, README files, and new concepts.
* Triggers for product category
* ACLs
* Tolerances in questions
* one2many copyable
* Fix some views
* Error on same tolerance
* Colors on inspection lines
* Unify inspection header data assignment in set_test method
* key name in set_test
* Change icon set
2015-10-26 16:49:50 +01:00

15 lines
546 B
Python

# -*- coding: utf-8 -*-
##############################################################################
# For copyright and license notices, see __openerp__.py file in root directory
##############################################################################
from openerp import models, fields
class ProductTemplate(models.Model):
_inherit = "product.template"
qc_triggers = fields.One2many(
comodel_name="qc.trigger.product_template_line",
inverse_name="product_template",
string="Quality control triggers")