Browse Source

Nov 25 [ADD] : Initial Commit 'event_catering'

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

24
event_catering/README.rst

@ -0,0 +1,24 @@
==================
Event Catering v16
==================
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.
Features
========
* Automatically creates from event order.
* Catering manager can update the state of the event order.
* Single click for completing a work.
Contributors
============
* Avinash Nk <avinash@cybrosys.in>
Maintainer
==========
This module is maintained by Cybrosys Technologies.
For support and more information, please visit https://www.cybrosys.com

23
event_catering/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
###################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Avinash Nk(<avinash@cybrosys.in>)
#
# This program is free software: you can modify
# it under the terms of the GNU Affero General Public License (AGPL) as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# 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 for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
###################################################################################
from . import models

44
event_catering/__manifest__.py

@ -0,0 +1,44 @@
# -*- coding: utf-8 -*-
###################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
#
# This program is free software: you can modify
# it under the terms of the GNU Affero General Public License (AGPL) as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# 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 for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
###################################################################################
{
'name': 'Event Catering Service',
'version': '16.0.1.0.0',
'summary': """Catering Service for Event Management Module.""",
'description': """Catering Service for Event Management Module.""",
"category": "Industry",
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'website': "https://www.cybrosys.com",
'depends': ['event_management'],
'data': ['security/catering_security.xml',
'security/ir.model.access.csv',
'views/catering_service.xml',
'views/event_form.xml',
'data/catering_service.xml',
],
'demo': [
],
'images': ['static/description/banner.png'],
'license': 'AGPL-3',
'installable': True,
'application': False,
}

22
event_catering/data/catering_service.xml

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<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>
<record model="product.product" id="catering_service_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>
</data>
</odoo>

5
event_catering/doc/RELEASE_NOTES.md

@ -0,0 +1,5 @@
## Module <event_catering>
#### 24.11.2022
#### Version 16.0.1.0.0
#### Module Migrated

23
event_catering/models/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
###################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Avinash Nk(<avinash@cybrosys.in>)
#
# This program is free software: you can modify
# it under the terms of the GNU Affero General Public License (AGPL) as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# 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 for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
###################################################################################
from . import catering_service

187
event_catering/models/catering_service.py

