[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
This commit is contained in:
Cedric Snauwaert
2012-09-26 14:35:12 +02:00
parent 6002e6abd0
commit 18833a0397
3 changed files with 21 additions and 9 deletions
+19 -7
View File
@@ -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,
}
+2 -2
View File
@@ -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'),
Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB