[ADD]change to kanban vehicle view and add some color in kanban and tree view when insurance goes near expiration date
bzr revid: csn@openerp.com-20121002125328-pxfbbr6ol228hhj7
This commit is contained in:
@@ -550,7 +550,7 @@ class fleet_vehicle_log_insurance(osv.Model):
|
||||
return {}
|
||||
|
||||
_name = 'fleet.vehicle.log.insurance'
|
||||
_order='expiration_date'
|
||||
_order='state,expiration_date'
|
||||
_columns = {
|
||||
|
||||
#'name' : fields.char('Name',size=64),
|
||||
|
||||
@@ -617,14 +617,6 @@
|
||||
</record>
|
||||
|
||||
<menuitem action="fleet_vehicle_log_services_act" parent="fleet_vehicles" id="fleet_vehicle_log_services_menu" />
|
||||
|
||||
<record id="vehicle_insurance_pending" model="fleet.insurance.state">
|
||||
<field name="name">In Progress</field>
|
||||
</record>
|
||||
|
||||
<record id="vehicle_insurance_over" model="fleet.insurance.state">
|
||||
<field name="name">Terminated</field>
|
||||
</record>
|
||||
<!--
|
||||
<record model='ir.ui.view' id='fleet_hr_employee_form'>
|
||||
<field name="name">fleet.hr.employee.form</field>
|
||||
|
||||
Reference in New Issue
Block a user