[IMP] maintenance: On equipment, rename the field Warranty to "Warranty Expiration Date"

This commit is contained in:
Kinjal Mehta
2018-01-10 13:53:54 +01:00
committed by Simon Lejeune
parent a0e7c0d91c
commit cb34934f3b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ class MaintenanceEquipment(models.Model):
assign_date = fields.Date('Assigned Date', track_visibility='onchange')
cost = fields.Float('Cost')
note = fields.Text('Note')
warranty = fields.Date('Warranty')
warranty_date = fields.Date('Warranty Expiration Date', oldname='warranty')
color = fields.Integer('Color Index')
scrap_date = fields.Date('Scrap Date')
maintenance_ids = fields.One2many('maintenance.request', 'equipment_id')
@@ -350,7 +350,7 @@
<field name="serial_no"/>
</group><group>
<field name="cost" groups="maintenance.group_equipment_manager"/>
<field name="warranty"/>
<field name="warranty_date"/>
</group>
</group>
</page>