diff --git a/cab_booking_management/README.rst b/cab_booking_management/README.rst new file mode 100644 index 000000000..c2b8478e5 --- /dev/null +++ b/cab_booking_management/README.rst @@ -0,0 +1,33 @@ +Cab Booking Management System v9 +================================ + +This module was developed to manage the cab system. It helps booking the cab, maintains logs +and record every activity related to the cab management. + +Installation +============ + +Just select it from available modules to install it, there is no need to extra installations. + +Configuration +============= + +Nothing to configure. + +Usage +===== + +To use this functionality, you need to: +#.First create cabs(Cab Management > Cabs) +#.Then,you need to set timing for each cabs( Cab management > Timing) +#.On clicking Booking menu( Cab management > Booking) ,you have option to select cabs based on your time and location +#. Email is sent,once your booking is confirmed +#.To get total expense,first you need to set maintenance form ( Cab management > Maintenance).In this form ,you can +select cab and date, and all total activity of that cab on that day is fetched here. +#.To get data's on maintenance form ,first you must book one cab. + +Credits +======= +Developer: Saritha @ cybrosys +Guidance: Nilmar Shereef @ cybrosys, shereef@cybrosys.in + diff --git a/cab_booking_management/__init__.py b/cab_booking_management/__init__.py new file mode 100644 index 000000000..4d7bbffab --- /dev/null +++ b/cab_booking_management/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2008-TODAY Cybrosys Technologies(). +# Author: Nilmar Shereef() +# you can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. +# If not, see . +# +############################################################################## + +from . import models diff --git a/cab_booking_management/__openerp__.py b/cab_booking_management/__openerp__.py new file mode 100644 index 000000000..91d40b8e8 --- /dev/null +++ b/cab_booking_management/__openerp__.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2008-TODAY Cybrosys Technologies(). +# Author: Nilmar Shereef() +# you can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. +# If not, see . +# +############################################################################## +{ + 'name': "Cab Booking Management System", + 'summary': """Complete Cab Booking Management and its Related Records""", + 'author': "Cybrosys Techno Solution", + 'website': "http://www.cybrosys.com", + 'category': 'Tools', + 'version': '0.1', + 'depends': ['base', 'mail'], + 'data': [ + 'views/templates.xml', + 'views/cab_log_view.xml', + 'views/cab_conf_view.xml', + 'views/cab_location_view.xml', + 'views/cab_timing_view.xml', + 'views/cab_booking_view.xml', + 'views/cab_creation_view.xml', + 'views/cab_maintanence_view.xml', + 'security/ir.model.access.csv' + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': True, +} diff --git a/cab_booking_management/models/__init__.py b/cab_booking_management/models/__init__.py new file mode 100644 index 000000000..720456941 --- /dev/null +++ b/cab_booking_management/models/__init__.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2009-TODAY Cybrosys Technologies(). +# +# you can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. +# If not, see . +# +############################################################################## +from . import cab_creation +from . import cab_log +from . import cab_conf +from . import cab_booking +from . import cab_location +from . import cab_timing +from. import cab_maintanence + + diff --git a/cab_booking_management/models/cab_booking.py b/cab_booking_management/models/cab_booking.py new file mode 100644 index 000000000..32921ed37 --- /dev/null +++ b/cab_booking_management/models/cab_booking.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2009-TODAY Cybrosys Technologies(). +# +# you can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. +# If not, see . +# +############################################################################## +from openerp import models, fields, api + + +class CabBooking(models.Model): + _name = 'cab.booking' + _rec_name = 'booking_date' + + booking_date = fields.Date(string="Booking Date", required=True) + cab_timing = fields.Many2one('cab.time', string="Timing", required=True) + cab_routes = fields.Many2one('cab.location', string="Route", required=True) + seat_available = fields.One2many('cab.timing', compute="scheduled_details") + + @api.onchange('cab_routes', 'cab_timing') + def scheduled_details(self): + data = self.env['cab.timing'].search([('cab_route.name', '=', self.cab_routes.name), + ('cab_time.name', '=', self.cab_timing.name)]) + self.seat_available = data + + + + + + + + + + + diff --git a/cab_booking_management/models/cab_conf.py b/cab_booking_management/models/cab_conf.py new file mode 100644 index 000000000..037de6c18 --- /dev/null +++ b/cab_booking_management/models/cab_conf.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2009-TODAY Cybrosys Technologies(). +# +# you can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. +# If not, see . +# +############################################################################## +from openerp import models, fields + + +class CabConfiguration(models.Model): + _name = 'cab.configuration' + _rec_name = 'cab_manager' + + auto_approve = fields.Boolean(string="Auto Approve") + cab_manager = fields.Many2one('res.users', string='Manager', required=True) diff --git a/cab_booking_management/models/cab_creation.py b/cab_booking_management/models/cab_creation.py new file mode 100644 index 000000000..3dc562936 --- /dev/null +++ b/cab_booking_management/models/cab_creation.py @@ -0,0 +1,64 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2009-TODAY Cybrosys Technologies(). +# +# you can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. +# If not, see . +# +############################################################################## + +from openerp import models, fields, api + + +class CabManagement(models.Model): + _name = 'cab.management' + + name = fields.Char(string="Cab Name", required=True) + cab_image = fields.Binary(string='Image', store=True, attachment=True) + licence_plate = fields.Char(string="Licence Plate", required=True) + activity_period_from = fields.Date(string="Activity Period") + activity_period_to = fields.Date(string="To") + driver_plot = fields.Char(string="Driver Ploted") + cab_value = fields.Float(string="Cab Value") + cab_model = fields.Char(string="Cab Model") + cab_color = fields.Char(string="Cab Color") + aq_date = fields.Date(string="Aquisition Date") + chas_no = fields.Char(string="Chasis No") + odo_reading = fields.Float(string="Odometre Reading") + seating_capacity = fields.Integer(string="Seating Capacity", required=True) + fuel_type = fields.Char(string="Fuel Type") + related_log_details = fields.One2many('cab.log', string="Log Details", compute="auto_fetch_log_details") + total_log_details = fields.One2many('cab.maintanence', string='Total Expenses', compute="auto_fetch_total_details") + location_log_details = fields.One2many('cab.log', string="Location", compute="auto_fetch_location_details") + + @api.onchange('activity_period_from', 'activity_period_to') + def auto_fetch_log_details(self): + data = self.env['cab.log'].search([("cab_log_date", ">=", self.activity_period_from), + ("cab_log_date", "<=", self.activity_period_to)]) + self.related_log_details = data + + @api.onchange('activity_period_from', 'activity_period_to') + def auto_fetch_total_details(self): + data = self.env['cab.maintanence'].search([("cab_log_date", ">=", self.activity_period_from), + ("cab_log_date", "<=", self.activity_period_to)]) + self.total_log_details = data + + @api.onchange('activity_period_from', 'activity_period_to') + def auto_fetch_location_details(self): + data = self.env['cab.log'].search([("cab_log_date", ">=", self.activity_period_from), + ("cab_log_date", "<=", self.activity_period_to)]) + self.location_log_details = data diff --git a/cab_booking_management/models/cab_location.py b/cab_booking_management/models/cab_location.py new file mode 100644 index 000000000..566c23782 --- /dev/null +++ b/cab_booking_management/models/cab_location.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2008-TODAY Cybrosys Technologies(). +# Author: Nilmar Shereef() +# you can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. +# If not, see . +# +############################################################################## + +from openerp import models, fields + + +class CabLocation(models.Model): + _name = 'cab.location' + + name = fields.Char(string='City', required=True) + cab_zip = fields.Char(string='ZIP') + cab_code = fields.Char(string='City Code', size=64, help="The official code for the city") + state_id = fields.Many2one('res.country.state', string='State', required=True) + country_id = fields.Many2one('res.country', string='Country', required=True) diff --git a/cab_booking_management/models/cab_log.py b/cab_booking_management/models/cab_log.py new file mode 100644 index 000000000..46c914537 --- /dev/null +++ b/cab_booking_management/models/cab_log.py @@ -0,0 +1,150 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2009-TODAY Cybrosys Technologies(). +# +# you can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. +# If not, see . +# +############################################################################## + +from openerp import models, fields, api +from openerp.tools.translate import _ +from openerp.exceptions import UserError + + +class CabLog(models.Model): + _name = 'cab.log' + _inherit = ['mail.thread', 'ir.needaction_mixin'] + _description = 'Cab' + + name = fields.Many2one('cab.management', string="Name", required=True) + cab_log_date = fields.Date(string="Date", required=True) + fuel_used = fields.Float(string="Fuel Used", required=True) + seat_capacity = fields.Integer(string="Seat Capacity", related="name.seating_capacity") + seat_available = fields.Integer(string="Seat Available") + cab_location = fields.Many2one('cab.location', string="Location", required=True) + seat_booked = fields.Integer(string="Seat Booked", required=True) + odo_metre = fields.Float(string="OdoMetre Reading", required=True) + cab_expense = fields.Float(string="Expense", required=True) + cab_log_timing = fields.Many2one('cab.time', string="Timing", required=True) + total_passenger = fields.Integer(string="Total Passenger", required=True) + partner_id = fields.Many2one('res.users', string="User Name", required=True) + cab_image = fields.Binary(string='Image', store=True, attachment=True) + seat_check = fields.Integer(string='Seat Condition Check') + state = fields.Selection([ + ('draft', 'Draft'), + ('approved', 'Approved'), + ('discard', 'Discard'), + ('cancel', 'Cancelled'), + ('done', 'Done') + ], default='draft') + + @api.onchange('seat_booked') + def auto_fill_passenger_field(self): + if self.seat_available < self.seat_booked: + self.seat_check = 1 + + @api.onchange('total_passenger') + def error_message(self): + if self.seat_check == 1: + raise UserError("Sorry,No Available Seats") + elif self.seat_booked != self.total_passenger: + raise UserError("Sorry, No of seat requested for booking and total passenger must be equal") + + @api.one + def action_approve(self): + self.state = "approved" + + @api.one + def action_cancel(self): + self.state = "cancel" + + @api.one + def action_discard(self): + self.state = "discard" + + @api.onchange('cab_log_date', 'state') + def auto_cabs_approve(self): + for data in self.env['cab.configuration'].search([]): + if data.auto_approve != False: + user_obj = self.env.user + if user_obj == data.cab_manager: + self.state = 'approved' + + @api.onchange('cab_log_date', 'name', 'seat_booked') + def change_available_seat(self): + for data in self.env['cab.management'].search([]): + if self.name.name == data.name: + flag = 0 + total_seat_booked = 0 + for records in self.env['cab.log'].search([]): + if self.cab_log_date == records.cab_log_date: + total_seat_booked = total_seat_booked+records.seat_booked + flag += 1 + + if flag > 0: + test_val = self.seat_capacity - total_seat_booked + self.seat_available = test_val + + else: + self.seat_available = self.seat_capacity + + @api.multi + def action_sent(self): + self.ensure_one() + ir_model_data = self.env['ir.model.data'] + try: + template_id = ir_model_data.get_object_reference('cab_booking_management', 'email_template_edi_cab')[1] + except ValueError: + template_id = False + try: + compose_form_id = ir_model_data.get_object_reference('mail', 'email_compose_message_wizard_form')[1] + except ValueError: + compose_form_id = False + ctx = dict() + print self.ids[0] + ctx.update({ + 'default_model': 'cab.log', + 'default_res_id': self.ids[0], + 'default_use_template': bool(template_id), + 'default_template_id': template_id, + 'default_composition_mode': 'comment', + }) + return { + 'type': 'ir.actions.act_window', + 'view_type': 'form', + 'view_mode': 'form', + 'res_model': 'mail.compose.message', + 'views': [(compose_form_id, 'form')], + 'view_id': compose_form_id, + 'target': 'new', + 'context': ctx, + } + + +class MailComposeMessage(models.TransientModel): + _inherit = 'mail.compose.message' + + @api.multi + def send_mail(self, auto_commit=False): + if self._context.get('default_model') == 'cab.log' and self._context.get('default_res_id'): + order = self.env['cab.log'].browse([self._context['default_res_id']]) + if order.state == 'approved': + order.state = 'done' + order.sent = True + self = self.with_context(mail_post_autofollow=True) + return super(MailComposeMessage, self).send_mail(auto_commit=auto_commit) diff --git a/cab_booking_management/models/cab_maintanence.py b/cab_booking_management/models/cab_maintanence.py new file mode 100644 index 000000000..a078bcf6d --- /dev/null +++ b/cab_booking_management/models/cab_maintanence.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2009-TODAY Cybrosys Technologies(). +# +# you can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. +# If not, see . +# +############################################################################## + +from openerp import models, fields, api + + +class CabMaintanence(models.Model): + _name = 'cab.maintanence' + + name = fields.Many2one('cab.management', string="Name", required=True) + cab_log_date = fields.Date(string="Date", required=True) + fuel_used = fields.Float(string="Fuel Used") + odo_metre = fields.Float(string="OdoMetre Reading") + cab_expense = fields.Float(string="Expense") + total_passenger = fields.Integer(string="Total Passenger") + + @api.onchange('cab_log_date') + def total_log_details(self): + total_fuel = 0 + odo_metres = 0 + expense = 0 + passenger = 0 + for data in self.env['cab.log'].search([]): + if data.cab_log_date == self.cab_log_date: + total_fuel += data.fuel_used + odo_metres += data.odo_metre + expense += data.cab_expense + passenger += data.total_passenger + self.fuel_used = total_fuel + self.odo_metre = odo_metres + self.cab_expense = expense + self.total_passenger = passenger + + + diff --git a/cab_booking_management/models/cab_timing.py b/cab_booking_management/models/cab_timing.py new file mode 100644 index 000000000..39afdd760 --- /dev/null +++ b/cab_booking_management/models/cab_timing.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2008-TODAY Cybrosys Technologies(). +# Author: Nilmar Shereef() +# you can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. +# If not, see . +# +############################################################################## +from openerp import models, fields, api + + +class CabTiming(models.Model): + _name = 'cab.timing' + + name = fields.Many2one('cab.management', string="Cab Name", required=True) + cab_time = fields.Many2many('cab.time', 'cab_name_rel', string="Time", required=True, + help="Use this format 00:00,ex: 01:15") + cab_route = fields.Many2one('cab.location', string='Route', required=True) + seat = fields.Integer(string="Seating Capacity", related='name.seating_capacity', required=True) + + @api.multi + def action_log_form_view(self): + return { + 'name': 'CabLog', + 'view_type': 'form', + 'view_mode': 'form', + 'res_model': 'cab.log', + 'type': 'ir.actions.act_window', + 'target': 'current' + } + + +class Time(models.Model): + _name = 'cab.time' + + name = fields.Char(string="Name", required=True, help="Use this format 00:00,ex: 01:15") + + + + + diff --git a/cab_booking_management/security/ir.model.access.csv b/cab_booking_management/security/ir.model.access.csv new file mode 100644 index 000000000..68db70da6 --- /dev/null +++ b/cab_booking_management/security/ir.model.access.csv @@ -0,0 +1,16 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_cab_management,cab.management,model_cab_management,base.group_user,1,1,1,1 +access_cab_maintenanace,cab.maintanence,model_cab_maintanence,base.group_user,1,1,1,1 +access_cab_log,cab.log,model_cab_log,base.group_user,1,1,1,1 +access_cab_timing,cab.timing,model_cab_timing,base.group_user,1,1,1,1 +access_cab_location,cab.location,model_cab_location,base.group_user,1,1,1,1 +access_cab_booking,cab.booking,model_cab_booking,base.group_user,1,1,1,1 +access_cab_conf,cab.configuration,model_cab_configuration,base.group_user,1,1,1,1 +access_cab_time,cab.time,model_cab_time,base.group_user,1,1,1,1 + + + + + + + diff --git a/cab_booking_management/static/description/banner.jpg b/cab_booking_management/static/description/banner.jpg new file mode 100644 index 000000000..adcdc376c Binary files /dev/null and b/cab_booking_management/static/description/banner.jpg differ diff --git a/cab_booking_management/static/description/booking.png b/cab_booking_management/static/description/booking.png new file mode 100644 index 000000000..956da4c2a Binary files /dev/null and b/cab_booking_management/static/description/booking.png differ diff --git a/cab_booking_management/static/description/cab_activity.png b/cab_booking_management/static/description/cab_activity.png new file mode 100644 index 000000000..2bb7b4847 Binary files /dev/null and b/cab_booking_management/static/description/cab_activity.png differ diff --git a/cab_booking_management/static/description/cab_booking.png b/cab_booking_management/static/description/cab_booking.png new file mode 100644 index 000000000..7232f8ce5 Binary files /dev/null and b/cab_booking_management/static/description/cab_booking.png differ diff --git a/cab_booking_management/static/description/cab_cancel.png b/cab_booking_management/static/description/cab_cancel.png new file mode 100644 index 000000000..4b7478d2e Binary files /dev/null and b/cab_booking_management/static/description/cab_cancel.png differ diff --git a/cab_booking_management/static/description/cab_conf.png b/cab_booking_management/static/description/cab_conf.png new file mode 100644 index 000000000..ff1835faf Binary files /dev/null and b/cab_booking_management/static/description/cab_conf.png differ diff --git a/cab_booking_management/static/description/cab_creation.png b/cab_booking_management/static/description/cab_creation.png new file mode 100644 index 000000000..c416bf057 Binary files /dev/null and b/cab_booking_management/static/description/cab_creation.png differ diff --git a/cab_booking_management/static/description/cab_details.png b/cab_booking_management/static/description/cab_details.png new file mode 100644 index 000000000..36c271d10 Binary files /dev/null and b/cab_booking_management/static/description/cab_details.png differ diff --git a/cab_booking_management/static/description/config.png b/cab_booking_management/static/description/config.png new file mode 100644 index 000000000..28f18614c Binary files /dev/null and b/cab_booking_management/static/description/config.png differ diff --git a/cab_booking_management/static/description/cybro_logo.png b/cab_booking_management/static/description/cybro_logo.png new file mode 100644 index 000000000..bb309114c Binary files /dev/null and b/cab_booking_management/static/description/cybro_logo.png differ diff --git a/cab_booking_management/static/description/icon.png b/cab_booking_management/static/description/icon.png new file mode 100644 index 000000000..53f81b27b Binary files /dev/null and b/cab_booking_management/static/description/icon.png differ diff --git a/cab_booking_management/static/description/index.html b/cab_booking_management/static/description/index.html new file mode 100644 index 000000000..59bc18a4b --- /dev/null +++ b/cab_booking_management/static/description/index.html @@ -0,0 +1,180 @@ +
+
+

