summaryrefslogtreecommitdiff
path: root/addons/fleet
diff options
context:
space:
mode:
authorCedric Snauwaert <csn@openerp.com>2012-09-26 14:35:12 +0200
committerCedric Snauwaert <csn@openerp.com>2012-09-26 14:35:12 +0200
commit18833a0397e13dfabd92ac0cd43972aa8422656a (patch)
treed0aae8f5d379dcf8c9b2c345e658ccd5a1d7ed51 /addons/fleet
parent6002e6abd0ed0ce7940e5397261a54bf81d4fb37 (diff)
[ADD]description and other fields in the manifest __openerp__.py, need to change picture with one of a car
bzr revid: csn@openerp.com-20120926123512-9rwkpr0zo8qwb83g
Diffstat (limited to 'addons/fleet')
-rw-r--r--addons/fleet/__openerp__.py26
-rw-r--r--addons/fleet/fleet.py4
-rw-r--r--addons/fleet/static/src/img/icon.pngbin0 -> 20448 bytes
3 files changed, 21 insertions, 9 deletions
diff --git a/addons/fleet/__openerp__.py b/addons/fleet/__openerp__.py
index bcf63662081..ff903419efc 100644
--- a/addons/fleet/__openerp__.py
+++ b/addons/fleet/__openerp__.py
@@ -2,19 +2,31 @@
{
'name' : 'Fleet Management',
'version' : '0.1',
+ 'author' : 'OpenERP S.A.',
+ 'category': 'Fleet Management',
+ 'website' : 'http://www.openerp.com',
+ 'summary' : 'Manage your fleet of vehicle',
+ 'description' : """
+Easy way to manage your fleet
+===============================
+
+With this easy to use module, you can in a few clicks manage your entire vehicle fleet.
+
+Managing a single vehicle or thousands of them has never been easier.
+
+Encode your vehicle, group them with tags, view the ones that interest you with the search function.
+
+Add insurance and services reminder that will help you by sending you a mail when you need to renew the insurance of a vehicle or do the next maintenance.
+""",
'depends' : [
'base',
'hr',
],
- 'demo': ['demo.xml'],
- 'author' : 'OpenERP S.A.',
- 'description' : """
- I'm a good module and I will handle the cars of your company !
- """,
- 'installable' : True,
- 'application' : True,
'data' : [
'fleet_view.xml',
],
'update_xml' : ['security/ir.model.access.csv'],
+ 'demo': ['demo.xml'],
+ 'installable' : True,
+ 'application' : True,
} \ No newline at end of file
diff --git a/addons/fleet/fleet.py b/addons/fleet/fleet.py
index bfc67be7beb..6da7e6d68ae 100644
--- a/addons/fleet/fleet.py
+++ b/addons/fleet/fleet.py
@@ -34,7 +34,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', size=32, required=True),
- 'brand' : fields.many2one('fleet.vehicle.model.brand', 'Model brand', required=False, help='Brand of the vehicle'),
+ 'brand' : 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',required=False),
}
@@ -192,7 +192,7 @@ class fleet_vehicle_log(osv.Model):
_columns = {
'name' : fields.function(_name_get_fnc, type="text", string='Log', store=True),
- 'employee_id' : fields.many2one('hr.employee', 'Employee', required=True),
+ 'employee_id' : fields.many2one('hr.employee', 'Employee'),
'vehicle_id' : fields.many2one('fleet.vehicle', 'Vehicle', required=True),
'date_creation' : fields.date('Creation Date'),
diff --git a/addons/fleet/static/src/img/icon.png b/addons/fleet/static/src/img/icon.png
new file mode 100644
index 00000000000..8600d565da5
--- /dev/null
+++ b/addons/fleet/static/src/img/icon.png
Binary files differ