2018-01-16 06:58:15 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-16 11:34:37 +01:00
|
|
|
<flectra>
|
2018-01-16 06:58:15 +01:00
|
|
|
<record id="fleet_vehicle_view_form" model="ir.ui.view">
|
|
|
|
<field name="name">fleet.vehicle.form</field>
|
|
|
|
<field name="model">fleet.vehicle</field>
|
|
|
|
<field name="inherit_id" ref="fleet.fleet_vehicle_view_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//field[@name='car_value']" position="after">
|
|
|
|
<label for="co2_fee"/>
|
|
|
|
<div class="o_row">
|
|
|
|
<field name="co2_fee"/>
|
|
|
|
<span> / month</span>
|
|
|
|
</div>
|
|
|
|
<label for="total_depreciated_cost"/>
|
|
|
|
<div class="o_row">
|
|
|
|
<field name="total_depreciated_cost" nolabel="1"/>
|
|
|
|
<span>/ month</span>
|
|
|
|
</div>
|
|
|
|
<label for="total_cost"/>
|
|
|
|
<div class="o_row">
|
|
|
|
<field name="total_cost" nolabel="1"/>
|
|
|
|
<span>/ month</span>
|
|
|
|
</div>
|
|
|
|
<field name="atn"/>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="fleet_vehicle_log_contract_view_form" model="ir.ui.view">
|
|
|
|
<field name="name">fleet.vehicle.log.contract.form</field>
|
|
|
|
<field name="model">fleet.vehicle.log.contract</field>
|
|
|
|
<field name="inherit_id" ref="fleet.fleet_vehicle_log_contract_view_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//field[@name='amount']" position="after">
|
|
|
|
<field name="recurring_cost_amount_depreciated"/>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="fleet_vehicle_model_view_form" model="ir.ui.view">
|
|
|
|
<field name="name">fleet.vehicle.model.form</field>
|
|
|
|
<field name="model">fleet.vehicle.model</field>
|
|
|
|
<field name="inherit_id" ref="fleet.fleet_vehicle_model_view_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//notebook" position="before">
|
|
|
|
<group>
|
|
|
|
<group>
|
|
|
|
<field name="can_be_requested"/>
|
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
</xpath>
|
|
|
|
<xpath expr="//page[@name='vendors']" position="before">
|
|
|
|
<page string="Information">
|
|
|
|
<group>
|
|
|
|
<group string="Vehicle Cost">
|
|
|
|
<label for="default_car_value"/>
|
|
|
|
<div class="o_row">
|
|
|
|
<field name="default_car_value" nolabel="1"/>
|
|
|
|
</div>
|
|
|
|
<label for="co2_fee"/>
|
|
|
|
<div class="o_row">
|
|
|
|
<field name="co2_fee" nolabel="1"/>
|
|
|
|
<span> / month</span>
|
|
|
|
</div>
|
|
|
|
<label for="default_recurring_cost_amount_depreciated"/>
|
|
|
|
<div class="o_row">
|
|
|
|
<field name="default_recurring_cost_amount_depreciated" nolabel="1"/>
|
|
|
|
<span> / month</span>
|
|
|
|
</div>
|
|
|
|
<label for="default_total_depreciated_cost"/>
|
|
|
|
<div class="o_row">
|
|
|
|
<field name="default_total_depreciated_cost" nolabel="1"/>
|
|
|
|
<span> / month</span>
|
|
|
|
</div>
|
|
|
|
<label for="default_atn"/>
|
|
|
|
<div class="o_row">
|
|
|
|
<field name="default_atn" nolabel="1"/>
|
|
|
|
<span> / month</span>
|
|
|
|
</div>
|
|
|
|
</group>
|
|
|
|
<group string="Vehicle Information">
|
|
|
|
<label for="default_co2"/>
|
|
|
|
<div class="o_row">
|
|
|
|
<field name="default_co2" nolabel="1"/>
|
|
|
|
<span> g / km</span>
|
|
|
|
</div>
|
|
|
|
<field name="default_fuel_type" widget="selection"/>
|
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
</page>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|