@ -0,0 +1,187 @@
# -*- coding: utf-8 -*-
###################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2022-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Avinash Nk(<avinash@cybrosys.in>)
#
# This program is free software: you can modify
# it under the terms of the GNU Affero General Public License (AGPL) as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# 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 for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
###################################################################################
from odoo import models, fields, api, _
from odoo.exceptions import UserError
class EventManagementInherit(models.Model):
"""Adding catering details in Event management model"""
_inherit = 'event.management'
catering_on = fields.Boolean(string="Catering Active", default=False)
catering_id = fields.Many2one('event.management.catering',
string="Catering Id")
catering_pending = fields.Integer(string='Catering Pending',
compute='_compute_catering_pending')
catering_done = fields.Integer(string='Catering Done',
compute='_compute_catering_done')
@api.depends('catering_id.catering_works_ids.work_status')
def _compute_catering_pending(self):
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):
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):
"""Confirm the Event"""
catering_service = self.env['event.management.catering']
catering_line = self.service_line_ids.search([
('service', '=', 'catering'), ('event_id', '=', self.id)])
if len(catering_line) > 0:
self.catering_on = True
sequence_code = 'catering.order.sequence'
name = self.env['ir.sequence'].next_by_code(sequence_code)
event = self.id
event_type = self.type_of_event_id.id
start_date = catering_line.date_from
end_date = catering_line.date_to
catering_id = catering_line.id
data = {
'name': name,
'start_date': start_date,
'end_date': end_date,
'parent_event_id': event,
'event_type_id': event_type,
'catering_id': catering_id,
}
catering_map = catering_service.create(data)
self.catering_id = catering_map.id
super(EventManagementInherit, 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_view_kanban').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
class EventService(models.Model):
"""Adding options to service line of event management model"""
_inherit = 'event.service.line'
service = fields.Selection(selection_add=[('catering', 'Catering')],
ondelete={'catering': 'cascade'})
class EventManagementCatering(models.Model):
"""Model for creating catering services"""
_name = 'event.management.catering'
name = fields.Char(string="Name", readonly=True)
date = fields.Date(string="Date", default=fields.Date.today, readonly=True)
start_date = fields.Datetime(string="Start date", readonly=True)
end_date = fields.Datetime(string="End date", readonly=True)
catering_works_ids = fields.One2many('event.catering.works', 'catering_id',
string="Catering Works")
state = fields.Selection([('open', 'Open'), ('done', 'Done')],
string="State", default="open")
note = fields.Text(string="Terms and conditions")
price_subtotal = fields.Float(string='Total',
compute='_compute_price_subtotal',
readonly=True, store=True)
parent_event_id = fields.Many2one('event.management', string="Event",
readonly=True)
catering_id = fields.Integer(string="Catering Id")
currency_id = fields.Many2one('res.currency', readonly=True,
default=lambda self:
self.env.user.company_id.currency_id)
event_type_id = fields.Many2one('event.management.type',
string="Event Type", readonly=True)
@api.depends('catering_works_ids')
def _compute_price_subtotal(self):
total = 0
for items in self.catering_works_ids:
total += items.quantity * items.amount
self.price_subtotal = total
def action_catering_done(self):
""" Button action for state change to Done"""
for items in self.catering_works_ids:
if items.work_status == 'open':
raise UserError(_("Catering works are pending"))
related_product = self.env.ref(
'event_catering.catering_service_product').id
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': related_product})
self.state = "done"
class EventCateringWorks(models.Model):
"""Deals with catering works"""
_name = 'event.catering.works'
service_id = fields.Many2one('product.product', string="Services",
required=True)
quantity = fields.Float(string="Quantity", default=1)
amount = fields.Float(string="Amount")
sub_total = fields.Float(string="Sub Total", compute="_compute_sub_total",
readonly=True)
currency_id = fields.Many2one('res.currency', readonly=True,
default=lambda self:
self.env.user.company_id.currency_id)
catering_id = fields.Many2one('event.management.catering',
string="Catering Id")
work_status = fields.Selection([('open', 'Open'), ('done', 'Done')],
string="Work Status", default='open')
@api.onchange('service_id')
def _onchange_service_id(self):
self.amount = self.service_id.lst_price
@api.depends('quantity', 'amount')
def _compute_sub_total(self):
for rec in self:
rec.sub_total = rec.quantity * rec.amount
def action_work_completed(self):
"""Button action for completed works"""
if self.catering_id.state == "open":
self.work_status = 'open'
def action_not_completed(self):
"""Button action for non completed works"""
if self.catering_id.state == "open":
self.work_status = 'done'

35
event_catering/security/catering_security.xml

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="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 id="event_management.group_event_manager" model="res.groups">
<field name="implied_ids" eval="[(4, ref('group_catering_manager'))]"/>
</record>
<record id="catering_mngr_see_own_events" model="ir.rule">
<field name="name">Catering Manager see own Events</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.group_catering_manager'))]"/>
</record>
<record id="catering_mngr_see_own_catering" model="ir.rule">
<field name="name">Catering Manager see own Catering</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.group_catering_manager'))]"/>
</record>
<record id="event_mngr_see_all_catering" model="ir.rule">
<field name="name">Event Manager see all Catering</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>
</data>
</odoo>

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

@ -0,0 +1,11 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_event_management_catering_event_manager,event.management.catering.event.manager,event_catering.model_event_management_catering,event_management.group_event_manager,1,1,1,1
access_event_catering_works_event_manager,event.catering.works.event.manager,event_catering.model_event_catering_works,event_management.group_event_manager,1,1,1,1
access_event_management_catering_catering_manager,event.management.catering.catering.manager,event_catering.model_event_management_catering,event_catering.group_catering_manager,1,1,1,1
access_event_catering_works_catering_manager,event.catering.works.catering.manager,event_catering.model_event_catering_works,event_catering.group_catering_manager,1,1,1,1
access_event_management_type_catering_manager,event.management.type.catering.manager,event_management.model_event_management_type,event_catering.group_catering_manager,1,0,0,0
access_event_management_catering_manager,event.management.catering.manager,event_management.model_event_management,event_catering.group_catering_manager,1,1,1,0
access_event_service_line_catering_manager,event.service.line.catering.manager,event_management.model_event_service_line,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 event.management.catering.event.manager event_catering.model_event_management_catering event_management.group_event_manager 1 1 1 1
3 access_event_catering_works_event_manager event.catering.works.event.manager event_catering.model_event_catering_works event_management.group_event_manager 1 1 1 1
4 access_event_management_catering_catering_manager event.management.catering.catering.manager event_catering.model_event_management_catering event_catering.group_catering_manager 1 1 1 1
5 access_event_catering_works_catering_manager event.catering.works.catering.manager event_catering.model_event_catering_works event_catering.group_catering_manager 1 1 1 1
6 access_event_management_type_catering_manager event.management.type.catering.manager event_management.model_event_management_type event_catering.group_catering_manager 1 0 0 0
7 access_event_management_catering_manager event.management.catering.manager event_management.model_event_management event_catering.group_catering_manager 1 1 1 0
8 access_event_service_line_catering_manager event.service.line.catering.manager event_management.model_event_service_line 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/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: 125 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
event_catering/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
event_catering/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

665
event_catering/static/description/index.html

@ -0,0 +1,665 @@
<div style="background-color: #714B67; min-height: 600px; width: 100%; padding: 15px; position: relative;">
<!-- TITLE BAR -->
<div
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;">
<img src="./assets/misc/cybrosys-logo.png" width="42" height="42"
style="width: 42px; height: 42px;"/>
<div>
<div style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Community
</div>
<div style="color: #875A7B; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Enterprise
</div>
<div style="color: #017E84; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Odoo.sh
</div>
</div>
</div>
<!-- END OF TITLE BAR -->
<!-- APP HERO -->
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;">
Event Catering Service
</h1>
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">
A Module for managing catering services, Supporting module for
Event Management
</p>
<!-- END OF APP HERO -->
<img src="./assets/screenshots/hero.gif"
style="width: 75%; height: auto; position: absolute; margin-left: auto; margin-right: auto; top: 45%; left: 12%; right: auto;"/>
</div>
<!-- NAVIGATION SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/compass.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Explore This
Module</h2>
</div>
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;">
<div class="col-sm-12 col-md-6 my-3">
<a href="#overview">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span>
<span
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">Learn
more about this
module</span>
</div>
<img src="./assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
<div class="col-sm-12 col-md-6 my-3">
<a href="#features">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span>
<span
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View
features of this
module</span>
</div>
<img src="./assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
<div class="col-sm-12 col-md-6 my-3">
<a href="#screenshots">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span>
<span
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View
screenshots for this
module</span>
</div>
<img src="./assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
</div>
<!-- END OF NAVIGATION SECTION -->
<!-- OVERVIEW SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="overview">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/pie-chart.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Overview
</h2>
</div>
<div class="row"
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 py-4"> 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
</div>
<!-- END OF OVERVIEW SECTION -->
<!-- FEATURES SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="features">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/features.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Features
</h2>
</div>
<div class="row"
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 col-md-6">
<div class="d-flex align-items-start"
style="margin-top: 40px; margin-bottom: 40px">
<img src="./assets/misc/check-box.png" class="mr-2"/>
<div>
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Automatic Creation
</span>
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 12px;">
Automatically created from the particular event order.
</span>
</div>
</div>
<div class="d-flex align-items-start"
style="margin-top: 40px; margin-bottom: 40px">
<img src="./assets/misc/check-box.png" class="mr-2"/>
<div>
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Managing Access
</span>
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 12px;">
Catering and Event Manager can update the state of event order
and thus the catering order.
</span>
</div>
</div>
<div class="d-flex align-items-start"
style="margin-top: 40px; margin-bottom: 40px">
<img src="./assets/misc/check-box.png" class="mr-2"/>
<div>
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Simplicity
</span>
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 12px;">
Simply complete the work order on a single click.
</span>
</div>
</div>
</div>
</div>
<!-- END OF FEATURES SECTION -->
<!-- SCREENSHOTS SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"
id="screenshots">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/pictures.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Screenshots
</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Catering Service Form View
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
User can add the product to be serviced.
</p>
<img src="./assets/screenshots/Screenshot1.png"
class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Catering Service Kanban view
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Details including Event Type and Reference can be viewed in kanban view.
</p>
<img src="./assets/screenshots/Screenshot2.png"
class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Catering Service Tree view
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Event type, Start and End dates etc can be viewed in tree view.
</p>
<img src="./assets/screenshots/Screenshot3.png"
class="img-thumbnail">
</div>
</div>
</div>
<!-- END OF SCREENSHOTS SECTION -->
<!-- RELATED PRODUCTS -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/categories.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Related
Products
</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div id="demo1" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner" style="padding: 30px;">
<div class="carousel-item" style="min-height: 198.656px;">
<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-radius: 0px;"
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-radius: 0px;"
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-radius: 0px;"
src="./assets/modules/3.png">
</div>
</a>
</div>
</div>
<div class="carousel-item active"
style="min-height: 198.656px;">
<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-radius: 0px;"
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-radius: 0px;"
src="./assets/modules/5.gif">
</div>
</a>
</div>//apps.odoocdn.com/apps./assets/15.0/account_day_book./assets/modules/hr_payroll_community.png?3e73b0c
<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-radius: 0px;"
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="width:35px; color:#000"> <span
class="carousel-control-prev-icon"><i
class="fa fa-chevron-left"
style="font-size:24px"></i></span>
</a> <a class="carousel-control-next" href="#demo1"
data-slide="next" style="width:35px; color:#000">
<span class="carousel-control-next-icon"><i
class="fa fa-chevron-right"
style="font-size:24px"></i></span>
</a>
</div>
</div>
</div>
<!-- END OF RELATED PRODUCTS -->
<!-- OUR SERVICES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/star.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our Services
</h2>
</div>
<div class="container my-5">
<div class="row">
<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>
</div>
<!-- END OF END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/corporate.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our
Industries
</h2>
</div>
<div class="container my-5">
<div class="row">
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; 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: 0px; 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: 0px; 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: 0px; 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: 0px; 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: 0px; 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: 0px; 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: 0px; 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>
</div>
<!-- END OF END OF OUR INDUSTRIES -->
<!-- SUPPORT -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="./assets/misc/customer-support.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Support
</h2>
</div>
<div class="container mt-5">
<div class="row">
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4"
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="./assets/misc/support.png" height="48" width="48"
style="width: 42px; height: 42px;"/>
</div>
<div>
<h4>Need Help?</h4>
<p style="line-height: 100%;">Got questions or need help?
Get in touch.</p>
<a href="mailto:odoo@cybrosys.com">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
odoo@cybrosys.com</p>
</a>
</div>
</div>
</div>
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4"
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="./assets/misc/whatsapp.png" height="52" width="52"
style="width: 52px; height: 52px;"/>
</div>
<div>
<h4>WhatsApp</h4>
<p style="line-height: 100%;">Say hi to us on WhatsApp!</p>
<a href="https://api.whatsapp.com/send?phone=918606827707">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
+91 86068
27707</p>
</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center">
<img src="./assets/misc/logo.png" width="144" height="31"
style="width:144px; height: 31px; margin-top: 40px;"/>
</div>
</div>
</div>
<!-- END OF SUPPORT -->

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

175
event_catering/views/catering_service.xml

@ -0,0 +1,175 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data>
<!-- Tree Views -->
<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 Views -->
<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 Views -->
<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 Views -->
<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>
<record id="event_management_catering_action_view_kanban"
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>
<menuitem id="event_management_catering_menu" name="Catering"
parent="event_management.event_management_service_menu"
action="event_management_catering_action_view_kanban"
groups="event_catering.group_catering_manager"/>
</data>
</odoo>

32
event_catering/views/event_form.xml

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<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>
<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