[IMP] maintenance: On equipment, rename the field Warranty to "Warranty Expiration Date"
This commit is contained in:
committed by
Simon Lejeune
parent
a0e7c0d91c
commit
cb34934f3b
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user