@ -0,0 +1,49 @@ |
|||||
|
.. 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 |
||||
|
|
||||
|
Click And Collect POS |
||||
|
======================= |
||||
|
This module enables customers to order products online and pick them up from the closest shop/bar. |
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
* No additional configurations needed |
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
Developer: |
||||
|
(V16) Nihala M K , |
||||
|
(V17) Anjhana A K, |
||||
|
Contact: odoo@cybrosys.com |
||||
|
|
||||
|
License |
||||
|
------- |
||||
|
General Public License, Version 3 (AGPL v3). |
||||
|
(https://www.gnu.org/licenses/agpl-3.0-standalone.html) |
||||
|
|
||||
|
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>`__ |
@ -0,0 +1,21 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author:Anjhana A K(<https://www.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 |
@ -0,0 +1,61 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author:Anjhana A K(<https://www.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': 'Click And Collect PoS', |
||||
|
'version': '17.0.1.0.0', |
||||
|
'category': 'Point of Sale', |
||||
|
'summary': """With this module, customers may place product orders online |
||||
|
and pick them up from the closest shop.""", |
||||
|
'description': """This module facilitates customers to conveniently order |
||||
|
products online and opt for a click-and-collect service, enabling them to |
||||
|
pick up their purchases from the nearest store.""", |
||||
|
'author': "Cybrosys Techno Solutions", |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'maintainer': 'Cybrosys Techno Solutions', |
||||
|
'website': "https://www.cybrosys.com", |
||||
|
'images': ['static/description/banner.jpg'], |
||||
|
'depends': [ |
||||
|
'base', 'website_sale', 'point_of_sale', 'sale_management', 'stock'], |
||||
|
'data': [ |
||||
|
'views/cart_line_template.xml', |
||||
|
'views/pos_config_views.xml', |
||||
|
'views/sale_order_views.xml', |
||||
|
'views/stock_picking_views.xml' |
||||
|
], |
||||
|
'assets': { |
||||
|
'web.assets_frontend': [ |
||||
|
'click_and_collect_pos/static/src/js/website_sale_cart.js', |
||||
|
], |
||||
|
'point_of_sale._assets_pos': [ |
||||
|
'click_and_collect_pos/static/src/js/navbar.js', |
||||
|
'click_and_collect_pos/static/src/xml/navbar.xml', |
||||
|
'click_and_collect_pos/static/src/js/click_and_collect_screen.js', |
||||
|
'click_and_collect_pos/static/src/scss/sale_order.scss', |
||||
|
'click_and_collect_pos/static/src/xml/click_and_collect_screen.xml', |
||||
|
'click_and_collect_pos/static/src/js/pos_store.js', |
||||
|
'click_and_collect_pos/static/src/xml/chrome.xml', |
||||
|
] |
||||
|
}, |
||||
|
'license': 'AGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': False, |
||||
|
} |
@ -0,0 +1,6 @@ |
|||||
|
## Module <click_and_collect_pos> |
||||
|
|
||||
|
#### 01.02.2024 |
||||
|
#### Version 17.0.1.0.0 |
||||
|
#### ADD |
||||
|
- Initial commit for Click and Collect POS |
@ -0,0 +1,24 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author:Anjhana A K(<https://www.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 pos_config |
||||
|
from . import sale_order |
||||
|
from . import stock_picking |
||||
|
from . import pos_session |
@ -0,0 +1,39 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author:Anjhana A K(<https://www.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/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
"""This module enables users to place online orders and |
||||
|
pick up their purchases from nearby stores. """ |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class PosConfig(models.Model): |
||||
|
"""inherited for adding address in pos session""" |
||||
|
_inherit = 'pos.config' |
||||
|
|
||||
|
street = fields.Char('Street', required=True, |
||||
|
help='Enter Address for your store') |
||||
|
street2 = fields.Char('Street2') |
||||
|
zip = fields.Char('Zip', help='Enter zip for your store') |
||||
|
city = fields.Char('City', required=True, |
||||
|
help='Enter your store located city') |
||||
|
state_id = fields.Many2one("res.country.state", string='State', |
||||
|
required=True, help='Enter state') |
||||
|
country_id = fields.Many2one('res.country', string='Country', |
||||
|
required=True, help='Enter country') |
@ -0,0 +1,64 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author:Anjhana A K(<https://www.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/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
"""This module enables users to place online orders and |
||||
|
pick up their purchases from nearby stores. """ |
||||
|
from odoo import models |
||||
|
|
||||
|
|
||||
|
class PosSession(models.Model): |
||||
|
"""inherit pos session for load models in pos""" |
||||
|
_inherit = 'pos.session' |
||||
|
|
||||
|
def _pos_ui_models_to_load(self): |
||||
|
"""load Meals Planning and Menu.Meals model in pos.""" |
||||
|
result = super()._pos_ui_models_to_load() |
||||
|
result += ['stock.picking', 'stock.move'] |
||||
|
return result |
||||
|
|
||||
|
def _loader_params_stock_picking(self): |
||||
|
""" returning corresponding data to pos""" |
||||
|
data = [rec.id for rec in self.env['stock.picking'].search( |
||||
|
[('state', '!=', ['done', 'cancelled'])])] |
||||
|
|
||||
|
return { |
||||
|
'search_params': { |
||||
|
'domain': [('id', '=', data)], |
||||
|
'fields': ['state', 'origin', 'move_ids_without_package'] |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
def _loader_params_stock_move(self): |
||||
|
"""load stock.move model in pos""" |
||||
|
return { |
||||
|
'search_params': { |
||||
|
'fields': ['product_id', 'sale_line_id', 'picking_id'] |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
def _get_pos_ui_stock_picking(self, params): |
||||
|
"""get params in stock picking""" |
||||
|
return self.env['stock.picking'].search_read( |
||||
|
**params['search_params']) |
||||
|
|
||||
|
def _get_pos_ui_stock_move(self, params): |
||||
|
"""get params in stock move""" |
||||
|
return self.env['stock.move'].search_read( |
||||
|
**params['search_params']) |
@ -0,0 +1,99 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author:Anjhana A K(<https://www.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/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
"""This module enables users to place online orders and |
||||
|
pick up their purchases from nearby stores. """ |
||||
|
from odoo import api, fields, models |
||||
|
|
||||
|
|
||||
|
class SaleOrder(models.Model): |
||||
|
"""to show the click and collect delivery order in smart button""" |
||||
|
_inherit = 'sale.order' |
||||
|
|
||||
|
collect_count = fields.Integer(string='Click And Collect', |
||||
|
compute='_compute_collect_count', |
||||
|
help='count click and collect') |
||||
|
|
||||
|
@api.depends('collect_count') |
||||
|
def _compute_collect_count(self): |
||||
|
"""to see the click and collect orders count""" |
||||
|
count = self.env['stock.picking'].search_count( |
||||
|
[('is_click_and_collect_order', '=', True), |
||||
|
('origin', '=', self.name)]) |
||||
|
self.collect_count = count |
||||
|
|
||||
|
def _action_confirm(self): |
||||
|
"""this action is used for confirm delivery orders""" |
||||
|
self.action_split_delivery_order() |
||||
|
return super(SaleOrder, self)._action_confirm() |
||||
|
|
||||
|
def action_split_delivery_order(self): |
||||
|
"""to split delivery order and click and collect order separately""" |
||||
|
click_and_collect_list = [line for line in self.order_line.filtered( |
||||
|
lambda l: l.is_click_and_collect)] |
||||
|
for res in click_and_collect_list: |
||||
|
delivery_order = self.env['stock.picking'].create({ |
||||
|
'partner_id': self.partner_id.id, |
||||
|
'location_id': |
||||
|
self.env.ref('stock.stock_location_customers').id, |
||||
|
'location_dest_id': |
||||
|
self.env.ref('stock.stock_location_customers').id, |
||||
|
'picking_type_id': self.env.ref('stock.picking_type_out').id, |
||||
|
'sale_id': self.id, |
||||
|
'origin': self.name, |
||||
|
'is_click_and_collect_order': True |
||||
|
}) |
||||
|
move = self.env['stock.move'].create({ |
||||
|
'name': res.name, |
||||
|
'product_id': res.product_id.id, |
||||
|
'product_uom_qty': res.product_uom_qty, |
||||
|
'product_uom': res.product_uom.id, |
||||
|
'picking_id': delivery_order.id, |
||||
|
'location_id': delivery_order.location_id.id, |
||||
|
'location_dest_id': delivery_order.location_dest_id.id, |
||||
|
'sale_line_id': res.id, |
||||
|
}) |
||||
|
move._action_confirm() |
||||
|
return True |
||||
|
|
||||
|
def action_view_click_and_collect(self): |
||||
|
"""smart button for click and collect""" |
||||
|
self.ensure_one() |
||||
|
return { |
||||
|
'name': 'Click And Collect', |
||||
|
'view_mode': 'tree,form', |
||||
|
'res_model': 'stock.picking', |
||||
|
'type': 'ir.actions.act_window', |
||||
|
'domain': [('origin', '=', self.name), |
||||
|
('is_click_and_collect_order', '=', True)], |
||||
|
'context': "{'create':False}" |
||||
|
} |
||||
|
|
||||
|
|
||||
|
class SaleOrderLine(models.Model): |
||||
|
"""here user can identify click and collect order""" |
||||
|
_inherit = 'sale.order.line' |
||||
|
|
||||
|
is_click_and_collect = fields.Boolean( |
||||
|
string='Collect', help='if you want to enable click and collect for ' |
||||
|
'this product enable this field') |
||||
|
pos_config_id = fields.Many2one('pos.config', |
||||
|
string='PoS Session', |
||||
|
help='Select pos session') |
@ -0,0 +1,60 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author:Anjhana A K(<https://www.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/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
"""This module enables users to place online orders and |
||||
|
pick up their purchases from nearby stores. """ |
||||
|
from odoo import api, fields, models |
||||
|
|
||||
|
|
||||
|
class StockPicking(models.Model): |
||||
|
"""to identify the click and collect transfer""" |
||||
|
_inherit = 'stock.picking' |
||||
|
|
||||
|
is_click_and_collect_order = fields.Boolean( |
||||
|
default=False, help='Whether click and collect order or not') |
||||
|
|
||||
|
@api.model |
||||
|
def action_confirmation_click(self, order_id): |
||||
|
"""validate click and collect from pos config""" |
||||
|
order_id = int(order_id) |
||||
|
stock = self.search([]) |
||||
|
for rec in stock: |
||||
|
for lines in rec.move_ids_without_package: |
||||
|
if lines.sale_line_id.id == order_id: |
||||
|
rec.button_validate() |
||||
|
return True |
||||
|
|
||||
|
@api.model |
||||
|
def action_stock_picking(self, order_lines): |
||||
|
"""display the sale order lines in pos session""" |
||||
|
record = [] |
||||
|
stock = self.search([('state', '!=', 'done')]) |
||||
|
for rec in stock: |
||||
|
for lines in rec.move_ids_without_package: |
||||
|
if lines.sale_line_id.id in order_lines: |
||||
|
data = { |
||||
|
'id': lines.sale_line_id.id, |
||||
|
'order_id': rec.origin, |
||||
|
'partner_id': rec.partner_id.name, |
||||
|
'product_id': rec.product_id.name, |
||||
|
'product_uom_quantity': lines.product_uom_qty, |
||||
|
} |
||||
|
record.append(data) |
||||
|
return record |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 589 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 967 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 72 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 1.8 MiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 67 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 237 KiB |
After Width: | Height: | Size: 261 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 123 KiB |
After Width: | Height: | Size: 121 KiB |
After Width: | Height: | Size: 459 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 14 KiB |
@ -0,0 +1,776 @@ |
|||||
|
<!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/Cybrosys R.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;"> |
||||
|
Click And Collect POS</h1> |
||||
|
<p class="my-3 mb-4" |
||||
|
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
||||
|
This module enables customers to order products online and |
||||
|
pick them up at the closest shop. |
||||
|
</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;"> |
||||
|
Click And Collect POS </p> |
||||
|
<p class="m-0" style="color:#718096"> This module |
||||
|
enables customers to order products online and |
||||
|
pick them up at the closest shop. |
||||
|
</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;"> |
||||
|
Single Order from multiple shops</p> |
||||
|
<p class="m-0" style="color:#718096">In a single |
||||
|
Order different products can be purchased from |
||||
|
different shop |
||||
|
</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/screenshot1.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 PoS Shop Address,Go to PoS -> |
||||
|
Settings -> |
||||
|
Enter your store address |
||||
|
->The online user may quickly find the |
||||
|
closest |
||||
|
store and pick up their order there. </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/screenshot2.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 Click and Collect Order.Choose the |
||||
|
item |
||||
|
and add it to your shopping cart. Then you |
||||
|
can |
||||
|
mention the click and collect product from |
||||
|
in |
||||
|
cart line and select the nearest store.</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/screenshot3.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"> |
||||
|
Click and Collect Order Mentioned in Sale |
||||
|
Order</h4> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
->All click and collect products and the |
||||
|
customer's selected pos session are visible |
||||
|
in |
||||
|
the sale order lines. |
||||
|
The user may view all the click and collect |
||||
|
products by clicking on the click collect |
||||
|
smart |
||||
|
tab. |
||||
|
</p> |
||||
|
</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/screenshot4.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
<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/screenshot5.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"> |
||||
|
Click and Collect Order in PoS</h4> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
->After opening the session, go to the PoS |
||||
|
module where the click and collect button is |
||||
|
shown. |
||||
|
After you click on it, a new screen will |
||||
|
open |
||||
|
where you can see all the click and collect |
||||
|
products and validate the order. |
||||
|
</p> |
||||
|
</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/screenshot6.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"> |
||||
|
If the user confirms the delivery, it |
||||
|
automatically affects inventory as well. In |
||||
|
sale order and inventory, the user can see |
||||
|
all the delivered orders.</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>This module |
||||
|
allows customers to place online orders and pick |
||||
|
them up at a local retailer. |
||||
|
</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> Whatever |
||||
|
product the consumer needs to pick up from the |
||||
|
shop |
||||
|
can be specified on the website. |
||||
|
</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>In the POS |
||||
|
session, the user may view all click and collect |
||||
|
orders. |
||||
|
</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>When the goods |
||||
|
is delivered, the user may confirm delivery in |
||||
|
the |
||||
|
PoS by clicking a single button. |
||||
|
</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 February 2024</span> |
||||
|
</div> |
||||
|
<p class="m-0" |
||||
|
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> |
||||
|
|
||||
|
Initial Commit for Click And Collect POS.</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/16.0/manufacturing_reports/" |
||||
|
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.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Manufacturing Reports</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/mrp_work_order_print/" |
||||
|
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"> |
||||
|
Print Work Order Details</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.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/3.png" |
||||
|
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> |
||||
|
</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/16.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.png" |
||||
|
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/16.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.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
BOM Multiple Product Selection</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/cw_mrp/" |
||||
|
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.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Catch Weight Management: |
||||
|
Manufacturing</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> |
@ -0,0 +1,41 @@ |
|||||
|
/** @odoo-module */ |
||||
|
import { Component} from "@odoo/owl"; |
||||
|
import { jsonrpc } from "@web/core/network/rpc_service"; |
||||
|
import { registry } from "@web/core/registry"; |
||||
|
// Define a new class that extends PosComponent
|
||||
|
export class SaleOrderScreen extends Component { |
||||
|
|
||||
|
/** |
||||
|
* Override the setup method to perform any additional setup logic. |
||||
|
*/ |
||||
|
static template = "SaleOrderScreen"; |
||||
|
setup() { |
||||
|
super.setup(); |
||||
|
} |
||||
|
back() { |
||||
|
this.env.services.pos.showScreen("ProductScreen"); |
||||
|
} |
||||
|
getSaleOrderListLine() { |
||||
|
var order_line_id = []; |
||||
|
this.props.click_and_collect.forEach(function(object) { |
||||
|
if (object.is_click_and_collect == true) { |
||||
|
order_line_id.push(object) |
||||
|
} |
||||
|
}) |
||||
|
return order_line_id |
||||
|
} |
||||
|
async onClick(ev) { |
||||
|
var order_line = ev.target.dataset.id |
||||
|
var stock_picking = await jsonrpc("/web/dataset/call_kw", { |
||||
|
'model': 'stock.picking', |
||||
|
'method': 'action_confirmation_click', |
||||
|
'args': [order_line], |
||||
|
kwargs: {}, |
||||
|
}) |
||||
|
if (stock_picking = true) { |
||||
|
ev.target.parentNode.parentNode.remove() |
||||
|
} |
||||
|
location.reload(); |
||||
|
} |
||||
|
}; |
||||
|
registry.category("pos_screens").add("SaleOrderScreen", SaleOrderScreen); |
@ -0,0 +1,38 @@ |
|||||
|
/** @odoo-module **/ |
||||
|
import { Navbar } from "@point_of_sale/app/navbar/navbar"; |
||||
|
import { jsonrpc } from "@web/core/network/rpc_service"; |
||||
|
import { patch } from "@web/core/utils/patch"; |
||||
|
|
||||
|
patch(Navbar.prototype, { |
||||
|
setup() { |
||||
|
super.setup(); |
||||
|
}, |
||||
|
async onClick() { |
||||
|
var self = this; |
||||
|
var sale_order = []; |
||||
|
var stock_picking = self.pos.stock_picking; |
||||
|
var session_id = self.pos.pos_session.config_id |
||||
|
var sale_order_line = await jsonrpc("/web/dataset/call_kw", { |
||||
|
model: "sale.order.line", |
||||
|
method: "search_read", |
||||
|
args: [], |
||||
|
kwargs: {}, |
||||
|
}); |
||||
|
sale_order_line.forEach(function (object) { |
||||
|
if (object.state == "sale" && session_id[0] == object.pos_config_id[0]) { |
||||
|
stock_picking.forEach(function (lines) { |
||||
|
let plan_arr = null; |
||||
|
plan_arr = lines.move_ids_without_package.flat(1); |
||||
|
plan_arr.forEach(function (line) { |
||||
|
if (object.id == line.sale_line_id[0] && line.state != "done" ) { |
||||
|
sale_order.push(object); |
||||
|
} |
||||
|
}); |
||||
|
}); |
||||
|
} |
||||
|
}); |
||||
|
self.pos.showScreen("SaleOrderScreen", { |
||||
|
click_and_collect: sale_order, |
||||
|
}); |
||||
|
}, |
||||
|
}); |
@ -0,0 +1,18 @@ |
|||||
|
/** @odoo-module */ |
||||
|
import { PosStore } from "@point_of_sale/app/store/pos_store"; |
||||
|
import { patch } from "@web/core/utils/patch"; |
||||
|
patch(PosStore.prototype, { |
||||
|
/** |
||||
|
*Override PosGlobalState to load fields in pos session |
||||
|
*/ |
||||
|
async _processData(loadedData) { |
||||
|
await super._processData(...arguments); |
||||
|
let stock_picking = [] |
||||
|
this.stock_picking = loadedData['stock.picking'] |
||||
|
loadedData['stock.picking'].forEach((data) => { |
||||
|
data.move_ids_without_package = loadedData['stock.move'].filter((stock) => data.move_ids_without_package.includes(stock.id)) |
||||
|
stock_picking.push(data) |
||||
|
}) |
||||
|
this.stock_picking = stock_picking |
||||
|
} |
||||
|
}) |
@ -0,0 +1,50 @@ |
|||||
|
/** @odoo-module */ |
||||
|
import {websiteSaleCart} from "@website_sale/js/website_sale"; |
||||
|
import publicWidget from "@web/legacy/js/public/public_widget"; |
||||
|
import { jsonrpc } from "@web/core/network/rpc_service"; |
||||
|
|
||||
|
publicWidget.registry.websiteSaleCart .include({ |
||||
|
events: Object.assign({}, publicWidget.Widget.prototype.events, { |
||||
|
'click .clickandecollect': '_onClickClickAndCollect', |
||||
|
'click .session_values': '_onClickPosConfig', |
||||
|
'click .js_delete_product': '_onClickDeleteProduct', |
||||
|
}), |
||||
|
_onClickClickAndCollect(ev){ |
||||
|
const order_id = $(ev.target).data('id'); |
||||
|
const pos_conf = $(ev.currentTarget.parentElement.parentElement).find('.oe_session'); |
||||
|
if ($(ev.target).is(':checked')) { |
||||
|
pos_conf.removeClass('d-none'); |
||||
|
}else { |
||||
|
pos_conf.addClass('d-none') |
||||
|
} |
||||
|
jsonrpc('/web/dataset/call_kw', { |
||||
|
model: 'sale.order.line', |
||||
|
method: 'write', |
||||
|
args: [ |
||||
|
[order_id], |
||||
|
{'is_click_and_collect': ev.currentTarget.checked,}, |
||||
|
], |
||||
|
kwargs: {}, |
||||
|
}); |
||||
|
}, |
||||
|
_onClickDeleteProduct(ev) { |
||||
|
ev.preventDefault(); |
||||
|
$(ev.currentTarget).closest('.o_cart_product').find('.js_quantity').val(0).trigger('change'); |
||||
|
}, |
||||
|
_onClickPosConfig(ev) { |
||||
|
const closestCheck = $(ev.currentTarget.parentElement.parentElement).find('.clickandecollect'); |
||||
|
const order_id = closestCheck.data('id'); |
||||
|
const session_id = $(ev.target).val(); |
||||
|
var m= jsonrpc('/web/dataset/call_kw', { |
||||
|
model: 'sale.order.line', |
||||
|
method: 'write', |
||||
|
args: [ |
||||
|
[order_id], |
||||
|
{ |
||||
|
'pos_config_id': parseInt(session_id), |
||||
|
}, |
||||
|
], |
||||
|
kwargs: {}, |
||||
|
}); |
||||
|
}, |
||||
|
}); |
@ -0,0 +1,38 @@ |
|||||
|
// .sale-order-button { |
||||
|
// display: flex; |
||||
|
// align-items: center; |
||||
|
// font-size: medium; |
||||
|
// color: white; |
||||
|
// } |
||||
|
// |
||||
|
// .sale-order-button:hover{ |
||||
|
// background: rgba(0, 0, 0, .08); |
||||
|
// cursor: pointer; |
||||
|
// } |
||||
|
// .btn{ |
||||
|
// display: inline-block; |
||||
|
// padding: 6px 12px; |
||||
|
// margin-bottom: 0; |
||||
|
// font-size: 14px; |
||||
|
// font-weight: 400; |
||||
|
// line-height: 1.42857143; |
||||
|
// text-align: center; |
||||
|
// white-space: nowrap; |
||||
|
// vertical-align: middle; |
||||
|
// -ms-touch-action: manipulation; |
||||
|
// touch-action: manipulation; |
||||
|
// cursor: pointer; |
||||
|
// -webkit-user-select: none; |
||||
|
// -moz-user-select: none; |
||||
|
// -ms-user-select: none; |
||||
|
// user-select: none; |
||||
|
// background-image: none; |
||||
|
// border: 1px solid transparent; |
||||
|
// border-radius: 4px; |
||||
|
// text-decoration: none; |
||||
|
// |
||||
|
// color: #333; |
||||
|
// background-color: #fff; |
||||
|
// border-color: #ccc; |
||||
|
// height: 21px; |
||||
|
// } |
@ -0,0 +1,54 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!-- Added new screen in pos--> |
||||
|
<templates id="template" xml:space="preserve"> |
||||
|
<t t-name="SaleOrderScreen" owl="1"> |
||||
|
<div class="clientlist-screen screen h-100 bg-100 overflow-auto" |
||||
|
t-att-class="{ 'd-none': !props.isShown }" t-ref="root"> |
||||
|
<div class="rightpane"> |
||||
|
<div class="flex-container flex-container d-flex flex-column h-100"> |
||||
|
<div class="control-panel d-flex justify-content-between align-items-center m-1 p-2 gap-2"> |
||||
|
<div class="d-flex"> |
||||
|
<button class="item button back btn btn-lg btn-secondary" |
||||
|
t-on-click="back"> |
||||
|
<span class="search-icon d-flex align-items-center"> |
||||
|
<i class="fa fa-angle-double-left"/> |
||||
|
<span class="ms-2"> Back</span> |
||||
|
</span> |
||||
|
</button> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="orders overflow-y-auto"> |
||||
|
<div class="header-row d-flex text-bg-700 fw-bolder"> |
||||
|
<div class="col name p-2">Sale Order</div> |
||||
|
<div class="col date p-2">Session</div> |
||||
|
<div class="col customer p-2">Customer</div> |
||||
|
<div class="col salesman p-2">Product</div> |
||||
|
<div class="col total p-2">Total</div> |
||||
|
<div class="col state p-2">State</div> |
||||
|
<div class="col state p-2">Validate</div> |
||||
|
</div> |
||||
|
<t t-set="collect_order_line" |
||||
|
t-value="getSaleOrderListLine()"/> |
||||
|
<t t-foreach="collect_order_line" t-as="lines" |
||||
|
t-key="lines.id"> |
||||
|
<div class="order-list body-row d-flex"> |
||||
|
<div class="col name p-2"><t t-esc="lines.order_id[1]"/></div> |
||||
|
<div class="col name p-2"><t t-esc="lines.pos_config_id[1]"/></div> |
||||
|
<div class="col name p-2"><t t-esc="lines.order_partner_id[1]"/></div> |
||||
|
<div class="col name p-2"><t t-esc="lines.product_id[1]"/></div> |
||||
|
<div class="col name p-2"><t t-esc="lines.product_uom_qty"/></div> |
||||
|
<div class="col name p-2"><t t-esc="lines.state"/></div> |
||||
|
<div class="col name p-2"> |
||||
|
<div t-att-data-id="lines.id" |
||||
|
class="btn button confirm highlight" |
||||
|
t-on-click="onClick"> |
||||
|
Confirm </div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</t> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,16 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!-- Added new button in pos session --> |
||||
|
<templates id="template" xml:space="preserve"> |
||||
|
<t t-name="Navbar" t-inherit="point_of_sale.Navbar" |
||||
|
t-inherit-mode="extension" owl="1"> |
||||
|
<xpath expr="//div[hasclass('status-buttons')]//CashierName" position="before"> |
||||
|
<div class="sale-order-button" t-on-click="onClick" style="margin-right:490px; "> |
||||
|
<i class="fa fa-hand-pointer-o" aria-hidden="true"/> |
||||
|
<span style="padding-left: 10px;">Click And Collect</span> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
<xpath expr="//li[@t-if='showCashMoveButton']" position="after"> |
||||
|
<SaleOrderButton/> |
||||
|
</xpath> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,32 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<!-- Inherited Template and Added New TD --> |
||||
|
<template id="click_and_collect" name="Click And Collect" |
||||
|
inherit_id="website_sale.cart_lines"> |
||||
|
<xpath expr="//div[@name='website_sale_cart_line_price']" position="after"> |
||||
|
<div class="text-center oe_inline click_and_collect_td"> |
||||
|
<input type="checkbox" name="click_and_collect" |
||||
|
id='is_click_and_collect' |
||||
|
t-att-checked="line.is_click_and_collect" |
||||
|
class="form-check-input clickandecollect" |
||||
|
t-att-data-id="line.id" t-on-click="onClickClickAndCollect"/> |
||||
|
<div class="text-center click_and_collect_td oe_session d-none"> |
||||
|
<t t-set="get_pos_session" |
||||
|
t-value="request.env['pos.config'].sudo().search([])"/> |
||||
|
<select class="form-select session_values" |
||||
|
name="pos_session"> |
||||
|
<option value="select">Select</option> |
||||
|
<option t-foreach="get_pos_session" t-as="session" |
||||
|
t-att-value="session.id" t-key="session" |
||||
|
class="session_values"> |
||||
|
<t t-esc="session.name"/>, |
||||
|
<t t-esc="session.street"/>, |
||||
|
<t t-esc="session.city"/>, |
||||
|
<t t-esc="session.state_id.name"/> |
||||
|
</option> |
||||
|
</select> |
||||
|
</div> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
</odoo> |
@ -0,0 +1,38 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Inherited View and Added New Field --> |
||||
|
<record id="pos_config_view_form" model="ir.ui.view"> |
||||
|
<field name="name">pos.config.form.inherit.click.and.collect</field> |
||||
|
<field name="model">pos.config</field> |
||||
|
<field name="inherit_id" ref="point_of_sale.pos_config_view_form"/> |
||||
|
<field name="priority" eval="8"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//div[@id='title']" |
||||
|
position="after"> |
||||
|
<group> |
||||
|
<label for="street" string="Address"/> |
||||
|
<div class="o_address_format"> |
||||
|
<field name="street" placeholder="Street..." |
||||
|
class="o_address_street"/> |
||||
|
<field name="street2" placeholder="Street 2..." |
||||
|
class="o_address_street"/> |
||||
|
<field name="city" placeholder="City" |
||||
|
class="o_address_city"/> |
||||
|
<field name="state_id" class="o_address_state" |
||||
|
placeholder="State" |
||||
|
options="{'no_open': True, 'no_quick_create': True}" |
||||
|
context="{'default_country_id': country_id}"/> |
||||
|
<field name="zip" placeholder="ZIP" |
||||
|
class="o_address_zip"/> |
||||
|
<div name="partner_address_country" |
||||
|
class="d-flex justify-content-between"> |
||||
|
<field name="country_id" placeholder="Country" |
||||
|
class="o_address_country" |
||||
|
options="{'no_create': True, 'no_open': True}"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</group> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,26 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<!-- Added a smart button in sale order--> |
||||
|
<record id="view_order_form" model="ir.ui.view"> |
||||
|
<field name="name">sale.order.form.inherited.click.and.collect</field> |
||||
|
<field name="model">sale.order</field> |
||||
|
<field name="inherit_id" ref="sale.view_order_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//button[@name='action_view_invoice']" |
||||
|
position="before"> |
||||
|
<button type="object" |
||||
|
name="action_view_click_and_collect" |
||||
|
class="oe_stat_button" |
||||
|
icon="fa-hand-pointer-o" |
||||
|
invisible="collect_count == 0"> |
||||
|
<field name="collect_count" widget="statinfo" |
||||
|
string="Click Collect"/> |
||||
|
</button> |
||||
|
</xpath> |
||||
|
<xpath expr="//field[@name='product_template_id']" position="after"> |
||||
|
<field name="is_click_and_collect"/> |
||||
|
<field name="pos_config_id"/> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,14 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<!-- Inherited template and added new field to identify click and collect orders--> |
||||
|
<record id="view_picking_form" model="ir.ui.view"> |
||||
|
<field name="name">view.picking.form.inherit.click.and.collect</field> |
||||
|
<field name="model">stock.picking</field> |
||||
|
<field name="inherit_id" ref="stock.view_picking_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//field[@name='origin']" position="after"> |
||||
|
<field name="is_click_and_collect_order" invisible="1"/> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |