@ -0,0 +1,47 @@ |
|||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg |
|||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html |
|||
:alt: License: AGPL-3 |
|||
|
|||
POS KEYBOARD SHORTCUT |
|||
===================== |
|||
This module helps you easily navigate using shortcuts |
|||
|
|||
Configuration |
|||
============= |
|||
Install this module. After that you will see a button from POS Chrome. Click on it to enable dark mode. |
|||
|
|||
Company |
|||
------- |
|||
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
|||
|
|||
License |
|||
------- |
|||
GNU Affero General Public License v3.0 (AGPL v3) |
|||
(https://www.gnu.org/licenses/agpl-3.0-standalone.html) |
|||
|
|||
Credits |
|||
------- |
|||
Developer: version 17: Ajith V @cybrosys, |
|||
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>`__ |
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
################################################################################ |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Ajith V (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 |
@ -0,0 +1,60 @@ |
|||
# -*- coding: utf-8 -*- |
|||
################################################################################ |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Ajith V (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': 'POS Keyboard Shortcut', |
|||
'version': '17.0.1.0.0', |
|||
'summery': 'To quickly process transactions, use the following POS' |
|||
' (Point of Sale) keyboard shortcuts', |
|||
'description': """Easily operate the Point of Sale (POS) system by |
|||
utilizing POS keyboard shortcuts.""", |
|||
'author': 'Cybrosys Techno Solutions', |
|||
'company': 'Cybrosys Techno Solutions', |
|||
'maintainer': 'Cybrosys Techno Solutions', |
|||
'website': 'https://www.cybrosys.com', |
|||
"category": "point of sale", |
|||
'depends': ['point_of_sale'], |
|||
'data': ['security/ir.model.access.csv', |
|||
'data/pos_keyboard_shortcut_sequence.xml', |
|||
'views/res_config_settings_views.xml', |
|||
'views/pos_keyboard_shortcut_views.xml', |
|||
], |
|||
'assets': { |
|||
'point_of_sale._assets_pos': [ |
|||
'odoo_pos_keyboard_shortcut/static/src/js/shortcut_popup.js', |
|||
'odoo_pos_keyboard_shortcut/static/src/xml/shortcut_popup.xml', |
|||
'odoo_pos_keyboard_shortcut/static/src/xml/shortcut_button.xml', |
|||
'odoo_pos_keyboard_shortcut/static/src/js/shortcut_button.js', |
|||
'odoo_pos_keyboard_shortcut/static/src/js/pos_store.js', |
|||
'odoo_pos_keyboard_shortcut/static/src/js/product_screen.js', |
|||
'odoo_pos_keyboard_shortcut/static/src/js/payment_screen.js', |
|||
'odoo_pos_keyboard_shortcut/static/src/js/receipt_screen.js', |
|||
'odoo_pos_keyboard_shortcut/static/src/js/error_popup.js', |
|||
], |
|||
}, |
|||
'images': [ |
|||
'static/description/banner.jpg', |
|||
], |
|||
'license': 'AGPL-3', |
|||
'installable': True, |
|||
'auto_install': False, |
|||
'application': False, |
|||
} |
@ -0,0 +1,15 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<!--Create a data record for adding sequences--> |
|||
<data noupdate="1"> |
|||
<record id="ir_sequence_pos_keyboard_shortcut" model="ir.sequence"> |
|||
<field name="name">Keyboard Sequence</field> |
|||
<field name="code">pos.keyboard.shortcut</field> |
|||
<field name="prefix">PKS</field> |
|||
<field name="padding">5</field> |
|||
<field name="number_next">1</field> |
|||
<field name="number_increment">1</field> |
|||
<field name="company_id" eval="False"/> |
|||
</record> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,6 @@ |
|||
## Module <pos_keyboard_shortcut> |
|||
|
|||
#### 24.09.2024 |
|||
#### Version 17.0.1.0.0 |
|||
#### ADD |
|||
- Initial Commit for POS Keyboard ShortCut |
@ -0,0 +1,26 @@ |
|||
# -*- coding: utf-8 -*- |
|||
################################################################################ |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Ajith V (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 pos_config |
|||
from . import pos_keyboard_shortcut |
|||
from . import pos_payment_method_key |
|||
from . import pos_session |
|||
from . import res_config_settings |
@ -0,0 +1,36 @@ |
|||
# -*- coding: utf-8 -*- |
|||
################################################################################ |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Ajith V (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 PosConfig(models.Model): |
|||
"""inherited the pos config model and add new fields""" |
|||
_inherit = 'pos.config' |
|||
|
|||
enable_keyboard_shortcuts = fields.Boolean( |
|||
string='Keyboard shortcuts', |
|||
help='Enable the feature for keyboard shortcuts ' |
|||
'using on the point of sale') |
|||
select_shortcut_id = fields.Many2one( |
|||
'pos.keyboard.shortcut', |
|||
string='Choose Shortcut', help='To select pos keyboard shortcut' |
|||
) |
@ -0,0 +1,116 @@ |
|||
# -*- coding: utf-8 -*- |
|||
################################################################################ |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Ajith V (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, api, _ |
|||
from odoo.exceptions import ValidationError |
|||
|
|||
|
|||
class PosKeyboardShortcut(models.Model): |
|||
"""Create a new model and define specific fields that are utilized for |
|||
setting shortcuts in the Point of Sale (POS) system.""" |
|||
_name = 'pos.keyboard.shortcut' |
|||
_description = 'Pos Keyboard Shortcut' |
|||
|
|||
name = fields.Char(string='Reference Number', |
|||
default=lambda self: _('New'), |
|||
readonly=True, copy=False, help='Name') |
|||
customer_screen = fields.Char(string='Customer Screen', default='C', |
|||
help='Customer Screen') |
|||
next_screen = fields.Char(string='Next Screen', default='Z', help='Next ' |
|||
'screen') |
|||
select_qty = fields.Char(string='Select Quantity', default='Q', |
|||
help='To select quantity') |
|||
select_discount = fields.Char(string='Select Discount', default='D', |
|||
hel='To select discount') |
|||
select_price = fields.Char(string='Select Price', default='P', |
|||
help='To select the price') |
|||
delete_orderlines = fields.Char(string='Delete Orderlines', |
|||
default='Backspace', readonly=True, |
|||
help='To delete orderlines') |
|||
print_receipt = fields.Char(string='Print Receipt', default='R', |
|||
help='To print receipt') |
|||
next_screen_show = fields.Char(string="Show Next Screen", default='Enter', |
|||
readonly=True, help='To show the next ' |
|||
'screen') |
|||
back_screen = fields.Char(string='Back Screen', default="B", help='Back ' |
|||
'screen') |
|||
click_ok = fields.Char(string='Ok Button of Popup', default='Enter', |
|||
readonly=True, help='Ok button of popup') |
|||
select_user = fields.Char(string='Select POS user', default='U', |
|||
help='To select POS User') |
|||
select_invoice = fields.Char(string='Order Invoice', default='I', |
|||
help='To select invoice') |
|||
close_pos = fields.Char(string='Close Pos Session', default='M', |
|||
help='To Close POS Session') |
|||
click_cancel = fields.Char(string='Cancel Button in Popup', default='Esc', |
|||
readonly=True, help='To Cancel') |
|||
payment_method_key_ids = fields.One2many( |
|||
'pos.payment.method.key', |
|||
inverse_name='keyboard_shortcut_id') |
|||
validate_order = fields.Char(string='Validate Order', default='V', |
|||
readonly=True, help='To validate order') |
|||
new_order = fields.Char(string='New Order', default='X', |
|||
help='To new order') |
|||
resume_order = fields.Char(string='Resume Order', default='S', |
|||
help='To Resume Order') |
|||
sent_email = fields.Char(string='Sent Email', default='Y', |
|||
help='To Sent Email') |
|||
|
|||
@api.model_create_multi |
|||
def create(self, vals_list): |
|||
"""This method is an overridden create method within an Odoo model, |
|||
specifically designed to handle the creation of multiple records |
|||
at once (multi), typically used in scenarios like importing |
|||
data or bulk creation.""" |
|||
for vals in vals_list: |
|||
if vals.get('name', _('New')) == _('New'): |
|||
vals['name'] = self.env['ir.sequence'].next_by_code( |
|||
'pos.keyboard.shortcut') |
|||
return super().create(vals_list) |
|||
|
|||
@api.constrains('customer_screen', 'next_screen', 'select_qty', |
|||
'select_discount', 'select_price', 'print_receipt', |
|||
'back_screen', 'select_user', 'sent_email', 'resume_order', |
|||
'new_order', 'close_pos', 'select_invoice', |
|||
'validate_order', 'click_cancel', 'click_ok', |
|||
'next_screen_show', 'delete_orderlines') |
|||
def _check_same_value(self): |
|||
"""This method serves as a constraint for ensuring that specific fields |
|||
within the model do not contain identical values simultaneously. |
|||
It iterates over each record and checks the values of the |
|||
designated fields. If any of these fields have identical values, |
|||
it raises a validation error indicating that the values of these |
|||
fields must be distinct.""" |
|||
for record in self: |
|||
fields_to_check = ['customer_screen', 'next_screen', 'select_qty', |
|||
'select_discount', 'select_price', |
|||
'print_receipt', 'back_screen', 'select_user', |
|||
'sent_email', 'resume_order', 'new_order', |
|||
'close_pos', 'select_invoice', 'validate_order', |
|||
'click_cancel', 'next_screen_show', |
|||
'delete_orderlines'] |
|||
field_values = [getattr(record, field) for field in |
|||
fields_to_check] |
|||
filtered_values = [value for value in field_values if |
|||
value not in (None, '')] |
|||
if len(set(filtered_values)) != len(filtered_values): |
|||
raise ValidationError( |
|||
_('The values of the fields must not be the same.')) |
@ -0,0 +1,61 @@ |
|||
# -*- coding: utf-8 -*- |
|||
################################################################################ |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Ajith V (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 PosPaymentMethodKey(models.Model): |
|||
"""To create a new model and add new fields for defining shortcut keys |
|||
related to payment methods""" |
|||
_name = 'pos.payment.method.key' |
|||
_description = 'Pos Payment Method Key' |
|||
|
|||
payment_method_id = fields.Many2one('pos.payment.method', |
|||
String='Payment Method', |
|||
help='This field represents the payment' |
|||
'method used for transactions in ' |
|||
'the Point of Sale module. ' |
|||
'It allows users to select from ' |
|||
'predefined payment methods such ' |
|||
'as cash, credit card, ' |
|||
'or gift card when processing ' |
|||
'payments at the point of sale.') |
|||
keyboard_shortcut_id = fields.Many2one('pos.keyboard.shortcut', |
|||
string='Keyboard Shortcuts', |
|||
help='This field associates a ' |
|||
'keyboard shortcut with a ' |
|||
'specific action or function in' |
|||
'the Point of Sale interface. ' |
|||
'It allows users to quickly ' |
|||
'perform common tasks by ' |
|||
'pressing designated keys.') |
|||
key_code = fields.Char(string='Key Code', help='This field stores the code ' |
|||
'representing the key ' |
|||
'or key combination' |
|||
' assigned ' |
|||
'to the keyboard shortcut. ' |
|||
'It is ' |
|||
'used to identify the ' |
|||
'keystroke needed to ' |
|||
'trigger the associated ' |
|||
'action or function in ' |
|||
'the Point of Sale ' |
|||
'interface.') |
@ -0,0 +1,63 @@ |
|||
# -*- coding: utf-8 -*- |
|||
################################################################################ |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Ajith V (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 models |
|||
|
|||
|
|||
class PosSession(models.Model): |
|||
"""inherited the pos session and loaded models to pos""" |
|||
_inherit = 'pos.session' |
|||
|
|||
def _pos_ui_models_to_load(self): |
|||
"""load the models to pos""" |
|||
res = super()._pos_ui_models_to_load() |
|||
res.append('pos.keyboard.shortcut') |
|||
res.append('pos.payment.method.key') |
|||
return res |
|||
|
|||
def _loader_params_pos_keyboard_shortcut(self): |
|||
"""To load pos keyboard shortcut fields in pos""" |
|||
return { |
|||
'search_params': { |
|||
'fields': [], |
|||
'domain': [('id', '=', self.config_id.select_shortcut_id.id)] |
|||
}, |
|||
} |
|||
|
|||
def _get_pos_ui_pos_keyboard_shortcut(self, params): |
|||
"""set the get function for return the fields values""" |
|||
return self.env['pos.keyboard.shortcut'].search_read( |
|||
**params['search_params']) |
|||
|
|||
def _loader_params_pos_payment_method_key(self): |
|||
"""To load pos payment method key fields in pos""" |
|||
return { |
|||
'search_params': { |
|||
'fields': [], |
|||
'domain': [('keyboard_shortcut_id', '=', |
|||
self.config_id.select_shortcut_id.id)] |
|||
}, |
|||
} |
|||
|
|||
def _get_pos_ui_pos_payment_method_key(self, params): |
|||
"""set the get function for return the fields values""" |
|||
return self.env['pos.payment.method.key'].search_read( |
|||
**params['search_params']) |
@ -0,0 +1,41 @@ |
|||
# -*- coding: utf-8 -*- |
|||
################################################################################ |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Ajith V (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 ResConfigSettings(models.TransientModel): |
|||
"""Inherited the settings and add new fields""" |
|||
_inherit = 'res.config.settings' |
|||
|
|||
pos_enable_keyboard_shortcuts = fields.Boolean( |
|||
string='Enable keyboard shortcuts', |
|||
help='Choose Keyboard Shortcut for the POS Session', |
|||
related='pos_config_id.enable_keyboard_shortcuts', |
|||
readonly=False |
|||
) |
|||
pos_select_shortcut_id = fields.Many2one( |
|||
'pos.keyboard.shortcut', |
|||
string='Choose Shortcut', |
|||
related='pos_config_id.select_shortcut_id', |
|||
readonly=False, |
|||
help='To select pos keyboard shortcut' |
|||
) |
|
After Width: | Height: | Size: 36 KiB |
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.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 11 KiB |
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: 3.2 KiB |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 123 KiB |
After Width: | Height: | Size: 146 KiB |
After Width: | Height: | Size: 148 KiB |
After Width: | Height: | Size: 177 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 16 KiB |
@ -0,0 +1,762 @@ |
|||
<!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;"> |
|||
POS Keyboard Shortcut</h1> |
|||
<p class="my-3 mb-4" |
|||
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
|||
Employees can efficiently manage POS transactions using |
|||
keyboard shortcuts </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;"> |
|||
Configure Keyboard Shortcuts</p> |
|||
<p class="m-0" style="color:#718096">To enhance |
|||
productivity, configure keyboard shortcuts in |
|||
your system settings, allowing you to quickly |
|||
access frequently used functions and streamline |
|||
your workflow. |
|||
</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;"> |
|||
Easy to use Keyboard shortcuts inside pos</p> |
|||
<p class="m-0" style="color:#718096">Simplify your |
|||
point-of-sale experience with user-friendly |
|||
keyboard shortcuts, making it easy to navigate, |
|||
process transactions, and manage inventory |
|||
seamlessly. |
|||
</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;"> |
|||
Efficiently Manage Discounts, Prices, and |
|||
Quantities with Keyboard Shortcuts</p> |
|||
<p class="m-0" style="color:#718096">simplifying the |
|||
process of handling sales and ensuring a |
|||
smoother customer transaction experience |
|||
</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;"> |
|||
Real time synchronization.</p> |
|||
<p class="m-0" style="color:#718096"> The system |
|||
enables real-time synchronization, ensuring |
|||
instant and accurate updates across all |
|||
connected devices and platforms. |
|||
</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"> |
|||
Access the POS Keyboard Shortcut Menu |
|||
Here</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"> |
|||
Customize Your Keyboard Shortcuts for |
|||
Personalized Configuration.</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"> |
|||
Choose Your Shortcut Model in the POS |
|||
Settings for Quick and Convenient |
|||
Access.</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> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
View All Shortcuts Within the POS for Easy |
|||
Reference and Efficient Operations</h4> |
|||
</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> |
|||
</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> |
|||
Configure Keyboard Shortcuts |
|||
</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>Access the Pos |
|||
Shortcuts inside Pos |
|||
</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> |
|||
Easy to change shortcuts |
|||
</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:24th September 2024</span> |
|||
</div> |
|||
<p class="m-0" |
|||
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> |
|||
|
|||
Initial Commit for POS Keyboard Shortcut</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/point_of_sale_logo/" |
|||
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"> |
|||
Point of Sale Logo</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/17.0/product_multi_uom_pos/" |
|||
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"> |
|||
POS Product Multiple UOM</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/17.0/product_detail_search/" |
|||
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"> |
|||
Find Products in Pos and Stock using |
|||
Barcode</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/pos_product_creation/" |
|||
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"> |
|||
Create Products From POS</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/17.0/pos_book_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/5.png" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
|
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold"> |
|||
POS Booking Order</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/17.0/pos_refund_password/" |
|||
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"> |
|||
Restrict POS Refund with |
|||
Password</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,14 @@ |
|||
/** @odoo-module */ |
|||
import { AbstractAwaitablePopup } from "@point_of_sale/app/popup/abstract_awaitable_popup"; |
|||
import { _t } from "@web/core/l10n/translation"; |
|||
/** |
|||
* This class represents a custom popup in the Point of Sale. |
|||
* It extends the AbstractAwaitablePopup class. |
|||
*/ |
|||
export class ErrorPopup extends AbstractAwaitablePopup { |
|||
static template = "pos_keyboard_shortcut.ErrorPopup"; |
|||
static defaultProps = { |
|||
cancelText: _t("Close"), |
|||
title: _t("WARNING"), |
|||
}; |
|||
} |
@ -0,0 +1,34 @@ |
|||
/** @odoo-module */ |
|||
import { patch } from "@web/core/utils/patch"; |
|||
import { PaymentScreen } from "@point_of_sale/app/screens/payment_screen/payment_screen"; |
|||
//Patch the payment screen and add the shortcuts on the payment screen
|
|||
patch(PaymentScreen.prototype, { |
|||
setup() { |
|||
super.setup(); |
|||
this.payment_screen_shortcuts(); |
|||
}, |
|||
payment_screen_shortcuts(){ |
|||
if(this.pos.config.enable_keyboard_shortcuts){ |
|||
document.addEventListener('keydown', (event) => { |
|||
event.preventDefault() |
|||
if (event.ctrlKey && event.key === this.pos.keyboard_shortcuts[0].select_invoice.toLowerCase()) { |
|||
const InvoiceButton = document.querySelector('.js_invoice') |
|||
InvoiceButton.click(); |
|||
} |
|||
if (event.ctrlKey && event.key === this.pos.keyboard_shortcuts[0].back_screen.toLowerCase()) { |
|||
const BackButton = document.querySelector('.back') |
|||
BackButton?.click(); |
|||
} |
|||
if (this.pos.payment_method_key[0]){ |
|||
if (event.ctrlKey && event.key === this.pos.payment_method_key[0].key_code.toLowerCase()) { |
|||
const Payment_method = document.querySelector('.payment-method-display') |
|||
Payment_method.click(); |
|||
} |
|||
} |
|||
if (event.ctrlKey && event.key === this.pos.keyboard_shortcuts[0].validate_order.toLowerCase()) { |
|||
this.validateOrder(); |
|||
} |
|||
}) |
|||
} |
|||
}, |
|||
}); |
@ -0,0 +1,11 @@ |
|||
/** @odoo-module */ |
|||
import { patch } from "@web/core/utils/patch"; |
|||
import { PosStore } from "@point_of_sale/app/store/pos_store"; |
|||
//patch the store and load the models
|
|||
patch(PosStore.prototype, { |
|||
async _processData(loadedData) { |
|||
await super._processData(...arguments); |
|||
this.keyboard_shortcuts = loadedData['pos.keyboard.shortcut']; |
|||
this.payment_method_key = loadedData['pos.payment.method.key']; |
|||
}, |
|||
}); |
@ -0,0 +1,40 @@ |
|||
/** @odoo-module */ |
|||
import { ProductScreen } from "@point_of_sale/app/screens/product_screen/product_screen"; |
|||
import { patch } from "@web/core/utils/patch"; |
|||
import { useBus, useService } from "@web/core/utils/hooks"; |
|||
|
|||
//Patch the Product screen and add the shortcuts on the Product screen
|
|||
patch(ProductScreen.prototype, { |
|||
setup(){ |
|||
super.setup(...arguments); |
|||
owl.useExternalListener(document, "keydown", (ev) => { |
|||
if (Object.keys(this.popup.popups).length === 0) { |
|||
ev.preventDefault(); |
|||
this._product_screen_shortcuts(ev) |
|||
} |
|||
}) |
|||
}, |
|||
_product_screen_shortcuts(event){ |
|||
if(this.pos.config.enable_keyboard_shortcuts && this.pos.config.select_shortcut_id ){ |
|||
if (event.ctrlKey && event.key === this.pos.keyboard_shortcuts[0].customer_screen.toLowerCase()) { |
|||
this.pos.selectPartner(); |
|||
} |
|||
else if(event.ctrlKey && event.key === this.pos.keyboard_shortcuts[0].select_price.toLowerCase()){ |
|||
this.onNumpadClick('price'); |
|||
} |
|||
else if(event.ctrlKey && event.key === this.pos.keyboard_shortcuts[0].select_discount.toLowerCase()){ |
|||
this.onNumpadClick('discount'); |
|||
} |
|||
else if(event.ctrlKey && event.key === this.pos.keyboard_shortcuts[0].select_qty.toLowerCase()){ |
|||
this.onNumpadClick('quantity'); |
|||
} |
|||
else if(event.ctrlKey && event.key === this.pos.keyboard_shortcuts[0].select_user.toLowerCase()){ |
|||
const UserButton = document.querySelector('.username') |
|||
UserButton.click(); |
|||
} |
|||
else if(event.ctrlKey && event.key === this.pos.keyboard_shortcuts[0].next_screen.toLowerCase()){ |
|||
this.onClickPay(); |
|||
} |
|||
} |
|||
} |
|||
}); |
@ -0,0 +1,29 @@ |
|||
/** @odoo-module */ |
|||
import { patch } from "@web/core/utils/patch"; |
|||
import { ReceiptScreen } from "@point_of_sale/app/screens/receipt_screen/receipt_screen"; |
|||
//Patch the Receipt screen and add the shortcuts on the Receipt screen
|
|||
patch(ReceiptScreen.prototype, { |
|||
setup() { |
|||
super.setup(); |
|||
this.receipt_screen_shortcuts(); |
|||
}, |
|||
receipt_screen_shortcuts(){ |
|||
if(this.pos.config.enable_keyboard_shortcuts){ |
|||
document.addEventListener('keydown', (event) => { |
|||
event.preventDefault() |
|||
if (event.ctrlKey && event.key === this.pos.keyboard_shortcuts[0].print_receipt.toLowerCase()) { |
|||
this.printReceipt(); |
|||
} |
|||
if (event.ctrlKey && event.key === this.pos.keyboard_shortcuts[0].new_order.toLowerCase()) { |
|||
this.orderDone(); |
|||
} |
|||
if (event.ctrlKey && event.key === this.pos.keyboard_shortcuts[0].resume_order.toLowerCase()) { |
|||
this.resumeOrder(); |
|||
} |
|||
if (event.ctrlKey && event.key === this.pos.keyboard_shortcuts[0].sent_email.toLowerCase()) { |
|||
this.onSendEmail(); |
|||
} |
|||
}) |
|||
} |
|||
}, |
|||
}); |
@ -0,0 +1,46 @@ |
|||
/** @odoo-module */ |
|||
import { ProductScreen } from "@point_of_sale/app/screens/product_screen/product_screen"; |
|||
import { ShortcutPopup } from "./shortcut_popup.js"; |
|||
import { ErrorPopup } from "./error_popup.js"; |
|||
import { useService } from "@web/core/utils/hooks"; |
|||
import { usePos } from "@point_of_sale/app/store/pos_hook"; |
|||
import { _t } from "@web/core/l10n/translation"; |
|||
import { Component ,useState} from "@odoo/owl"; |
|||
/** |
|||
* This class represents a custom button in the Point of Sale product screen. |
|||
*/ |
|||
export class ShortcutButton extends Component { |
|||
static template = "pos_keyboard_shortcut.Shortcuts"; |
|||
/** |
|||
* Initializes the component and sets up necessary dependencies. |
|||
*/ |
|||
setup() { |
|||
this.pos = usePos(); |
|||
this.popup = useService("popup"); |
|||
} |
|||
/** |
|||
* Handles the click event of the Custom button. |
|||
* Opens a popup for adding products and updates the order. |
|||
*/ |
|||
async click() { |
|||
if (this.pos.config.select_shortcut_id){ |
|||
const order = this.pos.get_order(); |
|||
await this.popup.add(ShortcutPopup, { |
|||
title: _t("Pos Keyboard Shortcuts"), |
|||
}); |
|||
} |
|||
else { |
|||
await this.popup.add(ErrorPopup, { |
|||
title: _t("Warning"), |
|||
|
|||
}); |
|||
} |
|||
} |
|||
} |
|||
// Adds the custom button to the ProductScreen controls.
|
|||
ProductScreen.addControlButton({ |
|||
component: ShortcutButton, |
|||
condition: function () { |
|||
return true; |
|||
}, |
|||
}); |
@ -0,0 +1,14 @@ |
|||
/** @odoo-module */ |
|||
import { AbstractAwaitablePopup } from "@point_of_sale/app/popup/abstract_awaitable_popup"; |
|||
import { _t } from "@web/core/l10n/translation"; |
|||
/** |
|||
* This class represents a custom popup in the Point of Sale. |
|||
* It extends the AbstractAwaitablePopup class. |
|||
*/ |
|||
export class ShortcutPopup extends AbstractAwaitablePopup { |
|||
static template = "pos_keyboard_shortcut.ShortcutPopup"; |
|||
static defaultProps = { |
|||
cancelText: _t("Close"), |
|||
title: _t("POS KEYBOARD SHORTCUTS"), |
|||
}; |
|||
} |
@ -0,0 +1,13 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<templates id="template" xml:space="preserve"> |
|||
<!-- Shortcut button template --> |
|||
<t t-name="pos_keyboard_shortcut.Shortcuts" owl="1"> |
|||
<t t-if="this.pos.config.enable_keyboard_shortcuts"> |
|||
<button class="control-button btn btn-light rounded-0 fw-bolder" |
|||
t-on-click="() => this.click()"> |
|||
<i class="fa fa-info-circle me-1" role="img" aria-label="Shortcuts" title="Shortcuts" /> |
|||
Shortcuts |
|||
</button> |
|||
</t> |
|||
</t> |
|||
</templates> |
@ -0,0 +1,217 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<templates id="template" xml:space="preserve"> |
|||
<!-- Shortcut popup view--> |
|||
<t t-name="pos_keyboard_shortcut.ShortcutPopup"> |
|||
<div class="popup shortcut_popup"> |
|||
<!-- Modal Header --> |
|||
<div class="modal-header"> |
|||
<h4> |
|||
<t t-esc="props.title"/> |
|||
</h4> |
|||
</div> |
|||
<!-- Modal Body --> |
|||
<div class="modal-body table-container"> |
|||
<!-- Product Screen Shortcuts --> |
|||
<div> |
|||
<p> |
|||
Product Screen Shortcuts |
|||
</p> |
|||
<table class="table"> |
|||
<thead> |
|||
<tr> |
|||
<th> |
|||
<b>Key</b> |
|||
</th> |
|||
<th> |
|||
<b>Description</b> |
|||
</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<t> |
|||
<tr> |
|||
<td> |
|||
Ctrl + <t |
|||
t-esc="this.env.services.pos.keyboard_shortcuts[0]?.customer_screen"/> |
|||
</td> |
|||
<td> |
|||
Customer Screen |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td> |
|||
Ctrl + <t |
|||
t-esc="this.env.services.pos.keyboard_shortcuts[0]?.select_discount"/> |
|||
</td> |
|||
<td> |
|||
Select Discount |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td> |
|||
Ctrl + <t |
|||
t-esc="this.env.services.pos.keyboard_shortcuts[0]?.select_price"/> |
|||
</td> |
|||
<td> |
|||
Select Price |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td> |
|||
Ctrl + <t |
|||
t-esc="this.env.services.pos.keyboard_shortcuts[0]?.select_qty"/> |
|||
</td> |
|||
<td> |
|||
Select Quantity |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td> |
|||
Ctrl + <t |
|||
t-esc="this.env.services.pos.keyboard_shortcuts[0]?.select_user"/> |
|||
</td> |
|||
<td> |
|||
Select User |
|||
</td> |
|||
</tr> |
|||
</t> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
<!-- Payment Screen Shortcuts --> |
|||
<div> |
|||
<p> |
|||
Payment Screen Shortcuts |
|||
</p> |
|||
<table class="table"> |
|||
<thead> |
|||
<tr> |
|||
<th> |
|||
<b>Key</b> |
|||
</th> |
|||
<th> |
|||
<b>Description</b> |
|||
</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<tr> |
|||
<td> |
|||
Ctrl + <t |
|||
t-esc="this.env.services.pos.keyboard_shortcuts[0]?.select_invoice"/> |
|||
</td> |
|||
<td> |
|||
Select Invoice |
|||
</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
<!-- Receipt Screen Shortcuts --> |
|||
<div> |
|||
<p> |
|||
Receipt Screen Shortcuts |
|||
</p> |
|||
<table class="table"> |
|||
<thead> |
|||
<tr> |
|||
<th> |
|||
<b>Key</b> |
|||
</th> |
|||
<th> |
|||
<b>Description</b> |
|||
</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<tr> |
|||
<td> |
|||
Ctrl + <t |
|||
t-esc="this.env.services.pos.keyboard_shortcuts[0]?.print_receipt"/> |
|||
</td> |
|||
<td> |
|||
Print Receipt |
|||
</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
<!-- All Screen Shortcuts --> |
|||
<div> |
|||
<p> |
|||
All Screen Shortcuts |
|||
</p> |
|||
<table class="table"> |
|||
<thead> |
|||
<tr> |
|||
<th> |
|||
<b>Key</b> |
|||
</th> |
|||
<th> |
|||
<b>Description</b> |
|||
</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<tr> |
|||
<td> |
|||
Ctrl + <t |
|||
t-esc="this.env.services.pos.keyboard_shortcuts[0]?.click_cancel"/> |
|||
</td> |
|||
<td> |
|||
Cancel |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td> |
|||
Ctrl + <t |
|||
t-esc="this.env.services.pos.keyboard_shortcuts[0]?.click_ok"/> |
|||
</td> |
|||
<td> |
|||
Ok |
|||
</td> |
|||
</tr> |
|||
<tr> |
|||
<td> |
|||
Ctrl + <t |
|||
t-esc="this.env.services.pos.keyboard_shortcuts[0]?.select_user"/> |
|||
</td> |
|||
<td> |
|||
Select User |
|||
</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</div> |
|||
<!-- Modal Footer --> |
|||
<div class="footer footer-flex modal-footer"> |
|||
<!-- Cancel Button --> |
|||
<div class="button cancel btn btn-lg btn-secondary" |
|||
t-on-click="cancel"> |
|||
<t t-esc="props.cancelText"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</t> |
|||
<t t-name="pos_keyboard_shortcut.ErrorPopup"> |
|||
<div class="popup shortcut_popup warning"> |
|||
<div class="modal-header warning"> |
|||
<h4> |
|||
<t t-esc="'Warning'"/> |
|||
</h4> |
|||
</div> |
|||
<div class="modal-body table-container warning"> |
|||
<div> |
|||
<p>Please select a shortcut first before proceeding</p> |
|||
</div> |
|||
</div> |
|||
<div class="footer footer-flex modal-footer warning"> |
|||
<div class="button cancel btn btn-lg btn-secondary" |
|||
t-on-click="cancel"> |
|||
<t t-esc="props.cancelText"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</t> |
|||
</templates> |
@ -0,0 +1,88 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<!-- Create the tree view--> |
|||
<record id="pos_keyboard_shortcuts_tree_view" model="ir.ui.view"> |
|||
<field name="name">pos.keyboard.shortcut.tree.view</field> |
|||
<field name="model">pos.keyboard.shortcut</field> |
|||
<field name="type">tree</field> |
|||
<field name="arch" type="xml"> |
|||
<tree string="Shortcuts"> |
|||
<field name="name" string="Shortcuts Name"/> |
|||
</tree> |
|||
</field> |
|||
</record> |
|||
<!-- Created the form view--> |
|||
<record id="pos_keyboard_shortcut_form_view" model="ir.ui.view"> |
|||
<field name="name">pos.keyboard.shortcut.form.view</field> |
|||
<field name="model">pos.keyboard.shortcut</field> |
|||
<field name="type">form</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Shortcuts"> |
|||
<sheet> |
|||
<h1> |
|||
<field name="name"/> |
|||
</h1> |
|||
<group string="Product Screen Shortcuts"> |
|||
<group> |
|||
<field name="next_screen" string="Payment Screen"/> |
|||
<field name="customer_screen"/> |
|||
<field name="select_qty"/> |
|||
<field name="select_discount"/> |
|||
<field name="select_price"/> |
|||
</group> |
|||
<group> |
|||
<field name="delete_orderlines"/> |
|||
</group> |
|||
</group> |
|||
<group string="Receipt Screen Shortcuts"> |
|||
<group> |
|||
<field name="print_receipt"/> |
|||
<field name="new_order"/> |
|||
<field name="resume_order"/> |
|||
<field name="sent_email"/> |
|||
</group> |
|||
<group> |
|||
<field name="next_screen_show"/> |
|||
</group> |
|||
</group> |
|||
<group string="Common Shortcuts"> |
|||
<group> |
|||
<field name="back_screen"/> |
|||
<field name="click_ok"/> |
|||
<field name="click_cancel"/> |
|||
</group> |
|||
<group> |
|||
<field name="select_user"/> |
|||
<field name="close_pos"/> |
|||
</group> |
|||
</group> |
|||
<group string="Payment Screen Shortcuts"> |
|||
<group> |
|||
<field name="select_invoice"/> |
|||
<field name="validate_order"/> |
|||
<field name="payment_method_key_ids"> |
|||
<tree string="order line" editable="bottom"> |
|||
<field name="payment_method_id"/> |
|||
<field name="key_code"/> |
|||
</tree> |
|||
</field> |
|||
</group> |
|||
</group> |
|||
</sheet> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<!-- Created the action on the menu--> |
|||
<record id="action_pos_keyboard_shortcut_menu" |
|||
model="ir.actions.act_window"> |
|||
<field name="name">POS Keyboard Shortcut</field> |
|||
<field name="res_model">pos.keyboard.shortcut</field> |
|||
<field name="view_mode">tree,form</field> |
|||
</record> |
|||
<!-- Added the menuitem--> |
|||
<menuitem name="Pos Keyboard Shortcut" |
|||
id="odoo_pos_keyboard_shortcut.pos_keyboard_shortcut" |
|||
parent="point_of_sale.pos_config_menu_catalog" |
|||
action="action_pos_keyboard_shortcut_menu" |
|||
sequence="99"/> |
|||
</odoo> |
@ -0,0 +1,30 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<!--Inheriting res_config_settings view for adding fields--> |
|||
<record id="res_config_settings_view_form" model="ir.ui.view"> |
|||
<field name="name"> |
|||
res.config.settings.view.form.inherit.pos.keyboard.shortcut |
|||
</field> |
|||
<field name="model">res.config.settings</field> |
|||
<field name="inherit_id" |
|||
ref="point_of_sale.res_config_settings_view_form"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//setting[@id='multiple_employee_session']" |
|||
position="after"> |
|||
<div class="col-12 col-lg-6 o_setting_box"> |
|||
<div class="o_setting_left_pane"> |
|||
<field name="pos_enable_keyboard_shortcuts"/> |
|||
</div> |
|||
<div class="o_setting_right_pane"> |
|||
<label for="pos_enable_keyboard_shortcuts" |
|||
string="Enable Keyboard Shortcuts"/> |
|||
<div class="content-group mt16" |
|||
invisible="not pos_enable_keyboard_shortcuts"> |
|||
<field name="pos_select_shortcut_id"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
</odoo> |