Browse Source

Apr 15: [ADD] Initial Commit 'water_supply_with_mo'

pull/313/head
RisvanaCybro 1 year ago
parent
commit
4af44141d4
  1. 48
      water_supply_with_mo/README.rst
  2. 22
      water_supply_with_mo/__init__.py
  3. 51
      water_supply_with_mo/__manifest__.py
  4. 13
      water_supply_with_mo/data/ir_sequence_data.xml
  5. 6
      water_supply_with_mo/doc/RELEASE_NOTES.md
  6. 29
      water_supply_with_mo/models/__init__.py
  7. 76
      water_supply_with_mo/models/manufacturing_order_creation.py
  8. 35
      water_supply_with_mo/models/mrp_bom.py
  9. 50
      water_supply_with_mo/models/mrp_production.py
  10. 31
      water_supply_with_mo/models/stock_move.py
  11. 52
      water_supply_with_mo/models/water_supply_methods.py
  12. 249
      water_supply_with_mo/models/water_supply_request.py
  13. 35
      water_supply_with_mo/models/water_usage_categories.py
  14. 34
      water_supply_with_mo/models/water_usage_places.py
  15. 6
      water_supply_with_mo/security/ir.model.access.csv
  16. 14
      water_supply_with_mo/security/water_supply_with_mo_groups.xml
  17. BIN
      water_supply_with_mo/static/description/assets/icons/check.png
  18. BIN
      water_supply_with_mo/static/description/assets/icons/chevron.png
  19. BIN
      water_supply_with_mo/static/description/assets/icons/cogs.png
  20. BIN
      water_supply_with_mo/static/description/assets/icons/consultation.png
  21. BIN
      water_supply_with_mo/static/description/assets/icons/ecom-black.png
  22. BIN
      water_supply_with_mo/static/description/assets/icons/education-black.png
  23. BIN
      water_supply_with_mo/static/description/assets/icons/hotel-black.png
  24. BIN
      water_supply_with_mo/static/description/assets/icons/license.png
  25. BIN
      water_supply_with_mo/static/description/assets/icons/lifebuoy.png
  26. BIN
      water_supply_with_mo/static/description/assets/icons/manufacturing-black.png
  27. BIN
      water_supply_with_mo/static/description/assets/icons/pos-black.png
  28. BIN
      water_supply_with_mo/static/description/assets/icons/puzzle.png
  29. BIN
      water_supply_with_mo/static/description/assets/icons/restaurant-black.png
  30. BIN
      water_supply_with_mo/static/description/assets/icons/service-black.png
  31. BIN
      water_supply_with_mo/static/description/assets/icons/trading-black.png
  32. BIN
      water_supply_with_mo/static/description/assets/icons/training.png
  33. BIN
      water_supply_with_mo/static/description/assets/icons/update.png
  34. BIN
      water_supply_with_mo/static/description/assets/icons/user.png
  35. BIN
      water_supply_with_mo/static/description/assets/icons/wrench.png
  36. BIN
      water_supply_with_mo/static/description/assets/misc/categories.png
  37. BIN
      water_supply_with_mo/static/description/assets/misc/check-box.png
  38. BIN
      water_supply_with_mo/static/description/assets/misc/compass.png
  39. BIN
      water_supply_with_mo/static/description/assets/misc/corporate.png
  40. BIN
      water_supply_with_mo/static/description/assets/misc/customer-support.png
  41. BIN
      water_supply_with_mo/static/description/assets/misc/cybrosys-logo.png
  42. BIN
      water_supply_with_mo/static/description/assets/misc/features.png
  43. BIN
      water_supply_with_mo/static/description/assets/misc/logo.png
  44. BIN
      water_supply_with_mo/static/description/assets/misc/pictures.png
  45. BIN
      water_supply_with_mo/static/description/assets/misc/pie-chart.png
  46. BIN
      water_supply_with_mo/static/description/assets/misc/right-arrow.png
  47. BIN
      water_supply_with_mo/static/description/assets/misc/star.png
  48. BIN
      water_supply_with_mo/static/description/assets/misc/support.png
  49. BIN
      water_supply_with_mo/static/description/assets/misc/whatsapp.png
  50. BIN
      water_supply_with_mo/static/description/assets/modules/1.jpg
  51. BIN
      water_supply_with_mo/static/description/assets/modules/2.png
  52. BIN
      water_supply_with_mo/static/description/assets/modules/3.jpg
  53. BIN
      water_supply_with_mo/static/description/assets/modules/4.jpg
  54. BIN
      water_supply_with_mo/static/description/assets/modules/5.jpg
  55. BIN
      water_supply_with_mo/static/description/assets/modules/6.jpg
  56. BIN
      water_supply_with_mo/static/description/assets/screenshots/1.png
  57. BIN
      water_supply_with_mo/static/description/assets/screenshots/10.png
  58. BIN
      water_supply_with_mo/static/description/assets/screenshots/11.png
  59. BIN
      water_supply_with_mo/static/description/assets/screenshots/12.png
  60. BIN
      water_supply_with_mo/static/description/assets/screenshots/13.png
  61. BIN
      water_supply_with_mo/static/description/assets/screenshots/14.png
  62. BIN
      water_supply_with_mo/static/description/assets/screenshots/15.png
  63. BIN
      water_supply_with_mo/static/description/assets/screenshots/16.png
  64. BIN
      water_supply_with_mo/static/description/assets/screenshots/2.png
  65. BIN
      water_supply_with_mo/static/description/assets/screenshots/3.png
  66. BIN
      water_supply_with_mo/static/description/assets/screenshots/4.png
  67. BIN
      water_supply_with_mo/static/description/assets/screenshots/5.png
  68. BIN
      water_supply_with_mo/static/description/assets/screenshots/6.png
  69. BIN
      water_supply_with_mo/static/description/assets/screenshots/7.png
  70. BIN
      water_supply_with_mo/static/description/assets/screenshots/8.png
  71. BIN
      water_supply_with_mo/static/description/assets/screenshots/9.png
  72. BIN
      water_supply_with_mo/static/description/assets/screenshots/hero.gif
  73. BIN
      water_supply_with_mo/static/description/banner.png
  74. BIN
      water_supply_with_mo/static/description/hero-v17.gif
  75. BIN
      water_supply_with_mo/static/description/icon.png
  76. 901
      water_supply_with_mo/static/description/index.html
  77. 28
      water_supply_with_mo/views/manufacturing_order_creation_views.xml
  78. 16
      water_supply_with_mo/views/mrp_production_views.xml
  79. 44
      water_supply_with_mo/views/water_supply_method_views.xml
  80. 112
      water_supply_with_mo/views/water_supply_request_views.xml
  81. 21
      water_supply_with_mo/views/water_supply_with_mo_menus.xml
  82. 45
      water_supply_with_mo/views/water_usage_categories_views.xml
  83. 44
      water_supply_with_mo/views/water_usage_places_views.xml

