You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
261 B

  1. # -*- coding: utf-8 -*-
  2. from openerp import api, fields, models, _
  3. class ProductTemplate(models.Model):
  4. _inherit = 'product.template'
  5. eater = fields.Selection([('eater', 'Eater'), ('worker_eater', 'Worker and Eater')], string="Eater/Worker")