|
@@ -5,10 +5,10 @@ from openerp.exceptions import ValidationError
|
|
|
class ProductServiceCarWorkShop(models.Model):
|
|
|
_inherit = 'product.service'
|
|
|
|
|
|
- year=fields.Integer('Año')
|
|
|
- color=fields.Char('Color')
|
|
|
- policy = fields.Boolean()
|
|
|
- policy_number =fields.Char('Número de chapa')
|
|
|
+ year=fields.Integer(string='Año')
|
|
|
+ color=fields.Char(string='Color')
|
|
|
+ policy = fields.Boolean(string="Policy")
|
|
|
+ policy_number =fields.Char(string='Número de chapa')
|
|
|
agent_id = fields.Many2one(
|
|
|
'res.partner',
|
|
|
string='Agente',
|
|
@@ -19,9 +19,9 @@ class ProductServiceCarWorkShop(models.Model):
|
|
|
string='Aseguradora',
|
|
|
ondelete='restrict'
|
|
|
)
|
|
|
- odometer = fields.Float('Odometro')
|
|
|
- car_value = fields.Float('Valor del vehiculo')
|
|
|
+ odometer = fields.Float(string='Odometro')
|
|
|
+ car_value = fields.Float(string='Valor del vehiculo')
|
|
|
transmission = fields.Selection([('manual','Manual'), ('automatic','Automatico')], string="Tipo de transmision")
|
|
|
fuel_type = fields.Selection([('gasoline','Gasolina'), ('diesel','Diesel'), ('electric','Electrico'), ('hybrid','Hibrido')], string="Tipo de combustible")
|
|
|
- seats = fields.Integer('Nro. de asientos')
|
|
|
- doors = fields.Integer('Nro. de puertas')
|
|
|
+ seats = fields.Integer(string='Nro. de asientos')
|
|
|
+ doors = fields.Integer(string='Nro. de puertas')
|