-
-
Notifications
You must be signed in to change notification settings - Fork 250
/
Copy pathl10n_br_delivery_view.xml
56 lines (51 loc) · 2.5 KB
/
l10n_br_delivery_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- Delivery Carriers Vehicle -->
<record id="l10n_br_delivery_carrier_vehicle_form" model="ir.ui.view">
<field name="name">l10n_br_delivery.carrier.vehicle.form</field>
<field name="model">l10n_br_delivery.carrier.vehicle</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Veículo">
<separator colspan="4" string="Transportadora" />
<field name="carrier_id" colspan="4"/>
<separator colspan="4" string="Dados do Veículo" />
<field name="name"/>
<field name="active"/>
<field name="description"/>
<field name="plate"/>
<field name="driver"/>
<field name="rntc_code"/>
<field name="country_id"/>
<field name="state_id"/>
<field name="l10n_br_city_id"/>
<field name="manufacture_year"/>
<field name="model_year"/>
<field name="type"/>
</form>
</field>
</record>
<record id="l10n_br_delivery_carrier_vehicle_tree" model="ir.ui.view">
<field name="name">l10n_br_delivery.carrier.vehicle.tree</field>
<field name="model">l10n_br_delivery.carrier.vehicle</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Veículo">
<field colspan="4" name="name"/>
<field name="plate" />
<field name="manufacture_year"/>
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="action_l10n_br_delivery_carrier_vehicle_form">
<field name="name">Veículo</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">l10n_br_delivery.carrier.vehicle</field>
<field name="view_mode">tree,form</field>
<field name="view_type">form</field>
<field name="view_id" ref="l10n_br_delivery_carrier_vehicle_tree"/>
</record>
<menuitem name="Veículo" id="menu_l10n_br_delivery_carrier_vehicle_form" parent="delivery.menu_delivery" action="action_l10n_br_delivery_carrier_vehicle_form" sequence="10" />
</data>
</openerp>