<?xml version="1.0" encoding="UTF-8"?>
<object-views xmlns="http://axelor.com/xml/ns/object-views"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://axelor.com/xml/ns/object-views http://axelor.com/xml/ns/object-views/object-views_5.2.xsd">
	<grid name="vehicle-service-log-grid" title="Vehicle Service Log" model="com.axelor.apps.fleet.db.VehicleServiceLog">
		<field name="vehicle" />
		<field name="date" />
    </grid>
    <form name="vehicle-service-log-form" title="Vehicle Service Log" model="com.axelor.apps.fleet.db.VehicleServiceLog" width="large" >
    	<panel name="mainPanel" title="Information">
    		<field name="vehicle" title="Vehicle">
      			<editor>
        			<field name="name" colSpan="12"/>
        			<field name="vehicleOdometer"/>
      			</editor>
    		</field>
      	 	<field name="date" />
    		<field name="purchasePartner" />
    		<field name="invoiceRef" />
    		<field name="vendorPartner" />
    		<field name="notes" colSpan="12" />
    	</panel>
    		<panel-related name="vehicleServiceListPanel" field="vehicleServiceList" title="Services" colSpan="12">
				<field name="serviceType"/>
				<field name="cost"/>
			</panel-related>
    </form>
     
</object-views>