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.

9 lines
286 B

  1. from odoo import fields, models
  2. class ProductTemplate(models.Model):
  3. _inherit = 'product.template'
  4. eater = fields.Selection([('eater', 'Eater'),
  5. ('worker_eater', 'Worker and Eater')],
  6. string="Eater/Worker")