add field 'machine_type'
This commit is contained in:
parent
7908826d9c
commit
b4f4bbace3
@ -24,11 +24,17 @@ _MAIN_TECNOLOGY = [('mecanico', 'Mecánico'),
|
||||
('hidraulico', 'Hidraulico'),
|
||||
('neumatico', 'Neumatico')]
|
||||
|
||||
_MACHINE_TYPE = [('mobiliario_optico', 'Mobiliario óptico'),
|
||||
('refraccion', 'Refracción'),
|
||||
('medicio', 'Medicion'),
|
||||
('accesorios', 'Accesorios')]
|
||||
|
||||
class Product(ModelSQL, ModelView, metaclass=PoolMeta):
|
||||
'Product'
|
||||
__name__ = 'product.template'
|
||||
|
||||
machine = fields.Boolean('It is machine')
|
||||
machine_type = fields.Selection(_MACHINE_TYPE, 'Machine type')
|
||||
risk = fields.Selection(_RISK, 'Type risk')
|
||||
use = fields.Selection(_USE, 'Use')
|
||||
biomedical_class = fields.Selection(_BIOMEDICAL_CLASS,
|
||||
|
Loading…
Reference in New Issue
Block a user