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.

10 lines
241 B

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