48
water_supply_with_mo/README.rst

@ -0,0 +1,48 @@
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
Water Supply With Manufacturing Order
=====================================
This module helps you to manufacturing the products from the water supply
request form.
Configuration
=============
* Added Water Supply user in user settings.
Company
-------
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
License
-------
General Public License, Version 3 (AGPL v3).
(https://www.gnu.org/licenses/agpl-3.0-standalone.html)
Credits
-------
* Developer: (V17) Saneen K, Contact : odoo@cybrosys.com
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
water_supply_with_mo/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Saneen K (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

51
water_supply_with_mo/__manifest__.py

@ -0,0 +1,51 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Saneen K (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': "Water Supply With Manufacturing Order",
'version': '17.0.1.0.0',
'category': 'Manufacturing',
'summary': """This app allows you to create water supplying methods""",
'description': """This app allows you to create water supplying methods
allows us to create manufacture orders from water supply requests.""",
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'website': 'https://www.cybrosys.com',
'depends': ['account', 'mail', 'mrp'],
'data': [
'security/water_supply_with_mo_groups.xml',
'security/ir.model.access.csv',
'data/ir_sequence_data.xml',
'views/water_supply_method_views.xml',
'views/water_usage_places_views.xml',
'views/water_usage_categories_views.xml',
'views/water_supply_request_views.xml',
'views/manufacturing_order_creation_views.xml',
'views/mrp_production_views.xml',
'views/water_supply_with_mo_menus.xml',
],
'images': ['static/description/banner.png'],
'license': 'AGPL-3',
'installable': True,
'auto_install': False,
'application': True,
}

13
water_supply_with_mo/data/ir_sequence_data.xml

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data noupdate="1">
<!--Sequence number generation for water supply request-->
<record id="ir_sequence_water_supply_request" model="ir.sequence">
<field name="name">Water Supply Request</field>
<field name="code">water_supply_request</field>
<field name="prefix">WS</field>
<field name="padding">4</field>
<field name="company_id" eval="False"/>
</record>
</data>
</odoo>

6
water_supply_with_mo/doc/RELEASE_NOTES.md

@ -0,0 +1,6 @@
## Module <water_supply_with_mo>
#### 12.04.2024
#### Version 17.0.1.0.0
#### ADD
- Initial Commit for Water Supply With Manufacturing Order

29
water_supply_with_mo/models/__init__.py

@ -0,0 +1,29 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Saneen K (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 manufacturing_order_creation
from . import mrp_bom
from . import mrp_production
from . import stock_move
from . import water_supply_methods
from . import water_supply_request
from . import water_usage_categories
from . import water_usage_places

76
water_supply_with_mo/models/manufacturing_order_creation.py

@ -0,0 +1,76 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Saneen K (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 ManufacturingOrderCreation(models.Model):
"""The created manufacturing orders can be displayed and edited
through this model.This model set an as 'many2many' field in another
model."""
_name = 'manufacturing.order.creation'
_description = 'Manufacturing Order Creation '
_rec_name = 'product_id'
product_id = fields.Many2one('product.product',
string='Product', help='Name of the product')
quantity = fields.Integer(string='Quantity',
help='Quantity of the product')
uom_id = fields.Many2one('uom.uom', string='UoM',
help='Unit of measure of the product')
bom_id = fields.Many2one('mrp.bom',
domain="[('product_id','=', product_id)]",
string='Bill of Material',
help='Bill of material of the product.')
mrp_id = fields.Many2one('mrp.production',
string='Manufacturing Order',
help='Manufacturing order of the product')
is_mo = fields.Boolean(string='Is Display', default=True,
help='If the value of the boolean field is'
'false,then manufacturing order button'
'will disappear')
supply_request_id = fields.Many2one('water.supply.request',
string='Supply Request',
help="Corresponding water supply "
"request")
def action_creating_mo(self):
"""Displaying manufacturing order of the product.
The form view will display default values for the specified fields
based on the attributes of the current instance.
The view will be opened in the current window."""
res = {
'name': 'mrp.production',
'type': 'ir.actions.act_window',
'res_model': 'mrp.production',
'view_mode': 'form',
'view_id': self.env.ref(
'mrp.mrp_production_form_view').id,
'view_type': 'form',
'target': 'current',
'context': {
'default_product_id': self.product_id.id,
'default_product_qty': self.quantity,
'default_supply_id': self.supply_request_id.id,
'default_manufacturing_order_id': self.id
},
}
return res

35
water_supply_with_mo/models/mrp_bom.py

@ -0,0 +1,35 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Saneen K (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, models
class MrpBom(models.Model):
""" This class extends the standard MRP Bill of Materials (BOM) model
to incorporate changes related to variants."""
_inherit = 'mrp.bom'
@api.onchange("product_tmpl_id")
def _onchange_product_tmpl_id(self):
""" This method updates the product ID based on the selected
product template ID."""
self.product_id = self.env['product.product'].search(
[('product_tmpl_id', '=', self.product_tmpl_id.id)])

50
water_supply_with_mo/models/mrp_production.py

@ -0,0 +1,50 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Saneen K (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 MrpProduction(models.Model):
""" This class adds additional fields and overrides the 'create' method
for specific functionality."""
_inherit = 'mrp.production'
manufacturing_order_id = fields.Many2one('manufacturing.order.creation',
string='MO Order',
help='Manufacturing order.')
supply_id = fields.Many2one('water.supply.request',
string='Water Supply Request',
help='Displaying water supply request')
@api.model_create_multi
def create(self, vals):
"""Create a new Manufacturing Production."""
records = super(MrpProduction, self).create(vals)
for res in records:
default_mo_context_id = res._context.get(
'default_manufacturing_order_id')
default_manufacturing_order_id = self.env[
'manufacturing.order.creation'].browse(default_mo_context_id)
default_manufacturing_order_id.mrp_id = res
default_manufacturing_order_id.bom_id = res.bom_id.id
if default_manufacturing_order_id.mrp_id:
default_manufacturing_order_id.write({'is_mo': False})
return records

31
water_supply_with_mo/models/stock_move.py

@ -0,0 +1,31 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Saneen K (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 StockMove(models.Model):
"""Inheriting stock.move model to add relational field"""
_inherit = 'stock.move'
supply_id = fields.Many2one('water.supply.request',
string='Water Supply',
help='Water supply request')

52
water_supply_with_mo/models/water_supply_methods.py

@ -0,0 +1,52 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Saneen K (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 WaterSupplyMethods(models.Model):
"""Creating water supply methods. """
_name = 'water.supply.methods'
_description = 'Water Supply Methods'
_inherit = ['mail.thread', 'mail.activity.mixin']
_rec_name = 'supply_name'
code = fields.Char(string='Internal Code', help='Code of the supply'
' method')
supply_name = fields.Char(string='Supply Name', help='Supply name')
created_product_id = fields.Many2one('product.product',
string='Product Created',
help="Product created when method "
"is created")
@api.model_create_multi
def create(self, vals_list):
"""Creating corresponding product for each method."""
records = super(WaterSupplyMethods, self).create(vals_list)
for record in records:
product_records = {
'name': record.supply_name,
'detailed_type': 'product'
}
created_product = self.env['product.product'].create(
product_records).id
record.created_product_id = created_product
return records

249
water_supply_with_mo/models/water_supply_request.py

@ -0,0 +1,249 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Saneen K(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/>.
#
##############################################################################
import datetime
from odoo import api, fields, models, _
from odoo.addons.stock.models.stock_move import PROCUREMENT_PRIORITIES
class WaterSupplyRequest(models.Model):
"""Model for water supply request form."""
_name = "water.supply.request"
_description = "Water Supply Request"
_inherit = ["mail.thread", "mail.activity.mixin"]
_date_name = "date_planned_start"
_order = "priority desc, date_planned_start asc,id"
_rec_name = "reference_no"
@api.model
def _get_default_date_planned_start(self):
"""Method returns the specified deadline date as a datetime object."""
if self.env.context.get("default_date_deadline"):
return fields.Datetime.to_datetime(
self.env.context.get("default_date_deadline")
)
return datetime.datetime.now()
reference_no = fields.Char(
string="Sequence", readonly=True, default="New", help="Reference number"
)
responsible_user_id = fields.Many2one(
"res.users",
string="Responsible User",
default=lambda self: self.env.user,
help="Responsible person",
)
customer_name_id = fields.Many2one(
"res.partner",
string="Customer Name",
help="Name of the customer",
required=True,
)
customer_email = fields.Char(
related="customer_name_id.email", string="Customer Email", help="Customer email"
)
customer_phone = fields.Char(
related="customer_name_id.phone",
string="Customer Phone",
help="Phone number of" " the customer.",
)
customer_address = fields.Char(
related="customer_name_id.street",
string="Customer Address",
help="Customer address",
)
pickup_date = fields.Date(
string="Pickup Date", help="Date of the pickup", required=True
)
request_date = fields.Date(
string="Request Date", help="Date of the " "product request."
)
state = fields.Selection(
[("draft", "Draft"), ("created", "Created"), ("supplied", "Supplied")],
default="draft",
string="State",
help="State of the supply request.",
)
create_date = fields.Date(
string="Create Date",
default=fields.Date.today(),
help="Create date of water supply request",
)
is_closed = fields.Boolean(
string="Is Closed",
help="Boolean field for to check the " "current request is closed or not",
)
date_planned_start = fields.Datetime(
string="Scheduled Date",
copy=False,
default=_get_default_date_planned_start,
help="Date at which you plan to start the production.",
index=True,
required=True,
)
supply_method_ids = fields.Many2many(
"water.supply.methods",
string="Supply Methods",
help="Supply methods",
required=True,
)
usage_categories_ids = fields.Many2many(
"water.usage.categories",
string="Usage Categories",
help="Usage categories",
required=True,
)
usage_place_id = fields.Many2one(
"water.usage.places", string="Usage Place", help="Usage place", required=True
)
create_mo_ids = fields.One2many(
"manufacturing.order.creation",
"supply_request_id",
string="Creation Manufacturing Order",
help="Created manufacturing orders.",
)
mo_count = fields.Integer(
string="Manufacture Order Count",
compute="compute_mo_count",
help="For storing manufacturing order count.",
)
stock_move_count = fields.Integer(
string="Stock Move Count",
compute="compute_stock_move_count",
help="Store the stock move count.",
)
priority = fields.Selection(
PROCUREMENT_PRIORITIES,
string="Priority",
default="0",
help="Components will be reserved first for the MO "
"with the highest priorities.",
)
@api.model_create_multi
def create(self, vals):
"""Creating sequence number."""
records = super(WaterSupplyRequest, self).create(vals)
for record in records:
if record.reference_no == _("New"):
reference_no = self.env["ir.sequence"].next_by_code(
"water_supply_request"
) or _("New")
record.write({"reference_no": reference_no})
return records
@api.onchange("supply_method_ids")
def _onchange_supply_method_ids(self):
"""This method is triggered when the 'supply_method_ids' field is
changed. It fills the 'create_mo_ids' many2many field with
manufacturing order data based on the selected supply method's
information."""
self.create_mo_ids = False
for record in self.supply_method_ids:
product = self.env["product.product"].browse(record.created_product_id.id)
bom = self.env["mrp.bom"].search([("product_id", "=", product.id)], limit=1)
self.create_mo_ids = [
fields.Command.create(
{
"product_id": product.id,
"quantity": bom.product_qty,
"uom_id": product.uom_id.id,
"bom_id": bom,
}
)
]
def action_apply(self):
"""Stock move will occur when supply the product to the customer."""
self.write({"state": "created"})
src_location = self.env["stock.location"].search(
[("usage", "=", "internal"), ("name", "=", "Stock")], limit=1
)
dest_location = self.env["stock.location"].search(
[("usage", "=", "customer")], limit=1
)
for rec in self.create_mo_ids:
move = self.env["stock.move"].create(
{
"name": self.reference_no,
"origin": self.reference_no,
"location_id": src_location.id,
"location_dest_id": dest_location.id,
"product_id": rec.product_id.id,
"product_uom": rec.product_id.uom_id.id,
"product_uom_qty": rec.quantity,
"supply_id": self.id,
}
)
move.write({"state": "done"})
manufacturing_order = self.env["mrp.production"].search(
[("name", "=", self.create_mo_ids.mrp_id.mapped("name"))]
)
manufacturing_order.write({"supply_id": self})
def action_supply(self):
"""Enabling the boolean field if the request is supplied."""
self.write({"state": "supplied"})
if self.state == "supplied":
self.is_closed = True
def action_stock_move(self):
"""Opens a window displaying stock moves related to the current
record."""
self.ensure_one()
return {
"type": "ir.actions.act_window",
"name": "Stock Move",
"view_mode": "tree,form",
"res_model": "stock.move",
"domain": [("supply_id", "=", self.id)],
}
def action_mrp_production(self):
"""Display the production records associated with the current supply
order."""
self.ensure_one()
return {
"type": "ir.actions.act_window",
"name": "Manufacturing Order",
"view_mode": "tree,form",
"res_model": "mrp.production",
"domain": [("supply_id", "=", self.id)],
}
def compute_mo_count(self):
"""This method calculates the number of manufacturing orders
associated with the current record and updates the 'mo_count'
field on each record accordingly."""
for record in self:
record.mo_count = self.env["mrp.production"].search_count(
[("supply_id", "=", self.id)]
)
def compute_stock_move_count(self):
"""This method iterates through the records in `self` and calculates
the number of stock moves associated with each record. It sets the
`stock_move_count` field of each record to the corresponding count."""
for record in self:
record.stock_move_count = self.env["stock.move"].search_count(
[("supply_id", "=", self.id)]
)

35
water_supply_with_mo/models/water_usage_categories.py

@ -0,0 +1,35 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Saneen K (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 WaterUsageCategories(models.Model):
"""Creating water usage categories."""
_name = 'water.usage.categories'
_description = 'Water Usage Categories'
_inherit = ['mail.thread', 'mail.activity.mixin']
_rec_name = 'usage_category_name'
code = fields.Char(string='Usage Category Code',
help='Usage category code')
usage_category_name = fields.Char(string='Usage Category Name',
help='Usage category name')

34
water_supply_with_mo/models/water_usage_places.py

@ -0,0 +1,34 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Saneen K (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 WaterUsagePlaces(models.Model):
"""Creating water usage places."""
_name = 'water.usage.places'
_description = 'Water Usage Places'
_inherit = ['mail.thread', 'mail.activity.mixin']
_rec_name = 'usage_place_name'
code = fields.Char(string='Code', help='Code of the water usage places')
usage_place_name = fields.Char(string='Usage Places Name',
help='Usage places name')

6
water_supply_with_mo/security/ir.model.access.csv

@ -0,0 +1,6 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_water_supply_methods_user,access.water.supply.methods.water.supply.with.mo.supplier.user,model_water_supply_methods,water_supply_with_mo_supplier_user,1,1,1,1
access_water_supply_request_user,access.water.supply.request.user,model_water_supply_request,water_supply_with_mo_supplier_user,1,1,1,1
access_water_usage_categories_user,access.water.usage.categories.user,model_water_usage_categories,water_supply_with_mo_supplier_user,1,1,1,1
access_water_usage_places_user,access.water.usage.places.user,model_water_usage_places,water_supply_with_mo_supplier_user,1,1,1,1
access_manufacturing_order_creation_user,access.manufacturing.order.creation.user,model_manufacturing_order_creation,water_supply_with_mo_supplier_user,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_water_supply_methods_user access.water.supply.methods.water.supply.with.mo.supplier.user model_water_supply_methods water_supply_with_mo_supplier_user 1 1 1 1
3 access_water_supply_request_user access.water.supply.request.user model_water_supply_request water_supply_with_mo_supplier_user 1 1 1 1
4 access_water_usage_categories_user access.water.usage.categories.user model_water_usage_categories water_supply_with_mo_supplier_user 1 1 1 1
5 access_water_usage_places_user access.water.usage.places.user model_water_usage_places water_supply_with_mo_supplier_user 1 1 1 1
6 access_manufacturing_order_creation_user access.manufacturing.order.creation.user model_manufacturing_order_creation water_supply_with_mo_supplier_user 1 1 1 1

14
water_supply_with_mo/security/water_supply_with_mo_groups.xml

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Creating category water supply-->
<record id="module_category_water_supply_with_mo"
model="ir.module.category">
<field name="name">Water Supply</field>
</record>
<!-- Creating water supplier user group-->
<record id="water_supply_with_mo_supplier_user" model="res.groups">
<field name="name">Water Supplier User</field>
<field name="category_id"
ref="water_supply_with_mo.module_category_water_supply_with_mo"/>
</record>
</odoo>

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
water_supply_with_mo/static/description/assets/modules/1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

BIN
water_supply_with_mo/static/description/assets/modules/3.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

BIN
water_supply_with_mo/static/description/assets/modules/4.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

BIN
water_supply_with_mo/static/description/assets/modules/5.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

BIN
water_supply_with_mo/static/description/assets/modules/6.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/11.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/12.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/13.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/14.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/15.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/7.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/8.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

BIN
water_supply_with_mo/static/description/assets/screenshots/9.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 KiB

BIN
water_supply_with_mo/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

BIN
water_supply_with_mo/static/description/hero-v17.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 KiB

BIN
water_supply_with_mo/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

901
water_supply_with_mo/static/description/index.html

@ -0,0 +1,901 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Odoo App 3 Index</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap"
rel="stylesheet">
</head>
<body>
<section>
<div class="container"
style="font-family: 'Inter', sans-serif !important;background-color: #fff !important;">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between flex-wrap align-items-sm-center"
style="border-bottom:1px solid rgba(0, 0, 0, 0.22)">
<div class="my-3">
<img src="assets/misc/logo.png"
style="width:auto !important; height:40px !important">
</div>
<div class="my-3 d-flex align-items-center">
<div class="text-center"
style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;">
Community
</div>
<div class="text-center"
style="background-color:#875A7B !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important;min-width: 120px !important;">
Enterprise
</div>
<div class="text-center"
style="background-color:#7C7BAD !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;">
Odoo.sh
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 text-center d-flex align-items-center flex-column"
style="margin: 80px 0px !important;">
<h1 style="font-size: 2.8rem;font-weight: 700; color:
#1A202C;">
Water Supply With Manufacturing Order</h1>
<p class="my-3 mb-4"
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;">This App Allows Us To Quickly Create Manufacturing Orders Directly From The Water Supply Request.
</p>
<div style="width: 80%; margin-top: 3rem;">
<img src="assets/screenshots/hero.gif"
class="img-responsive" width="100%" height="auto">
</div>
</div>
</div>
<div class="container mt-5 mb-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#714b67 !important">
Key Highlights
</p>
</div>
<div class="row py-4">
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">Allow us to Create Manufacturing Order Directly from the Water Supply Requests Form. </p>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
Set the Water Supply Request Reference on Manufacturing Order.</p>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
We can See the Manufacturing Orders List in a Smart Button.</p>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0; ">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
We can see the Stock Moves List in a Smart Button</p>
</div>
</div>
</div>
</div>
</div>
<div class="container rounded">
<ul class="nav nav-tabs d-flex"
style="width: fit-content;margin: 0 auto;gap: 1rem;">
<li class="col text-center py-2 text-nowrap "
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;">
<a
class="active show" data-toggle="tab" href="#tab1"
style="color: #fff;font-weight: 500; background-color: #714B67; text-decoration: none;">
<i class="fa-regular fa-image pr-2"
style="color: #fff;"></i>
Screenshots</a></li>
<li class="col text-center py-2 text-nowrap "
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;">
<a
data-toggle="tab" href="#tab2"
style="color: #fff;font-weight: 500; text-decoration: none;"><i
class="fa-solid fa-star pr-2"
style="color: #fff;"></i>Features</a></li>
<li class="col text-center py-2 text-nowrap "
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;">
<a
data-toggle="tab" href="#tab3"
style="color: #fff;font-weight: 500; text-decoration: none; background-color: #714B67;"><i
class="fa-solid fa-book-open pr-2"
style="color: #fff;"></i>Released Notes</a></li>
</ul>
<div class="tab-content"
style="background-color: rgba(121, 113, 119, 0.04);">
<div id="tab1" class="tab-pane fade in active show">
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/1.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Set a Water Supply User Group in 'Users'.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/2.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Water Supply Menu.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/3.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Supply Usage Categories Menu.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/4.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Supply Request Method Menu.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/5.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Supply Usage Place Menu.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/6.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/7.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Create BOM for the Products.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/8.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Create a Supply Request and Click on the 'Apply' Button.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/9.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
For Creating the Manufacture Order Click on the 'Create MO' Button.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/10.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/11.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Confirm the Corresponding MO's.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/12.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
We can See the MO in the Corresponding Line.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/13.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
By Clicking 'Supply' Button it will be Supplied to the Customer.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/14.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
We can see the Corresponding Stock Move and Manufacturing Orders in the Smart Button.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/15.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Manufacturing Orders.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/16.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Stock Moves.</h4>
</div>
</div>
</div>
</div>
<div id="tab2" class="tab-pane fade">
<div class="col-mg-12" style="padding: 1rem 4rem;">
<ul style="list-style: none; padding: 1rem 0;font-weight: 500;">
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star (1) 2.svg"
alt=""
width="16px"></span>Allow us to Create Manufacturing Order Directly from the Water Supply Requests Form.
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star (1) 2.svg"
alt=""
width="16px"></span>Set the Water Supply Request Reference on Manufacturing Order.
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star (1) 2.svg"
alt=""
width="16px"></span>We can See the Manufacturing Orders List in a Smart Button.
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star (1) 2.svg"
alt=""
width="16px"></span>
We can see the Stock Moves List in a Smart Button.
</li>
<li class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<span style="margin-right: 12px;"><img
src="assets/misc/star (1) 2.svg"
alt=""
width="16px"></span>
The Module Support Community , Enterprise and Odoo.sh.
</li>
</ul>
</div>
</div>
<div id="tab3" class="tab-pane fade">
<div class="col-mg-12 active" style="padding: 1rem 4rem;">
<div class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="d-flex mb-3"
style="font-size: 0.8rem; font-weight: 500;"><span>Version
17.0.1.0.0</span><span
class="px-2">|</span><span
style="color: #714B67;font-weight: 600;">Released on:01st Apr 2024</span>
</div>
<p class="m-0"
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;">
Initial commit for Water Supply With Manufacturing Order</p>
</div>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Related Products</p>
</div>
</div>
<div id="myCarousel" class="carousel slide py-3" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<div class="row p-4">
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/bom_total_cost/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/1.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Show Total Cost On BOM</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/so_bom_selection/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/2.png"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Bill Of Material From Sale Order Line</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/manufacturing_timesheet/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/3.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Manufacturing (MRP) Timesheet</p>
</div>
</a>
</div>
</div>
</div>
</div>
<div class="carousel-item">
<div class="row p-4">
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/simple_mrp_order/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/4.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Simple Manufacturing Orders</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/bom_multiple_product/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px;">
<img src="assets/modules/5.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
BOM Multiple Product</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/bom_comparison_report/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px;">
<img src="assets/modules/6.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
BOM Comparison Report</p>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#myCarousel"
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="#myCarousel"
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 class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Our Services</p>
</div>
</div>
<div class="container my-5">
<div class="row py-3">
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#13EA36 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/cogs.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Customization</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#DBC711; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/wrench.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Implementation</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#FF6B6B ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/lifebuoy.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Support</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#FFA801 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/user.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Hire
Odoo Developer</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#54A0FF; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/puzzle.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Integration</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#6D7680 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/update.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Migration</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#786FA6 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/consultation.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Consultancy</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#F8A5C2 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/training.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Implementation</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#E6BE26; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/license.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Licensing Consultancy</p>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Our Industries</p>
</div>
</div>
<div class="container">
<div class="row my-5 py-4">
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100 "
style="border-right: 1px solid rgb(209, 209, 209); border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; box-shadow: 6px 0 10px rgba(228, 227, 227, 0.373);">
<img src="assets/icons/trading-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">Trading</p>
<p>Easily procure and sell your products</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgb(209, 209, 209); padding: 30px;">
<img src="assets/icons/pos-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">POS</p>
<p>Easy configuration and convivial experience</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgba(0, 0, 0, 0.2); padding: 30px; box-shadow: 0 5px 10px rgba(228, 227, 227, 0.373)">
<img src="assets/icons/education-black.png"
width="42px" height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">
Education</p>
<p>A platform for educational management</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; ">
<img src="assets/icons/manufacturing-black.png"
width="42px" height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">
Manufacturing</p>
<p>Plan, track and schedule your operations</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;">
<img src="assets/icons/ecom-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">E-commerce
& Website</p>
<p>Mobile friendly, awe-inspiring product pages</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;box-shadow: 0 -5px 10px rgba(228, 227, 227, 0.373);">
<img src="assets/icons/service-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">Service
Management</p>
<p>Keep track of services and invoice</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px; ">
<img src="assets/icons/restaurant-black.png"
width="42px" height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">
Restaurant</p>
<p>Run your bar or restaurant methodically</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style=" padding: 30px;box-shadow: -5px 0 10px rgba(228, 227, 227, 0.373);">
<img src="assets/icons/hotel-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">Hotel
Management</p>
<p>An all-inclusive hotel management application</p>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Support</p>
</div>
</div>
<div class="container my-5">
<div class="row" style="background-color: #FFFAFE;">
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center"
style="border-right: 1px solid #D9D9D9;">
<div style="padding: 30px;">
<div class="d-flex align-items-center">
<img src="assets/misc/support (1) 1.svg" alt=""
width="60px" style="margin-right: 12px;">
<div style="padding: 0px 8px;">
<span
style="color: #714B67;font-size: 24px;font-weight: 600;padding-bottom: 1rem;">Need
Help?</span>
<p class="m-0" style="color:#718096;">Got
questions or need help? Get in touch.</p>
<div style="font-weight: 400;"><span><img
src="assets/misc/support-email.svg"
alt=""
width="18px"
style="filter: invert(1);margin-right: 0.8rem;"></span>odoo@cybrosys.com
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center">
<div style="padding: 30px;">
<div class="d-flex align-items-center">
<img src="assets/misc/whatsapp 1.svg" alt=""
width="60px" style="margin-right: 12px;">
<div>
<span style="color: #714B67;font-size: 24px;font-weight: 600;">WhatsApp</span>
<p class="m-0" style="color:#718096;">Say hi to
us on WhatsApp!</p>
<div style="font-weight: 400; font-size: 16px;"><span><img
src="assets/misc/phone.svg"
alt="" width="14px"
style="filter: invert(1); margin-right: 0.8rem;"></span>+91
99456767686
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>

28
water_supply_with_mo/views/manufacturing_order_creation_views.xml

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!--This record represents an action window for creating manufacturing orders.-->
<record id="manufacturing_order_creation_action"
model="ir.actions.act_window">
<field name="name">Creation Manufacturing Order</field>
<field name="res_model">manufacturing.order.creation</field>
<field name="view_mode">tree,form</field>
</record>
<!-- XML View for Manufacturing Order Creation-->
<record id="manufacturing_order_creation_view_tree" model="ir.ui.view">
<field name="name">manufacturing.order.creation.view.tree</field>
<field name="model">manufacturing.order.creation</field>
<field name="arch" type="xml">
<tree string="MO" editable="bottom">
<field name="product_id" readonly="parent.state != 'draft'"/>
<field name="quantity" readonly="parent.state != 'draft'"/>
<field name="uom_id" readonly="parent.state != 'draft'"/>
<field name="bom_id" readonly="parent.state != 'draft'"/>
<field name="mrp_id" readonly="1"/>
<field name="is_mo" column_invisible="1"/>
<button string="Create MO" name="action_creating_mo" type="object"
class="oe_stat_button" icon="fa-cog"
invisible="is_mo == False or parent.state == 'draft'"/>
</tree>
</field>
</record>
</odoo>

16
water_supply_with_mo/views/mrp_production_views.xml

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!--Adding field in manufacturing model -->
<record id="mrp_production_form_view" model="ir.ui.view">
<field name="name">
mrp.production.view.form.inherit.water.supply.with.mo
</field>
<field name="model">mrp.production</field>
<field name="inherit_id" ref="mrp.mrp_production_form_view"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='company_id']" position="after">
<field name="supply_id"/>
</xpath>
</field>
</record>
</odoo>

44
water_supply_with_mo/views/water_supply_method_views.xml

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Water supply methods model action-->
<record id="water_supply_methods_action" model="ir.actions.act_window">
<field name="name">Water Supply Methods</field>
<field name="res_model">water.supply.methods</field>
<field name="view_mode">tree,form</field>
</record>
<!--Model tree view-->
<record id="water_supply_methods_view_tree" model="ir.ui.view">
<field name="name">water.supply.methods.view.tree</field>
<field name="model">water.supply.methods</field>
<field name="arch" type="xml">
<tree string="Stages" multi_edit="1">
<field name="code"/>
<field name="supply_name"/>
</tree>
</field>
</record>
<!-- Model form view-->
<record id="water_supply_methods_view_form" model="ir.ui.view">
<field name="name">water.supply.methods.view.form</field>
<field name="model">water.supply.methods</field>
<field name="arch" type="xml">
<form string="Test">
<sheet>
<group>
<group>
<field name="code"/>
</group>
<group>
<field name="supply_name"/>
</group>
</group>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids"/>
<field name="activity_ids"/>
<field name="message_ids"/>
</div>
</form>
</field>
</record>
</odoo>

112
water_supply_with_mo/views/water_supply_request_views.xml

@ -0,0 +1,112 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Water Supply Request model action-->
<record id="water_supply_request_action" model="ir.actions.act_window">
<field name="name">Supply Request</field>
<field name="res_model">water.supply.request</field>
<field name="view_mode">tree,form</field>
</record>
<!--Water supply request model tree view-->
<record id="water_supply_request_view_tree" model="ir.ui.view">
<field name="name">water.supply.request.view.tree</field>
<field name="model">water.supply.request</field>
<field name="arch" type="xml">
<tree string="Stages" multi_edit="1">
<field name="reference_no"/>
<field name="responsible_user_id"/>
<field name="customer_name_id"/>
<field name="request_date"/>
<field name="is_closed" invisible="1"/>
<field name="date_planned_start" widget="remaining_days"/>
</tree>
</field>
</record>
<!-- Water supply request model form view-->
<record id="water_supply_request_view_form" model="ir.ui.view">
<field name="name">water.supply.request.view.form</field>
<field name="model">water.supply.request</field>
<field name="arch" type="xml">
<form string="Test">
<header>
<field name="state" widget="statusbar"
statusbar_visible="draft,supplied"/>
<button string="Apply" type="object" name="action_apply"
invisible="state != 'draft'" class="oe_highlight"/>
<button string="Supply" type="object"
name="action_supply"
invisible="state != 'created'"
class="oe_highlight"/>
</header>
<sheet>
<div class="oe_button_box" name="button_box">
<button class="oe_stat_button"
name="action_stock_move"
type="object" icon="fa-user"
string="Stock Moves"
invisible="state == 'draft'">
<field string="Stock Moves" name="stock_move_count"
widget="statinfo"/>
</button>
<button class="oe_stat_button"
name="action_mrp_production"
type="object"
string="Manufacturing Orders"
icon="fa-cog"
invisible="state == 'draft'">
<field string="Manufacturing Orders" name="mo_count"
widget="statinfo"/>
</button>
</div>
<group>
<div class="oe_title">
<h1>
<field name="reference_no"/>
</h1>
</div>
</group>
<group>
<group>
<field name="responsible_user_id"/>
<field name="customer_name_id"/>
<field name="customer_email"
widget="email"/>
<field name="customer_address"/>
<field name="create_date"/>
<field name="is_closed" invisible="1"/>
</group>
<group>
<field name="pickup_date"/>
<field name="request_date"/>
<field name="supply_method_ids"
widget="many2many_tags"/>
<field name="usage_categories_ids"
widget="many2many_tags"/>
<field name="usage_place_id"/>
</group>
</group>
<notebook>
<page string="Create MO">
<field name="create_mo_ids" editable="bottom"/>
</page>
</notebook>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids"/>
<field name="activity_ids"/>
<field name="message_ids"/>
</div>
</form>
</field>
</record>
<!-- This record defines a custom search view for the 'water supply request' model. -->
<record id="water_supply_request_view_search" model="ir.ui.view">
<field name="name">water.supply.request.view.search</field>
<field name="model">water.supply.request</field>
<field name="arch" type="xml">
<search string="Report Xml">
<filter string="Is closed" name="groupby_phone"
domain="[('is_closed','=', True)]"/>
</search>
</field>
</record>
</odoo>

21
water_supply_with_mo/views/water_supply_with_mo_menus.xml

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Root menu of Water Supply -->
<menuitem id="water_supply_with_mo_menu_root" name="Water Supply"
web_icon="water_supply_with_mo,static/description/icon.png"/>
<!-- Sub menus -->
<menuitem id="water_supply_request_menu" name="Supply Requests"
parent="water_supply_with_mo_menu_root"
action="water_supply_request_action"/>
<menuitem id="water_supply_request_menu_configuration" name="Configuration"
parent="water_supply_with_mo_menu_root">
<menuitem id="water_usage_categories_menu_action"
name="Supply Usage Categories"
action="water_usage_categories_action"/>
<menuitem id="water_supply_methods_menu_action"
name="Supply Requests Method"
action="water_supply_methods_action"/>
<menuitem id="water_usage_place_menu_action" name="Supply Usage Place"
action="water_usage_places_action"/>
</menuitem>
</odoo>

45
water_supply_with_mo/views/water_usage_categories_views.xml

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Water usage categories model action-->
<record id="water_usage_categories_action"
model="ir.actions.act_window">
<field name="name">Water Usage Categories</field>
<field name="res_model">water.usage.categories</field>
<field name="view_mode">tree,form</field>
</record>
<!--Water usage categories model tree view-->
<record id="water_usage_categories_view_tree" model="ir.ui.view">
<field name="name">water.usage.categories.view.tree</field>
<field name="model">water.usage.categories</field>
<field name="arch" type="xml">
<tree string="Stages" multi_edit="1">
<field name="code"/>
<field name="usage_category_name"/>
</tree>
</field>
</record>
<!-- Water usage categories model form view-->
<record id="water_usage_categories_view_form" model="ir.ui.view">
<field name="name">water.usage.categories.view.form</field>
<field name="model">water.usage.categories</field>
<field name="arch" type="xml">
<form string="Test">
<sheet>
<group>
<group>
<field name="code"/>
</group>
<group>
<field name="usage_category_name"/>
</group>
</group>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids"/>
<field name="activity_ids"/>
<field name="message_ids"/>
</div>
</form>
</field>
</record>
</odoo>

44
water_supply_with_mo/views/water_usage_places_views.xml

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Water usage places model action-->
<record id="water_usage_places_action" model="ir.actions.act_window">
<field name="name">Water Usage Places</field>
<field name="res_model">water.usage.places</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Water usage places model tree view-->
<record id="water_usage_places_view_tree" model="ir.ui.view">
<field name="name">water.usage.places.view.tree</field>
<field name="model">water.usage.places</field>
<field name="arch" type="xml">
<tree string="Stages" multi_edit="1">
<field name="code"/>
<field name="usage_place_name"/>
</tree>
</field>
</record>
<!--Water usage places model form view-->
<record id="water_usage_places_view_form" model="ir.ui.view">
<field name="name">water.usage.places.view.form</field>
<field name="model">water.usage.places</field>
<field name="arch" type="xml">
<form string="Test">
<sheet>
<group>
<group>
<field name="code"/>
</group>
<group>
<field name="usage_place_name"/>
</group>
</group>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids"/>
<field name="activity_ids"/>
<field name="message_ids"/>
</div>
</form>
</field>
</record>
</odoo>
Loading…
Cancel
Save