Browse Source

Sep 26 : [ADD] Initial Commit 'event_catering'

pull/254/merge
RisvanaCybro 2 years ago
parent
commit
2f82190c19
  1. 50
      event_catering/README.rst
  2. 22
      event_catering/__init__.py
  3. 49
      event_catering/__manifest__.py
  4. 10
      event_catering/data/catering_service_data.xml
  5. 14
      event_catering/data/ir_sequence_data.xml
  6. 7
      event_catering/doc/RELEASE_NOTES.md
  7. 25
      event_catering/models/__init__.py
  8. 66
      event_catering/models/event_catering_work.py
  9. 110
      event_catering/models/event_management.py
  10. 91
      event_catering/models/event_management_catering.py
  11. 31
      event_catering/models/event_service_line.py
  12. 14
      event_catering/security/event_catering_manager_groups.xml
  13. 30
      event_catering/security/event_catering_security.xml
  14. 8
      event_catering/security/ir.model.access.csv
  15. BIN
      event_catering/static/description/assets/icons/check.png
  16. BIN
      event_catering/static/description/assets/icons/chevron.png
  17. BIN
      event_catering/static/description/assets/icons/cogs.png
  18. BIN
      event_catering/static/description/assets/icons/consultation.png
  19. BIN
      event_catering/static/description/assets/icons/ecom-black.png
  20. BIN
      event_catering/static/description/assets/icons/education-black.png
  21. BIN
      event_catering/static/description/assets/icons/hotel-black.png
  22. BIN
      event_catering/static/description/assets/icons/license.png
  23. BIN
      event_catering/static/description/assets/icons/lifebuoy.png
  24. BIN
      event_catering/static/description/assets/icons/logo.png
  25. BIN
      event_catering/static/description/assets/icons/manufacturing-black.png
  26. BIN
      event_catering/static/description/assets/icons/pos-black.png
  27. BIN
      event_catering/static/description/assets/icons/puzzle.png
  28. BIN
      event_catering/static/description/assets/icons/restaurant-black.png
  29. BIN
      event_catering/static/description/assets/icons/service-black.png
  30. BIN
      event_catering/static/description/assets/icons/trading-black.png
  31. BIN
      event_catering/static/description/assets/icons/training.png
  32. BIN
      event_catering/static/description/assets/icons/update.png
  33. BIN
      event_catering/static/description/assets/icons/user.png
  34. BIN
      event_catering/static/description/assets/icons/wrench.png
  35. BIN
      event_catering/static/description/assets/misc/categories.png
  36. BIN
      event_catering/static/description/assets/misc/check-box.png
  37. BIN
      event_catering/static/description/assets/misc/compass.png
  38. BIN
      event_catering/static/description/assets/misc/corporate.png
  39. BIN
      event_catering/static/description/assets/misc/customer-support.png
  40. BIN
      event_catering/static/description/assets/misc/cybrosys-logo.png
  41. BIN
      event_catering/static/description/assets/misc/features.png
  42. BIN
      event_catering/static/description/assets/misc/logo.png
  43. BIN
      event_catering/static/description/assets/misc/pictures.png
  44. BIN
      event_catering/static/description/assets/misc/pie-chart.png
  45. BIN
      event_catering/static/description/assets/misc/right-arrow.png
  46. BIN
      event_catering/static/description/assets/misc/star.png
  47. BIN
      event_catering/static/description/assets/misc/support.png
  48. BIN
      event_catering/static/description/assets/misc/whatsapp.png
  49. BIN
      event_catering/static/description/assets/modules/1.png
  50. BIN
      event_catering/static/description/assets/modules/2.png
  51. BIN
      event_catering/static/description/assets/modules/3.png
  52. BIN
      event_catering/static/description/assets/modules/4.png
  53. BIN
      event_catering/static/description/assets/modules/5.gif
  54. BIN
      event_catering/static/description/assets/modules/6.png
  55. BIN
      event_catering/static/description/assets/screenshots/Screenshot1.png
  56. BIN
      event_catering/static/description/assets/screenshots/Screenshot2.png
  57. BIN
      event_catering/static/description/assets/screenshots/Screenshot3.png
  58. BIN
      event_catering/static/description/assets/screenshots/hero.gif
  59. BIN
      event_catering/static/description/banner.png
  60. BIN
      event_catering/static/description/icon.png
  61. 653
      event_catering/static/description/index.html
  62. BIN
      event_catering/static/img/catering_product-image.jpeg
  63. 165
      event_catering/views/event_management_catering_views.xml
  64. 40
      event_catering/views/event_management_views.xml

