Permalink
Browse files

[IMP] fleet: add sheet on model brand and tag form views

It's better to use sheet on form views
  • Loading branch information...
Yenthe666 authored and tivisse committed Sep 30, 2018
1 parent 13e68d6 commit 8c13c309184f985d2eed5b78936980035d059fb3
Showing with 16 additions and 12 deletions.
  1. +11 −9 addons/fleet/views/fleet_vehicle_model_views.xml
  2. +5 −3 addons/fleet/views/fleet_vehicle_views.xml
@@ -99,15 +99,17 @@
<field name="model">fleet.vehicle.model.brand</field>
<field name="arch" type="xml">
<form string="Model Make">
<group>
<div>
<field name="image_medium" widget="image" class="oe_avatar"/>
<label for="name" class="oe_edit_only"/>
<h1>
<field name="name"/>
</h1>
</div>
</group>
<sheet>
<group>
<div>
<field name="image_medium" widget="image" class="oe_avatar"/>
<label for="name" class="oe_edit_only"/>
<h1>
<field name="name"/>
</h1>
</div>
</group>
</sheet>
</form>
</field>
</record>
@@ -437,9 +437,11 @@
<field name="model">fleet.vehicle.tag</field>
<field name="arch" type="xml">
<form string="Vehicle Tags">
<group>
<field name="name"/>
</group>
<sheet>
<group>
<field name="name"/>
</group>
</sheet>
</form>
</field>
</record>

0 comments on commit 8c13c30

Please sign in to comment.