summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYogesh Parekh <ypa@openerp.com>2014-07-15 19:26:40 +0530
committerYogesh Parekh <ypa@openerp.com>2014-07-16 10:23:08 +0530
commit72e0cbf0367a9d64370813998f894db3068c856f (patch)
tree5413e954997c916a39810ebb5a4caeae6473835a
parent49bc956395d5fdd2f3e3be8bc0035ec38c92f7c6 (diff)
[IMP] Change string 'brand' by 'make' in fleet module
-rw-r--r--addons/fleet/fleet.py4
-rw-r--r--addons/fleet/fleet_view.xml12
2 files changed, 8 insertions, 8 deletions
diff --git a/addons/fleet/fleet.py b/addons/fleet/fleet.py
index 44dd9abc1f4..266dd08e2e4 100644
--- a/addons/fleet/fleet.py
+++ b/addons/fleet/fleet.py
@@ -146,7 +146,7 @@ class fleet_vehicle_model(osv.Model):
_columns = {
'name': fields.function(_model_name_get_fnc, type="char", string='Name', store=True),
'modelname': fields.char('Model name', required=True),
- 'brand_id': fields.many2one('fleet.vehicle.model.brand', 'Model Brand', required=True, help='Brand of the vehicle'),
+ 'brand_id': fields.many2one('fleet.vehicle.model.brand', 'Make', required=True, help='Make of the vehicle'),
'vendors': fields.many2many('res.partner', 'fleet_vehicle_model_vendors', 'model_id', 'partner_id', string='Vendors'),
'image': fields.related('brand_id', 'image', type="binary", string="Logo"),
'image_medium': fields.related('brand_id', 'image_medium', type="binary", string="Logo (medium)"),
@@ -170,7 +170,7 @@ class fleet_vehicle_model_brand(osv.Model):
return self.write(cr, uid, [id], {'image': tools.image_resize_image_big(value)}, context=context)
_columns = {
- 'name': fields.char('Brand Name', required=True),
+ 'name': fields.char('Make', required=True),
'image': fields.binary("Logo",
help="This field holds the image used as logo for the brand, limited to 1024x1024px."),
'image_medium': fields.function(_get_image, fnct_inv=_set_image,
diff --git a/addons/fleet/fleet_view.xml b/addons/fleet/fleet_view.xml
index 8cda28d56a5..d1d0e557f43 100644
--- a/addons/fleet/fleet_view.xml
+++ b/addons/fleet/fleet_view.xml
@@ -62,7 +62,7 @@
<search string="Vehicles costs" >
<field name="brand_id" />
<group expand="1" string="Group By">
- <filter name="groupby_brand" context="{'group_by' : 'brand_id'}" string="Brand"/>
+ <filter name="groupby_brand" context="{'group_by' : 'brand_id'}" string="Make"/>
</group>
</search>
</field>
@@ -78,7 +78,7 @@
<p class="oe_view_nocontent_create">
Click to create a new model.
</p><p>
- You can define several models (e.g. A3, A4) for each brand (Audi).
+ You can define several models (e.g. A3, A4) for each make (Audi).
</p>
</field>
</record>
@@ -87,7 +87,7 @@
<field name="name">fleet.vehicle.model.brand.tree</field>
<field name="model">fleet.vehicle.model.brand</field>
<field name="arch" type="xml">
- <tree string="Model Brand">
+ <tree string="Model Make">
<field name="name" />
</tree>
</field>
@@ -97,7 +97,7 @@
<field name="name">fleet.vehicle.model.brand.form</field>
<field name="model">fleet.vehicle.model.brand</field>
<field name="arch" type="xml">
- <form string="Model Brand">
+ <form string="Model Make">
<sheet>
<group>
<div>
@@ -144,13 +144,13 @@
</record>
<record model='ir.actions.act_window' id='fleet_vehicle_model_brand_act'>
- <field name="name">Model brand of Vehicle</field>
+ <field name="name">Model make of Vehicle</field>
<field name="res_model">fleet.vehicle.model.brand</field>
<field name="view_type">form</field>
<field name="view_mode">kanban,tree,form</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
- Click to create a new brand.
+ Click to create a new make.
</p>
</field>
</record>