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.
 
 
 
 

8 lines
318 B

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