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.

7 lines
318 B

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