Cab Booking Management System (CBMS)

+

Manage the cabs with ease

+

Cybrosys Technologies , www.cybrosys.com

+
+

Major Features:

+
    +
  •   Booking the Cab.
  • +
  •   Auto approval Settings in Configuration.
  • +
  •   Cab Logs for Every Trip.
  • +
  •   Record Every Activity Related to CBMS.
  • +
  •   Email Notification for Successful Booking.
  • +
  •   Booking Status.
  • +
  •   View All Cab Activities with Advanced Filttrations.
  • +
+
+
+
+ + +
+
+
+
+ +
+
+
+

+ Odoo's Cab booking management has a very simple interface for managing the cab system. + It helps booking the cab, maintains logs and record every activity related to the cab management. +

+
+
+
+ +
+
+

Amazing & Outstanding Features

+

A friendly interface, time saving

+
+
+ +
+

Auto approve

+

Approve or discard the cab booking automatically.

+
+
+
+ +
+

Cancel booking

+

+ Now cancelling the cab booking is faster +

+
+
+
+ +
+
+

Cab Creation

+

create a cab

+
+
+ +
+
+
+

+ Odoo's cab booking management system provides a very easy way to create a new cab and store the related details of cab. + It also specifies which cab operates in which location and at what time. +

+
+
+
+ +
+
+