50
event_catering/README.rst

@ -0,0 +1,50 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
Event Catering Service
======================
Event Catering attaches catering service to Event Management module thus
extending the scope of the Event Management Module. When you install this
module, a new service 'Catering' will be available in event management.
Configuration
=============
* Automatically creates from event order.
* Catering manager can update the state of the event order.
* Single click for completing a work.
License
-------
Affero General Public License v3.0 (AGPL v3)
(http://www.gnu.org/licenses/agpl-3.0-standalone.html)
Company
-------
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
Credits
-------
Developer : (V15) Vishnuraj @ Cybrosys
Contacts
--------
* Mail Contact : odoo@cybrosys.com
* Website : https://cybrosys.com
Bug Tracker
-----------
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.
Maintainer
==========
.. image:: https://cybrosys.com/images/logo.png
:target: https://cybrosys.com
This module is maintained by Cybrosys Technologies.
For support and more information, please visit `Our Website <https://cybrosys.com/>`__
Further information
===================
HTML Description: `<static/description/index.html>`__

22
event_catering/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Vishnuraj (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
from . import models

49
event_catering/__manifest__.py

@ -0,0 +1,49 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Vishnuraj (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
{
'name': 'Event Catering Service',
'version': '15.0.1.0.0',
"category": "Industries",
'summary': """ Catering Service for Event Management Module.""",
'description': """Event Catering attaches catering service to
Event Management module thus extending the scope of the Event Management
Module. When you install this module, a new service 'Catering' will be
available in event management. """,
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'website': "https://www.cybrosys.com",
'depends': ['event_management'],
'data': ['security/event_catering_manager_groups.xml',
'security/event_catering_security.xml',
'security/ir.model.access.csv',
'data/catering_service_data.xml',
'data/ir_sequence_data.xml',
'views/event_management_catering_views.xml',
'views/event_management_views.xml',
],
'images': ['static/description/banner.png'],
'license': 'AGPL-3',
'installable': True,
'auto_install': False,
'application': False,
}

10
event_catering/data/catering_service_data.xml

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Adding catering service as product -->
<record id="catering_service_product" model="product.product">
<field name="name">Catering Service</field>
<field name="type">service</field>
<field name="image_1920" type="base64"
file="event_catering/static/img/catering_product-image.jpeg"/>
</record>
</odoo>

14
event_catering/data/ir_sequence_data.xml

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!-- Sequence number for catering service -->
<record id="sequence_catering_order" model="ir.sequence">
<field name="name">Catering Service</field>
<field name="code">catering.order.sequence</field>
<field name="suffix">%(day)s/%(month)s/%(year)s</field>
<field name="prefix">CAT-</field>
<field name="number_increment">1</field>
<field name="padding">2</field>
</record>
</data>
</odoo>

7
event_catering/doc/RELEASE_NOTES.md

@ -0,0 +1,7 @@
## Module <event_catering>
#### 18.07.2023
#### Version 15.0.1.0.0
##### ADD
- Initial Commit for Event Catering Service

25
event_catering/models/__init__.py

@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Vishnuraj (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
from . import event_catering_work
from . import event_management
from . import event_management_catering
from . import event_service_line

66
event_catering/models/event_catering_work.py

@ -0,0 +1,66 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Vishnuraj (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
from odoo import api, fields, models
class EventCateringWork(models.Model):
"""
This class is for creating catering works.
it contains fields and functions for the model.
Methods:
_onchange_service_id(self):
calculate value of amount field when change the service_id
_compute_sub_total(self):
computes sub_total field
"""
_name = 'event.catering.work'
_description = "Event Catering Work"
service_id = fields.Many2one('product.product', string="Services",
required=True, help="Choose the services")
quantity = fields.Float(string="Quantity", default=1,
help="How many quantity consumed")
amount = fields.Float(string="Amount", help="Amount per quantity")
sub_total = fields.Float(string="Sub Total", compute="_compute_sub_total",
readonly=True, help="Shows subtotal")
currency_id = fields.Many2one('res.currency', readonly=True,
string="Currency",
default=lambda self:
self.env.user.company_id.currency_id,
help="Select the currency")
catering_id = fields.Many2one('event.management.catering',
string="Catering Id",
help="Select the catering")
work_status = fields.Selection([('open', 'Open'), ('done', 'Done')],
string="Work Status", default='open',
help="Shows the current status of catering")
@api.onchange('service_id')
def _onchange_service_id(self):
""" Function for calculate amount field when change service_id field """
self.amount = self.service_id.lst_price
@api.depends('quantity', 'amount')
def _compute_sub_total(self):
""" Computes sub_total field when quantity or amount changes """
for rec in self:
rec.sub_total = rec.quantity * rec.amount

110
event_catering/models/event_management.py

@ -0,0 +1,110 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Vishnuraj (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
from odoo import api, fields, models
class EventManagement(models.Model):
"""
This class is used to create catering details in Event management.
It contains fields and functions for the model
Methods:
_compute_catering_pending(self):
function to computes catering_pending field
_compute_catering_done(self):
function to computes catering done field
action_event_confirm(self):
actions to perform when clicking on the 'Confirm' button.
action_view_catering_service(self):
actions to perform when clicking on the 'Pending Done' smart button.
"""
_inherit = 'event.management'
catering_on = fields.Boolean(string="Catering Active", default=False,
help="Shows thw catering is active or not")
catering_id = fields.Many2one('event.management.catering',
string="Catering Id",
help="Corresponding catering in event")
catering_pending = fields.Integer(string='Catering Pending',
compute='_compute_catering_pending',
help="Shows count of catering "
"works are pending")
catering_done = fields.Integer(string='Catering Done',
compute='_compute_catering_done',
help="Shows how many catering works are done"
)
@api.depends('catering_id.catering_works_ids.work_status')
def _compute_catering_pending(self):
""" Computes catering_pending field """
self.catering_pending = False
for order in self.catering_id:
pending = 0
for lines in order.catering_works_ids:
if lines.work_status == 'open':
pending += 1
self.catering_pending = pending
@api.depends('catering_id.catering_works_ids.work_status')
def _compute_catering_done(self):
""" Computes catering_done field """
self.catering_done = False
for order in self.catering_id:
done = 0
for lines in order.catering_works_ids:
if lines.work_status == 'done':
done += 1
self.catering_done = done
def action_event_confirm(self):
"""
Extended function for the 'Confirm' button to create catering service
when confirming event.
"""
catering_line = self.service_line_ids.search([
('service', '=', 'catering'), ('event_id', '=', self.id)])
if len(catering_line) > 0:
self.catering_on = True
self.catering_id = self.env['event.management.catering'].create({
'name': self.env['ir.sequence'].next_by_code(
'catering.order.sequence'),
'start_date': catering_line.date_from,
'end_date': catering_line.date_to,
'parent_event_id': self.id,
'event_type_id': self.type_of_event_id.id,
'catering_id': catering_line.id,
}).id
super(EventManagement, self).action_event_confirm()
def action_view_catering_service(self):
"""
This function returns an action that display existing catering
service of the event.
"""
action = self.env.ref(
'event_catering.event_management_catering_action'). \
sudo().read()[0]
action['views'] = [(self.env.ref(
'event_catering.event_management_catering_view_form').id, 'form')]
action['res_id'] = self.catering_id.id
if self.catering_id.id is not False:
return action
return False

91
event_catering/models/event_management_catering.py

@ -0,0 +1,91 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Vishnuraj (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
from odoo import api, fields, models, _
from odoo.exceptions import UserError
class EventManagementCatering(models.Model):
"""
This class is for creating catering services.
it contains fields and functions for the model.
Methods:
_compute_price_subtotal(self):
computes price_subtotal field
action_catering_done(self):
actions to perform when clicking on the 'Done' button.
"""
_name = 'event.management.catering'
_description = "Event Management Catering"
name = fields.Char(string="Name", readonly=True, help="Name of caterings")
date = fields.Date(string="Date", default=fields.Date.today, readonly=True,
help="date of catering created")
start_date = fields.Datetime(string="Start date", readonly=True,
help="starting date of catering service")
end_date = fields.Datetime(string="End date", readonly=True,
help="end date of catering service")
catering_works_ids = fields.One2many('event.catering.work', 'catering_id',
string="Catering Works",
help="selected catering works")
state = fields.Selection([('open', 'Open'), ('done', 'Done')],
string="State", default="open",
help="Current state of event")
note = fields.Text(string="Terms and conditions",
help="Display terms and condition for this service")
price_subtotal = fields.Float(string='Total',
compute='_compute_price_subtotal',
readonly=True, store=True,
help="Shows the total price")
parent_event_id = fields.Many2one('event.management', string="Event",
readonly=True, help="Parent event")
catering_id = fields.Integer(string="Catering Id",
help="Catering serial no")
currency_id = fields.Many2one('res.currency', readonly=True,
string="Currency",
default=lambda self:
self.env.user.company_id.currency_id,
help="Select currency")
event_type_id = fields.Many2one('event.management.type',
string="Event Type", readonly=True,
help="Select the type of event")
@api.depends('catering_works_ids')
def _compute_price_subtotal(self):
""" Computes price_subtotal field """
total = 0
for items in self.catering_works_ids:
total += items.quantity * items.amount
self.price_subtotal = total
def action_catering_done(self):
""" Function for the 'Done' button to change the state to 'Done'. """
for items in self.catering_works_ids:
if items.work_status == 'open':
raise UserError(_("Catering works are pending"))
for items in self.sudo().parent_event_id.service_line_ids:
if items.id == self.sudo().catering_id:
items.sudo().write({
'amount': self.price_subtotal,
'state': 'done',
'related_product_id': self.env.ref(
'event_catering.catering_service_product').id})
self.state = "done"

31
event_catering/models/event_service_line.py

@ -0,0 +1,31 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Vishnuraj (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
from odoo import fields, models
class EventServiceLine(models.Model):
""" This class adding options to service line of event management model """
_inherit = 'event.service.line'
service = fields.Selection(selection_add=[('catering', 'Catering')],
help="Adding catering option to services",
ondelete={'catering': 'cascade'},)

14
event_catering/security/event_catering_manager_groups.xml

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- The security groups for the module -->
<record id="event_catering_group_catering_manager" model="res.groups">
<field name="name">Catering Manager</field>
<field name="category_id"
ref="event_management.module_category_event_management"/>
</record>
<!-- Record adds catering manager record to event manager -->
<record id="event_management.group_event_manager" model="res.groups">
<field name="implied_ids"
eval="[(4, ref('event_catering_group_catering_manager'))]"/>
</record>
</odoo>

30
event_catering/security/event_catering_security.xml

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Rule to show only the records of their own for Catering managers -->
<record id="event_catering_rule_own_event_manager" model="ir.rule">
<field name="name">event.catering.rule.own.event.manager</field>
<field name="model_id"
ref="event_management.model_event_management"/>
<field name="domain_force">[('create_uid','=',user.id)]</field>
<field name="groups"
eval="[(4, ref('event_catering.event_catering_group_catering_manager'))]"/>
</record>
<!-- Rule to show only the records of their own for Catering managers -->
<record id="event_catering_rule_own_catering_manager" model="ir.rule">
<field name="name">event.catering.rule.own.catering.manager</field>
<field name="model_id"
ref="event_catering.model_event_management_catering"/>
<field name="domain_force">[('create_uid','=',user.id)]</field>
<field name="groups"
eval="[(4, ref('event_catering.event_catering_group_catering_manager'))]"/>
</record>
<!-- Rule to show only the records of their own for Event managers -->
<record id="event_catering_rule_all_catering_manager" model="ir.rule">
<field name="name">event.catering.rule.all.catering.manager</field>
<field name="model_id"
ref="event_catering.model_event_management_catering"/>
<field name="domain_force">[]</field>
<field name="groups"
eval="[(4, ref('event_management.group_event_manager'))]"/>
</record>
</odoo>

8
event_catering/security/ir.model.access.csv

@ -0,0 +1,8 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_event_management_catering_event_manager,access.event.management.catering.event.manager,event_catering.model_event_management_catering,event_management.group_event_manager,1,1,1,1
access_event_catering_work_event_manager,access.event.catering.work.event.manager,event_catering.model_event_catering_work,event_management.group_event_manager,1,1,1,1
access_event_management_catering_catering_manager,access.event.management.catering.catering.manager,event_catering.model_event_management_catering,event_catering.event_catering_group_catering_manager,1,1,1,1
access_event_catering_work_catering_manager,access.event.catering.work.catering.manager,event_catering.model_event_catering_work,event_catering.event_catering_group_catering_manager,1,1,1,1
access_event_management_type_catering_manager,access.event.management.type.catering.manager,event_management.model_event_management_type,event_catering.event_catering_group_catering_manager,1,0,0,0
access_event_management_catering_manager,access.event.management.catering.manager,event_management.model_event_management,event_catering.event_catering_group_catering_manager,1,1,1,0
access_event_service_line_catering_manager,access.event.service.line.catering.manager,event_management.model_event_service_line,event_catering.event_catering_group_catering_manager,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_event_management_catering_event_manager access.event.management.catering.event.manager event_catering.model_event_management_catering event_management.group_event_manager 1 1 1 1
3 access_event_catering_work_event_manager access.event.catering.work.event.manager event_catering.model_event_catering_work event_management.group_event_manager 1 1 1 1
4 access_event_management_catering_catering_manager access.event.management.catering.catering.manager event_catering.model_event_management_catering event_catering.event_catering_group_catering_manager 1 1 1 1
5 access_event_catering_work_catering_manager access.event.catering.work.catering.manager event_catering.model_event_catering_work event_catering.event_catering_group_catering_manager 1 1 1 1
6 access_event_management_type_catering_manager access.event.management.type.catering.manager event_management.model_event_management_type event_catering.event_catering_group_catering_manager 1 0 0 0
7 access_event_management_catering_manager access.event.management.catering.manager event_management.model_event_management event_catering.event_catering_group_catering_manager 1 1 1 0
8 access_event_service_line_catering_manager access.event.service.line.catering.manager event_management.model_event_service_line event_catering.event_catering_group_catering_manager 1 1 1 1

BIN
event_catering/static/description/assets/icons/check.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
event_catering/static/description/assets/icons/chevron.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
event_catering/static/description/assets/icons/cogs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
event_catering/static/description/assets/icons/consultation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
event_catering/static/description/assets/icons/ecom-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

BIN
event_catering/static/description/assets/icons/education-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
event_catering/static/description/assets/icons/hotel-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

BIN
event_catering/static/description/assets/icons/license.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
event_catering/static/description/assets/icons/lifebuoy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
event_catering/static/description/assets/icons/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
event_catering/static/description/assets/icons/manufacturing-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
event_catering/static/description/assets/icons/pos-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

BIN
event_catering/static/description/assets/icons/puzzle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
event_catering/static/description/assets/icons/restaurant-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

BIN
event_catering/static/description/assets/icons/service-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

BIN
event_catering/static/description/assets/icons/trading-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

BIN
event_catering/static/description/assets/icons/training.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
event_catering/static/description/assets/icons/update.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
event_catering/static/description/assets/icons/user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

BIN
event_catering/static/description/assets/icons/wrench.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
event_catering/static/description/assets/misc/categories.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
event_catering/static/description/assets/misc/check-box.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
event_catering/static/description/assets/misc/compass.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
event_catering/static/description/assets/misc/corporate.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
event_catering/static/description/assets/misc/customer-support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
event_catering/static/description/assets/misc/cybrosys-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
event_catering/static/description/assets/misc/features.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

BIN
event_catering/static/description/assets/misc/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
event_catering/static/description/assets/misc/pictures.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
event_catering/static/description/assets/misc/pie-chart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
event_catering/static/description/assets/misc/right-arrow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

BIN
event_catering/static/description/assets/misc/star.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
event_catering/static/description/assets/misc/support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
event_catering/static/description/assets/misc/whatsapp.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
event_catering/static/description/assets/modules/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
event_catering/static/description/assets/modules/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
event_catering/static/description/assets/modules/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
event_catering/static/description/assets/modules/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
event_catering/static/description/assets/modules/5.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

BIN
event_catering/static/description/assets/modules/6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
event_catering/static/description/assets/screenshots/Screenshot1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
event_catering/static/description/assets/screenshots/Screenshot2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 KiB

BIN
event_catering/static/description/assets/screenshots/Screenshot3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

BIN
event_catering/static/description/assets/screenshots/hero.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

BIN
event_catering/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

BIN
event_catering/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

653
event_catering/static/description/index.html

@ -0,0 +1,653 @@
<!-- TITLE BAR -->
<div class="container"
style="padding: 1rem !important; margin-bottom: 1rem !important;">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between"
style="border-bottom: 1px solid #d5d5d5;">
<div class="my-3">
<img src="./assets/icons/logo.png"
style="width: auto !important; height: 40px !important;">
</div>
<div class="my-3 d-flex align-items-center">
<div style="background-color: #7C7BAD !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;">
<i class="fa fa-check mr-1"/>Community
</div>
<div style="background-color: #875A7B !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;">
<i class="fa fa-check mr-1"/>Enterprise
</div>
</div>
</div>
</div>
</div>
<!-- END OF TITLE BAR -->
<div class="container" style="padding: 0rem 1.5rem 4rem !important">
<div class="row" style="height: 900px !important;">
<div class="col-sm-12 col-md-12 col-lg-12"
style="padding: 4rem 1rem !important; background-color: #714B67 !important; height: 600px !important; border-radius: 20px !important;">
<!-- APP HERO -->
<h1 style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #FFFFFF !important; font-size: 3.5rem !important; text-align: center !important;">
Event Catering Service
</h1>
<p style="font-family: 'Montserrat', sans-serif !important; font-weight: 300 !important; color: #FFFFFF !important; font-size: 1.4rem !important; text-align: center !important;">
A Module for managing catering services, Supporting module
for Event Management
</p>
<!-- END OF APP HERO -->
<img src="event_catering/static/description/assets/screenshots/hero.gif"
class="img-responsive" width="100%" height="auto"/>
</div>
</div>
<!-- NAVIGATION SECTION -->
<div class="row">
<div class="col-md-12"
style="border-bottom: 1px solid #d5d5d5 !important; margin-bottom: 2rem !important">
<h2 style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-compass mr-2"/>Explore this module
</h2>
<div class="row">
<div class="col-md-6">
<a href="#overview"
style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3 style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Overview
</h3>
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
Learn more about this module
</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right"
style="color: #714B67 !important;"/>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#features"
style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3 style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Features
</h3>
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
View features of this module
</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right"
style="color: #714B67 !important;"/>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#screenshots"
style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3 style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Screenshots
</h3>
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
See key screenshots of this module
</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right"
style="color: #714B67 !important;"/>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
<!-- END OF NAVIGATION SECTION -->
<!-- OVERVIEW SECTION -->
<div class="row" id="overview">
<div class="col-md-12"
style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2 style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-pie-chart mr-2"/>Overview
</h2>
</div>
<div class="col-mg-12 pl-3">
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important; line-height: 30px !important;">
Event Catering attaches catering service to Event Management
module thus
extending the scope of the Event Management Module. When install
this
module, a new service 'Catering' will be available in event
management
</p>
</div>
</div>
<!-- END OF OVERVIEW SECTION -->
<!-- FEATURES SECTION -->
<div class="row" id="features">
<div class="col-md-12"
style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-star mr-2"/>Features
</h2>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Automatically created from the particular event order.
</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Catering and Event Manager can update the state of event
order and thus the catering order.
</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Simply complete the work order on a single click.
</h4>
</div>
</div>
</div>
<!-- END OF FEATURES SECTION -->
<!-- SCREENSHOTS SECTION -->
<div class="row" id="screenshots">
<div class="col-md-12"
style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-image mr-2"/>Screenshots
</h2>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Catering Service Form View
</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
User can add the product to be serviced.
</p>
<img src="assets/screenshots/Screenshot1.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Catering Service Kanban view
</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Details including Event Type and Reference can be viewed in
kanban view.
</p>
<img src="assets/screenshots/Screenshot2.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Catering Service Tree view
</h4>
<p style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Event type, Start and End dates etc. can be viewed in tree
view.
</p>
<img src="assets/screenshots/Screenshot3.png"
class="img-responsive img-thumbnail border" width="100%"
height="auto"/>
</div>
</div>
<!-- END OF SCREENSHOTS SECTION -->
<!-- SUGGESTED PRODUCTS -->
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center"
style="text-align: center; padding: 2.5rem 1rem !important;">
<h2 style="color: #212529 !important;">Suggested Products</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
<div id="demo1" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner">
<div class="carousel-item active" style="min-height:0px">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/dynamic_accounts_report/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/1.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/custom_gantt_view/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/2.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/project_custom_gantt/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/3.png">
</div>
</a>
</div>
</div>
<div class="carousel-item" style="min-height:0px">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/account_reports_xlsx/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/4.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/base_accounting_kit/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/5.gif">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/hr_payroll_community/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/6.png">
</div>
</a>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo1" data-slide="prev"
style="left:-25px;width: 35px;color: #000;">
<span class="carousel-control-prev-icon">
<i class="fa fa-chevron-left"
style="font-size:24px"/>
</span> </a>
<a class="carousel-control-next" href="#demo1"
data-slide="next"
style="right:-25px;width: 35px;color: #000;">
<span class="carousel-control-next-icon">
<i class="fa fa-chevron-right"
style="font-size:24px"/>
</span>
</a>
</div>
</div>
</div>
<!-- END OF SUGGESTED PRODUCTS -->
<!-- OUR SERVICES -->
<section class="container" style="margin-top: 6rem !important;">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Our Services</h2>
<hr style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/cogs.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Customization</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/wrench.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/lifebuoy.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Support</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/user.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Hire
Odoo
Developer</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/puzzle.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Integration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/update.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Migration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/consultation.png"
class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Consultancy</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/training.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/license.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Licensing Consultancy</h6>
</div>
</div>
</section>
<!-- END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<section class="container" style="margin-top: 6rem !important;">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Our Industries</h2>
<hr style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/trading-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Trading
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easily procure
and
sell your products</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/pos-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
POS
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easy
configuration
and convivial experience</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/education-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Education
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
A platform for
educational management</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/manufacturing-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Manufacturing
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Plan, track and
schedule your operations</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/ecom-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
E-commerce &amp; Website
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Mobile
friendly,
awe-inspiring product pages</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/service-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Service Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Keep track of
services and invoice</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/restaurant-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Restaurant
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Run your bar or
restaurant methodically</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/hotel-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Hotel Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
An
all-inclusive
hotel management application</p>
</div>
</div>
</div>
</section>
<!-- END OF OUR INDUSTRIES -->
<!-- FOOTER -->
<!-- Footer Section -->
<section class="container" style="margin: 5rem auto 2rem;">
<div class="row" style="max-width:1540px;">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Need Help?</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;"/>
</div>
</div>
<!-- Contact Cards -->
<div class="row d-flex justify-content-center align-items-center"
style="max-width:1540px; margin: 0 auto 2rem auto;">
<div class="col-lg-12"
style="padding: 0rem 3rem 2rem; border-radius: 10px; margin-right: 3rem; ">
<div class="row mt-4">
<div class="col-lg-6">
<a href="mailto:odoo@cybrosys.com" target="_blank"
class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #4d4d4d; color: #FFF; border-radius: 4px;">
<i class="fa fa-envelope mr-2"/>odoo@cybrosys.com</a>
</div>
<div class="col-lg-6">
<a href="https://api.whatsapp.com/send?phone=918606827707"
target="_blank"
class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #25D366; color: #FFF; border-radius: 4px;">
<i class="fa fa-whatsapp mr-2"/>WhatsApp</a>
</div>
</div>
</div>
</div>
<!-- End of Contact Cards -->
</section>
<!-- Footer -->
<section class="oe_container" style="padding: 2rem 3rem 1rem;">
<div class="row"
style="max-width:1540px; margin: 0 auto; margin-right: 3rem; ">
<!-- Logo -->
<div class="col-lg-12 d-flex justify-content-center align-items-center"
style="margin-top: 3rem;">
<img src="https://www.cybrosys.com/images/logo.png"
width="200px" height="auto"/>
</div>
<!-- End of Logo -->
<div class="col-lg-12">
<hr style="margin-top: 3rem;background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(229,229,229,1) 33%, rgba(229,229,229,1) 58%, rgba(0,212,255,0) 100%); height: 2px; border-style: none;">
<!-- End of Footer Section -->
</div>
</div>
</section>
<!-- END OF FOOTER -->
</div>

BIN
event_catering/static/img/catering_product-image.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

165
event_catering/views/event_management_catering_views.xml

@ -0,0 +1,165 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<!-- Tree View for Event Management Catering -->
<record id="event_management_catering_view_tree" model="ir.ui.view">
<field name="name">event.management.catering.view.tree</field>
<field name="model">event.management.catering</field>
<field name="arch" type="xml">
<tree create="false">
<field name="name"/>
<field name="event_type_id"/>
<field name="date"/>
<field name="start_date"/>
<field name="end_date"/>
</tree>
</field>
</record>
<!-- Kanban View for Event Management Catering -->
<record id="event_management_catering_view_kanban" model="ir.ui.view">
<field name="name">event.management.catering.view.kanban</field>
<field name="model">event.management.catering</field>
<field name="arch" type="xml">
<kanban quick_create="false" create="false">
<field name="event_type_id"/>
<templates>
<t t-name="kanban-box">
<div class="oe_kanban_global_click o_kanban_record_has_image_fill o_hr_kanban_record">
<div class="o_kanban_image_fill_left">
<img t-att-src="kanban_image('event.management.type', 'image', record.event_type_id.raw_value)"
alt="type"
style="width:90%;height:130px;"/>
<div class="oe_clear"/>
</div>
<div class="o_kanban_details">
<div class="o_kanban_record_top">
<div class="o_kanban_record_headings">
<strong class="o_kanban_record_title">
<field name="name"/>
</strong>
<br/>
<br/>
<field name="event_type_id"/>
</div>
</div>
</div>
</div>
</t>
</templates>
</kanban>
</field>
</record>
<!-- Form View Event Management Catering -->
<record id="event_management_catering_view_form" model="ir.ui.view">
<field name="name">event.management.catering.view.form</field>
<field name="model">event.management.catering</field>
<field name="arch" type="xml">
<form create="false">
<header>
<button name="action_catering_done" string="Done"
type="object" class="oe_highlight"
states="open"/>
<field name="state" widget="statusbar"
statusbar_visible="open,done"/>
</header>
<sheet>
<h1>
<field name="name"/>
</h1>
<group>
<group>
<field name="parent_event_id"/>
<field name="event_type_id"/>
</group>
<group>
<field name="date"/>
<field name="start_date"/>
<field name="end_date"/>
<field name="currency_id" invisible="1"/>
</group>
</group>
<notebook>
<page string="Catering Works">
<field name="catering_works_ids" mode="tree"
attrs="{'readonly': [('state', '=', 'done')]}">
<form string="Catering Lines Form">
<group>
<group>
<field name="service_id"/>
<field name="amount"/>
</group>
</group>
</form>
<tree string="Catering Lines Tree"
editable="bottom">
<field name="service_id"/>
<field name="work_status" string="Status"/>
<field name="quantity"/>
<field name="amount"/>
<field name="currency_id"
invisible="1"/>
<field name="sub_total"
widget="monetary"
options="{'currency_field': 'currency_id'}"/>
</tree>
</field>
<group class="oe_subtotal_footer oe_right"
colspan="2" name="catering_total">
<div class="oe_subtotal_footer_separator oe_inline o_td_label">
<label for="price_subtotal"/>
</div>
<field name="price_subtotal" nolabel="1"
class="oe_subtotal_footer_separator"
widget='monetary'
options="{'currency_field': 'currency_id'}"/>
</group>
<field name="note" class="oe_inline"
placeholder="Setup default terms and conditions in your company settings."
attrs="{'readonly': [('state', '=', 'done')]}"/>
<div class="oe_clear"/>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<!-- Search View for Event Management Catering -->
<record id="event_management_catering_view_search" model="ir.ui.view">
<field name="name">event.management.catering.view.search</field>
<field name="model">event.management.catering</field>
<field name="arch" type="xml">
<search string="Catering">
<field name="name"/>
<field name="event_type_id"/>
<field name="catering_works_ids"/>
<filter string="Open" name="state_open"
domain="[('state','=','open')]"/>
<group expand="0" string="Group By">
<filter string="Event Type" name="event_type_id"
domain="[]"
context="{'group_by':'event_type_id'}"/>
</group>
</search>
</field>
</record>
<!-- Action window for Event Management Catering -->
<record id="event_management_catering_action"
model="ir.actions.act_window">
<field name="name">Catering Service</field>
<field name="res_model">event.management.catering</field>
<field name="type">ir.actions.act_window</field>
<field name="view_mode">kanban,tree,form</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
You can't create a direct catering.
</p>
<p>
Catering service is created from event order.
</p>
</field>
</record>
<!-- Submenu for catering in event_management_service in event_management module -->
<menuitem id="event_management_catering_menu" name="Catering"
parent="event_management.event_management_service_menu"
action="event_management_catering_action"
groups="event_catering.event_catering_group_catering_manager"/>
</odoo>

40
event_catering/views/event_management_views.xml

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Inherited form view of event_management -->
<record id="event_management_view_form" model="ir.ui.view">
<field name="name">event.management.view.form.inherit.event.catering
</field>
<field name="model">event.management</field>
<field name="inherit_id"
ref="event_management.event_management_view_form"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button name="action_view_catering_service"
type="object"
class="oe_stat_button"
attrs="{'invisible': [('catering_on', '=', False)]}"
help="Catering">
<div class="fa fa-cutlery" title="catering"
style="font-size:21px;padding-left:8px;padding-right:5px;color:#7C7BAD;"/>
<div class="o_stat_info"
style="position: static;padding-left:10px;font-size:12px;font-weight:300;color:#d60000;">
<div style="font-weight:600;font-size:13px">
<field name="catering_pending"/>
</div>
<span class="o_stat_info">Pending</span>
</div>
<div class="o_stat_info"
style="padding-left:10px;font-size:12px;font-weight:300;color:#569220;">
<div style="font-weight:600;font-size:13px">
<field name="catering_done"/>
</div>
<span class="o_stat_info">Done</span>
</div>
</button>
</div>
<field name="partner_id" position="after">
<field name="catering_on" invisible="1"/>
</field>
</field>
</record>
</odoo>
Loading…
Cancel
Save