diff options
| author | Amit Bhavsar (Open ERP) <amb@tinyerp.com> | 2013-06-21 14:38:27 +0530 |
|---|---|---|
| committer | Amit Bhavsar (Open ERP) <amb@tinyerp.com> | 2013-06-21 14:38:27 +0530 |
| commit | 2e494c9a9d22f950cda439b82e017858769dada0 (patch) | |
| tree | dce389dd9314e0413547f7f5a218b7306c359eb3 /addons/fleet/fleet.py | |
| parent | 2c75fb7935e0a648fae223ef73872f772766adeb (diff) | |
[Fleet] Improve fields string.
bzr revid: amb@tinyerp.com-20130621090827-7222v30shoat0521
Diffstat (limited to 'addons/fleet/fleet.py')
| -rw-r--r-- | addons/fleet/fleet.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/fleet/fleet.py b/addons/fleet/fleet.py index a476a801e7c..c306ca814e8 100644 --- a/addons/fleet/fleet.py +++ b/addons/fleet/fleet.py @@ -160,8 +160,8 @@ class fleet_vehicle_model(osv.Model): 'brand_id': fields.many2one('fleet.vehicle.model.brand', 'Model Brand', required=True, help='Brand 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="Medium Logo"), - 'image_small': fields.related('brand_id', 'image_small', type="binary", string="Small Logo"), + 'image_medium': fields.related('brand_id', 'image_medium', type="binary", string="Logo - medium"), + 'image_small': fields.related('brand_id', 'image_small', type="binary", string="Logo - small"), } @@ -354,8 +354,8 @@ class fleet_vehicle(osv.Model): 'power': fields.integer('Power (kW)', help='Power in kW of the vehicle'), 'co2': fields.float('CO2 Emissions', help='CO2 emissions of the vehicle'), 'image': fields.related('model_id', 'image', type="binary", string="Logo"), - 'image_medium': fields.related('model_id', 'image_medium', type="binary", string="Medium Logo"), - 'image_small': fields.related('model_id', 'image_small', type="binary", string="Small Logo"), + 'image_medium': fields.related('model_id', 'image_medium', type="binary", string="Logo - medium"), + 'image_small': fields.related('model_id', 'image_small', type="binary", string="Logo - small"), 'contract_renewal_due_soon': fields.function(_get_contract_reminder_fnc, fnct_search=_search_contract_renewal_due_soon, type="boolean", string='Has Contracts to renew', multi='contract_info'), 'contract_renewal_overdue': fields.function(_get_contract_reminder_fnc, fnct_search=_search_get_overdue_contract_reminder, type="boolean", string='Has Contracts Overdued', multi='contract_info'), 'contract_renewal_name': fields.function(_get_contract_reminder_fnc, type="text", string='Name of contract to renew soon', multi='contract_info'), |