Cab Log

+

Mantains the log of the cab

+
+

+ Odoo's cab booking management system provides a very easy way to maintain the log of the cabs. + It maintains the details of the expenses of all trips of the cab. +

+
+
+
+ +
+
+
+
+ +
+
+

Cab Activity

+

Mantain activity of cab

+
+
+ +
+
+
+

+ With Odoo's cab booking management system you can maintain the total activity of the cabs on timely basis. + It shows the total expenses for a cab, on daily basis.
+

+
+
+
+ +
+
+

Book the Cab

+

Book the cab in easy way

+
+

+ Odoo's cab booking management system provides a very easy way to book a cab. + It provides a choice to book a cab from a list of cabs operating in your area. +

+
+
+
+ +
+
+
+
+ +
+
+

Booking Features

+

Book cabs

+
+
+ +
+

List of Cabs

+

Here you can select a cab from a list of cabs operating in a particular location at particular time.

+ +
+
+
+ +
+

Email

+

+ Email is sent on the successful booking of a particular cab to the user. +

+
+
+
+ +
+

You Looking for a free Documentation of this Application.?

+

Give a Request Mail to:    oddo@cybrosys.com

+
+ +
+

Need Any Help?

+ + +
+ + + + diff --git a/cab_booking_management/static/description/log_details.png b/cab_booking_management/static/description/log_details.png new file mode 100644 index 000000000..72494ea34 Binary files /dev/null and b/cab_booking_management/static/description/log_details.png differ diff --git a/cab_booking_management/static/description/mail.png b/cab_booking_management/static/description/mail.png new file mode 100644 index 000000000..07eca6214 Binary files /dev/null and b/cab_booking_management/static/description/mail.png differ diff --git a/cab_booking_management/views/cab_booking_view.xml b/cab_booking_management/views/cab_booking_view.xml new file mode 100644 index 000000000..9ac360d60 --- /dev/null +++ b/cab_booking_management/views/cab_booking_view.xml @@ -0,0 +1,64 @@ + + + + Cab Booking + cab.booking + +
+
+ +
+

BOOK YOUR CAB

+
+ +
+ + + + + + + + + + + + + + +