@ -1,41 +0,0 @@ |
|||||
.. 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 |
|
||||
|
|
||||
POS Multi Currency Payment |
|
||||
========================== |
|
||||
This module allows to use multiple currency in Point of Sale module. |
|
||||
|
|
||||
Company |
|
||||
------- |
|
||||
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
|
||||
|
|
||||
License |
|
||||
------- |
|
||||
Affero General Public License v3.0 (AGPL v3) |
|
||||
(https://www.gnu.org/licenses/agpl-3.0-standalone.html) |
|
||||
|
|
||||
Credits |
|
||||
------- |
|
||||
Developer: (V16) Dhanya Babu , 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>`__ |
|
@ -1,22 +0,0 @@ |
|||||
# -*- coding: utf-8 -*- |
|
||||
############################################################################## |
|
||||
# |
|
||||
# Cybrosys Technologies Pvt. Ltd. |
|
||||
# |
|
||||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|
||||
# Author: Dhanya Babu (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 |
|
@ -1,56 +0,0 @@ |
|||||
# -*- coding: utf-8 -*- |
|
||||
############################################################################## |
|
||||
# |
|
||||
# Cybrosys Technologies Pvt. Ltd. |
|
||||
# |
|
||||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|
||||
# Author: Dhanya Babu (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 Multi Currency Payment", |
|
||||
'version': '16.0.1.0.0', |
|
||||
'category': 'Point of Sale', |
|
||||
'summary': "This module allows us to make payment in multiple " |
|
||||
"currencies in Odoo 16 POS module.", |
|
||||
'description': "This module in Odoo 16 offers the " |
|
||||
"option to expand its capabilities, enabling companies " |
|
||||
"to take payments in different currencies. A variety of " |
|
||||
"adjustments and setups are required for the POS module " |
|
||||
"to be extended to support several currencies, enabling " |
|
||||
"businesses to perform transactions in various monetary " |
|
||||
"units without any issues.", |
|
||||
'author': 'Cybrosys Techno Solutions', |
|
||||
'company': 'Cybrosys Techno Solutions', |
|
||||
'maintainer': 'Cybrosys Techno Solutions', |
|
||||
'website': 'https://www.cybrosys.com', |
|
||||
'depends': ['point_of_sale', 'account'], |
|
||||
'data': [ |
|
||||
'views/res_config_settings_views.xml' |
|
||||
], |
|
||||
'assets': { |
|
||||
'point_of_sale.assets': [ |
|
||||
'pos_multi_currency_payment/static/xml/multicurrency_templates.xml', |
|
||||
'pos_multi_currency_payment/static/src/js/pos_models.js', |
|
||||
'pos_multi_currency_payment/static/src/js/pos_multicurrency.js', |
|
||||
'pos_multi_currency_payment/static/src/js/backend_order.js', |
|
||||
], |
|
||||
}, |
|
||||
'images': ['static/description/banner.jpg'], |
|
||||
'license': 'AGPL-3', |
|
||||
'installable': True, |
|
||||
'auto_install': False, |
|
||||
'application': False, |
|
||||
} |
|
@ -1,7 +0,0 @@ |
|||||
## Module <pos_multi_currency_payment> |
|
||||
|
|
||||
#### 27.11.2023 |
|
||||
#### Version 16.0.1.0.0 |
|
||||
#### ADD |
|
||||
|
|
||||
- Initial commit for POS Multi Currency Payment |
|
@ -1,26 +0,0 @@ |
|||||
# -*- coding: utf-8 -*- |
|
||||
############################################################################## |
|
||||
# |
|
||||
# Cybrosys Technologies Pvt. Ltd. |
|
||||
# |
|
||||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|
||||
# Author: Dhanya Babu (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_order |
|
||||
from . import pos_payment |
|
||||
from . import pos_session |
|
||||
from . import res_config_settings |
|
@ -1,32 +0,0 @@ |
|||||
# -*- coding: utf-8 -*- |
|
||||
############################################################################## |
|
||||
# |
|
||||
# Cybrosys Technologies Pvt. Ltd. |
|
||||
# |
|
||||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|
||||
# Author: Dhanya Babu (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): |
|
||||
"""Adding boolean field and many2many currency field.""" |
|
||||
_inherit = 'pos.config' |
|
||||
|
|
||||
currency_ids = fields.Many2many('res.currency', |
|
||||
string='Currency', help='Currency') |
|
||||
enable_multicurrency = fields.Boolean(string='Enable multi currency', |
|
||||
help='Enable the multi currency') |
|
@ -1,49 +0,0 @@ |
|||||
# -*- coding: utf-8 -*- |
|
||||
############################################################################## |
|
||||
# |
|
||||
# Cybrosys Technologies Pvt. Ltd. |
|
||||
# |
|
||||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|
||||
# Author: Dhanya Babu (odoo@cybrosys.com) |
|
||||
# |
|
||||
# You can modify it under the terms of the GNU AFFERO |
|
||||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|
||||
# |
|
||||
# This program is distributed in the hope that it will be useful, |
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
||||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|
||||
# |
|
||||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
||||
# (AGPL v3) along with this program. |
|
||||
# If not, see <http://www.gnu.org/licenses/>. |
|
||||
# |
|
||||
############################################################################## |
|
||||
from odoo import api, models |
|
||||
|
|
||||
|
|
||||
class PosOrder(models.Model): |
|
||||
"""This class extends the 'pos.order' model and adds custom functionality |
|
||||
related to payment processing.""" |
|
||||
_inherit = 'pos.order' |
|
||||
|
|
||||
@api.model |
|
||||
def _payment_fields(self, order, ui_paymentline): |
|
||||
"""Prepare and return a dictionary containing payment fields from the |
|
||||
user interface payment line. |
|
||||
params: |
|
||||
order (pos.order): The POS order to which the payment belongs. |
|
||||
ui_paymentline (dict): Payment information from the user interface.""" |
|
||||
return { |
|
||||
'amount': ui_paymentline['amount'] or 0.0, |
|
||||
'payment_date': ui_paymentline['name'], |
|
||||
'payment_method_id': ui_paymentline['payment_method_id'], |
|
||||
'card_type': ui_paymentline.get('card_type'), |
|
||||
'cardholder_name': ui_paymentline.get('cardholder_name'), |
|
||||
'transaction_id': ui_paymentline.get('transaction_id'), |
|
||||
'payment_status': ui_paymentline.get('payment_status'), |
|
||||
'ticket': ui_paymentline.get('ticket'), |
|
||||
'pos_order_id': order.id, |
|
||||
'payment_currency': ui_paymentline.get('payment_currency'), |
|
||||
'currency_amount': ui_paymentline.get('currency_amount') |
|
||||
} |
|
@ -1,32 +0,0 @@ |
|||||
# -*- coding: utf-8 -*- |
|
||||
############################################################################## |
|
||||
# |
|
||||
# Cybrosys Technologies Pvt. Ltd. |
|
||||
# |
|
||||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|
||||
# Author: Dhanya Babu (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 PosPayment(models.Model): |
|
||||
"""Adding currency symbol and amount.""" |
|
||||
_inherit = 'pos.payment' |
|
||||
|
|
||||
payment_currency = fields.Char(string='Payment Currency', |
|
||||
help='Currency in POS settings.') |
|
||||
currency_amount = fields.Float(string='Currency Amount', |
|
||||
help='Currency amount settings.') |
|
@ -1,50 +0,0 @@ |
|||||
# -*- coding: utf-8 -*- |
|
||||
############################################################################## |
|
||||
# |
|
||||
# Cybrosys Technologies Pvt. Ltd. |
|
||||
# |
|
||||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|
||||
# Author: Dhanya Babu (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 this model and added customize loader parameters for |
|
||||
retrieving currency-related data,Retrieve currency information for |
|
||||
the POS session's user interface.""" |
|
||||
_inherit = 'pos.session' |
|
||||
|
|
||||
def _loader_params_res_currency(self): |
|
||||
"""Customize loader parameters for retrieving currency-related data.""" |
|
||||
result = super()._loader_params_res_currency() |
|
||||
result['params'] = { |
|
||||
'search_params': { |
|
||||
'domain': [], |
|
||||
'fields': [], |
|
||||
}, |
|
||||
} |
|
||||
return result |
|
||||
|
|
||||
def _get_pos_ui_res_currency(self, params): |
|
||||
"""Retrieve currency information for the POS session's user interface. |
|
||||
""" |
|
||||
result = super()._get_pos_ui_res_currency(params) |
|
||||
pp_search_params = params.get('params', {}).get('search_params', {}) |
|
||||
currency_params = self.env['res.currency'].search_read( |
|
||||
**pp_search_params) |
|
||||
result['currency_params'] = currency_params |
|
||||
return result |
|
@ -1,45 +0,0 @@ |
|||||
# -*- coding: utf-8 -*- |
|
||||
############################################################################## |
|
||||
# |
|
||||
# Cybrosys Technologies Pvt. Ltd. |
|
||||
# |
|
||||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|
||||
# Author: Dhanya Babu (odoo@cybrosys.com) |
|
||||
# |
|
||||
# You can modify it under the terms of the GNU AFFERO |
|
||||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
|
||||
# |
|
||||
# This program is distributed in the hope that it will be useful, |
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
||||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
|
||||
# |
|
||||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
||||
# (AGPL v3) along with this program. |
|
||||
# If not, see <http://www.gnu.org/licenses/>. |
|
||||
# |
|
||||
############################################################################## |
|
||||
from odoo import api, fields, models |
|
||||
|
|
||||
|
|
||||
class ResConfigSettings(models.TransientModel): |
|
||||
"""Added boolean field and currency.""" |
|
||||
_inherit = 'res.config.settings' |
|
||||
|
|
||||
currency_ids = fields.Many2many('res.currency', |
|
||||
string="Currencies", |
|
||||
related="pos_config_id.currency_ids", |
|
||||
readonly=False, |
|
||||
help="The list of currencies supported by" |
|
||||
" this Point of Sale " |
|
||||
"configuration.") |
|
||||
enable_currency = fields.Boolean(string="Enable Currency", |
|
||||
config_parameter="pos.enable_currency", |
|
||||
help="Enable or disable currency" |
|
||||
" for this POS configuration.") |
|
||||
|
|
||||
@api.onchange('enable_currency') |
|
||||
def _onchange_value(self): |
|
||||
"""When enable the boolean field many2many currency field will display.""" |
|
||||
for rec in self: |
|
||||
rec.pos_config_id.enable_multicurrency = rec.enable_currency |
|
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 576 B |
Before Width: | Height: | Size: 733 B |
Before Width: | Height: | Size: 911 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 673 B |
Before Width: | Height: | Size: 878 B |
Before Width: | Height: | Size: 653 B |
Before Width: | Height: | Size: 905 B |
Before Width: | Height: | Size: 839 B |
Before Width: | Height: | Size: 427 B |
Before Width: | Height: | Size: 627 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 988 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 589 B |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 967 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 89 KiB |
Before Width: | Height: | Size: 130 KiB |
Before Width: | Height: | Size: 242 KiB |
Before Width: | Height: | Size: 85 KiB |
Before Width: | Height: | Size: 98 KiB |
Before Width: | Height: | Size: 97 KiB |
Before Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 27 KiB |
@ -1,651 +0,0 @@ |
|||||
<div style="background-color: #714B67; height: 810px; width: 100%; padding: 15px; position: relative;"> |
|
||||
<!-- TITLE BAR --> |
|
||||
<div class="d-flex align-items-center justify-content-between" |
|
||||
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;"> |
|
||||
<img src="assets/misc/cybrosys-logo.png" width="42" height="42" |
|
||||
style="width: 42px; height: 42px;"/> |
|
||||
<div> |
|
||||
<div |
|
||||
style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
|
||||
class="mr-2"> |
|
||||
<i class="fa fa-check mr-1"></i>Community |
|
||||
</div> |
|
||||
<div |
|
||||
style="color: #875A7B; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
|
||||
class="mr-2"> |
|
||||
<i class="fa fa-check mr-1"></i>Enterprise |
|
||||
</div> |
|
||||
<div |
|
||||
style="color: #017E84; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
|
||||
class="mr-2"> |
|
||||
<i class="fa fa-check mr-1"></i>Odoo.sh |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<!-- END OF TITLE BAR --> |
|
||||
<div class="container"> |
|
||||
<div class="row"> |
|
||||
<div class="col-sm-12 col-md-12 col-lg-12"> |
|
||||
<!-- APP HERO --> |
|
||||
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;"> |
|
||||
POS Multi Currency Payment</h1> |
|
||||
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;"> |
|
||||
This Module Allows To Use Multiple Currency In Point of Sale |
|
||||
Module.</p> |
|
||||
<!-- END OF APP HERO --> |
|
||||
<img src="assets/screenshots/hero.gif" class="img-responsive" |
|
||||
style="width: 100%; margin-left: auto; margin-right: auto;"/> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<!-- NAVIGATION SECTION --> |
|
||||
<div class="d-flex align-items-center" |
|
||||
style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;"> |
|
||||
<div class="d-flex justify-content-center align-items-center mr-2" |
|
||||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|
||||
<img src="assets/misc/compass.png"/> |
|
||||
</div> |
|
||||
<h2 class="mt-2" |
|
||||
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
|
||||
Explore This |
|
||||
Module</h2> |
|
||||
</div> |
|
||||
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;"> |
|
||||
<div class="col-sm-12 col-md-6 my-3"> |
|
||||
<a href="#overview"> |
|
||||
<div class="d-flex justify-content-between align-items-center" |
|
||||
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
|
||||
<div> |
|
||||
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span> |
|
||||
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">Learn more about this |
|
||||
module</span> |
|
||||
</div> |
|
||||
<img src="assets/misc/right-arrow.png" width="36" height="36"/> |
|
||||
</div> |
|
||||
</a> |
|
||||
</div> |
|
||||
<div class="col-sm-12 col-md-6 my-3"> |
|
||||
<a href="#features"> |
|
||||
<div class="d-flex justify-content-between align-items-center" |
|
||||
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
|
||||
<div> |
|
||||
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span> |
|
||||
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View |
|
||||
features of this |
|
||||
module</span> |
|
||||
</div> |
|
||||
<img src="assets/misc/right-arrow.png" width="36" height="36"/> |
|
||||
</div> |
|
||||
</a> |
|
||||
</div> |
|
||||
<div class="col-sm-12 col-md-6 my-3"> |
|
||||
<a href="#screenshots"> |
|
||||
<div class="d-flex justify-content-between align-items-center" |
|
||||
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
|
||||
<div> |
|
||||
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span> |
|
||||
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View |
|
||||
screenshots for this |
|
||||
module</span> |
|
||||
</div> |
|
||||
<img src="assets/misc/right-arrow.png" width="36" height="36"/> |
|
||||
</div> |
|
||||
</a> |
|
||||
</div> |
|
||||
</div> |
|
||||
<!-- END OF NAVIGATION SECTION --> |
|
||||
<!-- OVERVIEW SECTION --> |
|
||||
<div class="d-flex align-items-center" |
|
||||
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" |
|
||||
id="overview"> |
|
||||
<div class="d-flex justify-content-center align-items-center mr-2" |
|
||||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|
||||
<img src="assets/misc/pie-chart.png"/> |
|
||||
</div> |
|
||||
<h2 class="mt-2" |
|
||||
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
|
||||
Overview |
|
||||
</h2> |
|
||||
</div> |
|
||||
<div class="row" |
|
||||
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;"> |
|
||||
<div class="col-sm-12 py-4"> |
|
||||
This Module Helps To Choose Multiple Currencies for Point of Sale |
|
||||
Payments. |
|
||||
</div> |
|
||||
<!-- END OF OVERVIEW SECTION --> |
|
||||
<!-- FEATURES SECTION --> |
|
||||
<div class="d-flex align-items-center" |
|
||||
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" |
|
||||
id="features"> |
|
||||
<div class="d-flex justify-content-center align-items-center mr-2" |
|
||||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|
||||
<img src="assets/misc/features.png"/> |
|
||||
</div> |
|
||||
<h2 class="mt-2" |
|
||||
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
|
||||
Features |
|
||||
</h2> |
|
||||
</div> |
|
||||
<div class="row" |
|
||||
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;"> |
|
||||
<div class="col-sm-12 col-md-6"> |
|
||||
<div class="d-flex align-items-center" |
|
||||
style="margin-top: 30px; margin-bottom: 30px"> |
|
||||
<img src="assets/misc/check-box.png" class="mr-2"/> |
|
||||
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">User can enable multiple currency payment feature in the settings and choose multiple currencies.</span> |
|
||||
</div> |
|
||||
<div class="d-flex align-items-center" |
|
||||
style="margin-top: 30px; margin-bottom: 30px"> |
|
||||
<img src="assets/misc/check-box.png" class="mr-2"/> |
|
||||
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Convert the remaining payment currency amount based on the selected currency from POS payment screen.</span> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="col-sm-12 col-md-6"> |
|
||||
<div class="d-flex align-items-center" |
|
||||
style="margin-top: 30px; margin-bottom: 30px"> |
|
||||
<img src="assets/misc/check-box.png" class="mr-2"/> |
|
||||
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Shows the amount of payment it's currency on the payment lines and inside the reciept.</span> |
|
||||
</div> |
|
||||
<div class="d-flex align-items-center" |
|
||||
style="margin-top: 30px; margin-bottom: 30px"> |
|
||||
<img src="assets/misc/check-box.png" class="mr-2"/> |
|
||||
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Showcases the payment currency and converted currency amount in the backend POS order.</span> |
|
||||
</div> |
|
||||
<div class="col-sm-12 col-md-6"> |
|
||||
<div class="d-flex align-items-center" |
|
||||
style="margin-top: 30px; margin-bottom: 30px"> |
|
||||
<img src="assets/misc/check-box.png" class="mr-2"/> |
|
||||
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Available in Odoo 16.0 |
|
||||
Community and Enterprise.</span> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<!-- END OF FEATURES SECTION --> |
|
||||
<!-- SCREENSHOTS SECTION --> |
|
||||
<div class="d-flex align-items-center" |
|
||||
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" |
|
||||
id="screenshots"> |
|
||||
<div class="d-flex justify-content-center align-items-center mr-2" |
|
||||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|
||||
<img src="assets/misc/pictures.png"/> |
|
||||
</div> |
|
||||
<h2 class="mt-2" |
|
||||
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
|
||||
Screenshots |
|
||||
</h2> |
|
||||
</div> |
|
||||
<div class="row"> |
|
||||
<div class="col-sm-12"> |
|
||||
<div style="display: block; margin: 30px auto;"> |
|
||||
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
|
||||
Enable option of Multi Currency per Session from POS |
|
||||
settings and choose |
|
||||
the currencies.Multi Currency Session only enable when the |
|
||||
session is active. </p> |
|
||||
<img src="assets/screenshots/Pos Settings1.png" |
|
||||
class="img-thumbnail"> |
|
||||
</div> |
|
||||
<div style="display: block; margin: 30px auto;"> |
|
||||
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
|
||||
Toggle Multicurrency in payment screen to choose the enabled |
|
||||
currencies.</p> |
|
||||
<img src="assets/screenshots/POS Screen1.png" |
|
||||
class="img-thumbnail"> |
|
||||
</div> |
|
||||
<div style="display: block; margin: 30px auto;"> |
|
||||
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
|
||||
Enter the Payment Amount and click the button to Add Cash |
|
||||
Payment line.</p> |
|
||||
<img src="assets/screenshots/POS Screen2.png" |
|
||||
class="img-thumbnail"> |
|
||||
</div> |
|
||||
<div style="display: block; margin: 30px auto;"> |
|
||||
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
|
||||
Payment lines added via multi currency option shows |
|
||||
corresponding currency and it's amount.</p> |
|
||||
<img src="assets/screenshots/pos screen 3.png" |
|
||||
class="img-thumbnail"> |
|
||||
</div> |
|
||||
<div style="display: block; margin: 30px auto;"> |
|
||||
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
|
||||
Payment Currency Symbol and amount is added to the |
|
||||
receipt.</p> |
|
||||
<img src="assets/screenshots/pos screen4.png" |
|
||||
class="img-thumbnail"> |
|
||||
</div> |
|
||||
<div style="display: block; margin: 30px auto;"> |
|
||||
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
|
||||
Payment Currency symbol and amount is also added to the |
|
||||
corresponding POS order created in the backend.</p> |
|
||||
<img src="assets/screenshots/pos backend1.png" |
|
||||
class="img-thumbnail"> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<!-- END OF SCREENSHOTS SECTION --> |
|
||||
<!-- RELATED PRODUCTS --> |
|
||||
<div class="d-flex align-items-center" |
|
||||
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
|
||||
<div class="d-flex justify-content-center align-items-center mr-2" |
|
||||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|
||||
<img src="assets/misc/categories.png"/> |
|
||||
</div> |
|
||||
<h2 class="mt-2" |
|
||||
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
|
||||
Related |
|
||||
Products |
|
||||
</h2> |
|
||||
</div> |
|
||||
<div class="row"> |
|
||||
<div class="col-sm-12"> |
|
||||
<div id="demo1" class="row carousel slide" data-ride="carousel"> |
|
||||
<!-- The slideshow --> |
|
||||
<div class="carousel-inner" style="padding: 30px;"> |
|
||||
<div class="carousel-item" style="min-height: 198.656px;"> |
|
||||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
|
||||
style="float:left"> |
|
||||
<a href="https://apps.odoo.com/apps/modules/16.0/point_of_sale_logo/" |
|
||||
target="_blank"> |
|
||||
<div style="border-radius:10px"> |
|
||||
<img class="img img-responsive center-block" |
|
||||
style="border-radius: 0px;" |
|
||||
src="assets/modules/1.png"> |
|
||||
</div> |
|
||||
</a> |
|
||||
</div> |
|
||||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
|
||||
style="float:left"> |
|
||||
<a href="https://apps.odoo.com/apps/modules/16.0/custom_receipts_for_pos/" |
|
||||
target="_blank"> |
|
||||
<div style="border-radius:10px"> |
|
||||
<img class="img img-responsive center-block" |
|
||||
style="border-radius: 0px;" |
|
||||
src="assets/modules/2.png"> |
|
||||
</div> |
|
||||
</a> |
|
||||
</div> |
|
||||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
|
||||
style="float:left"> |
|
||||
<a href="https://apps.odoo.com/apps/modules/16.0/pos_report_generator/" |
|
||||
target="_blank"> |
|
||||
<div style="border-radius:10px"> |
|
||||
<img class="img img-responsive center-block" |
|
||||
style="border-radius: 0px;" |
|
||||
src="assets/modules/3.png"> |
|
||||
</div> |
|
||||
</a> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="carousel-item active" |
|
||||
style="min-height: 198.656px;"> |
|
||||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
|
||||
style="float:left"> |
|
||||
<a href="https://apps.odoo.com/apps/modules/16.0/pos_product_creation/" |
|
||||
target="_blank"> |
|
||||
<div style="border-radius:10px"> |
|
||||
<img class="img img-responsive center-block" |
|
||||
style="border-radius: 0px;" |
|
||||
src="assets/modules/4.png"> |
|
||||
</div> |
|
||||
</a> |
|
||||
</div> |
|
||||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
|
||||
style="float:left"> |
|
||||
<a href="https://apps.odoo.com/apps/modules/16.0/multi_barcodes_pos/" |
|
||||
target="_blank"> |
|
||||
<div style="border-radius:10px"> |
|
||||
<img class="img img-responsive center-block" |
|
||||
style="border-radius: 0px;" |
|
||||
src="assets/modules/5.png"> |
|
||||
</div> |
|
||||
</a> |
|
||||
</div> |
|
||||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
|
||||
style="float:left"> |
|
||||
<a href="https://apps.odoo.com/apps/modules/16.0/pos_sync_orders/" |
|
||||
target="_blank"> |
|
||||
<div style="border-radius:10px"> |
|
||||
<img class="img img-responsive center-block" |
|
||||
style="border-radius: 0px;" |
|
||||
src="assets/modules/6.png"> |
|
||||
</div> |
|
||||
</a> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<!-- Left and right controls --> |
|
||||
<a class="carousel-control-prev" href="#demo1" data-slide="prev" |
|
||||
style="width:35px; color:#000"> <span |
|
||||
class="carousel-control-prev-icon"><i |
|
||||
class="fa fa-chevron-left" |
|
||||
style="font-size:24px"></i></span> |
|
||||
</a> <a class="carousel-control-next" href="#demo1" |
|
||||
data-slide="next" style="width:35px; color:#000"> |
|
||||
<span class="carousel-control-next-icon"><i |
|
||||
class="fa fa-chevron-right" |
|
||||
style="font-size:24px"></i></span> |
|
||||
</a> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<!-- END OF RELATED PRODUCTS --> |
|
||||
|
|
||||
<!-- OUR SERVICES --> |
|
||||
<div class="d-flex align-items-center" |
|
||||
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
|
||||
<div class="d-flex justify-content-center align-items-center mr-2" |
|
||||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|
||||
<img src="assets/misc/star.png"/> |
|
||||
</div> |
|
||||
<h2 class="mt-2" |
|
||||
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
|
||||
Our Services |
|
||||
</h2> |
|
||||
</div> |
|
||||
<div class="container my-5"> |
|
||||
<div class="row"> |
|
||||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|
||||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|
||||
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|
||||
<img src="assets/icons/cogs.png" class="img-responsive" |
|
||||
height="48px" width="48px"> |
|
||||
</div> |
|
||||
<h6 class="text-center" |
|
||||
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|
||||
Odoo |
|
||||
Customization</h6> |
|
||||
</div> |
|
||||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|
||||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|
||||
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|
||||
<img src="assets/icons/wrench.png" class="img-responsive" |
|
||||
height="48px" width="48px"> |
|
||||
</div> |
|
||||
<h6 class="text-center" |
|
||||
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|
||||
Odoo |
|
||||
Implementation</h6> |
|
||||
</div> |
|
||||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|
||||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|
||||
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|
||||
<img src="assets/icons/lifebuoy.png" class="img-responsive" |
|
||||
height="48px" width="48px"> |
|
||||
</div> |
|
||||
<h6 class="text-center" |
|
||||
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|
||||
Odoo |
|
||||
Support</h6> |
|
||||
</div> |
|
||||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|
||||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|
||||
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|
||||
<img src="assets/icons/user.png" class="img-responsive" |
|
||||
height="48px" width="48px"> |
|
||||
</div> |
|
||||
<h6 class="text-center" |
|
||||
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|
||||
Hire |
|
||||
Odoo |
|
||||
Developer</h6> |
|
||||
</div> |
|
||||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|
||||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|
||||
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|
||||
<img src="assets/icons/puzzle.png" class="img-responsive" |
|
||||
height="48px" width="48px"> |
|
||||
</div> |
|
||||
<h6 class="text-center" |
|
||||
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|
||||
Odoo |
|
||||
Integration</h6> |
|
||||
</div> |
|
||||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|
||||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|
||||
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|
||||
<img src="assets/icons/update.png" class="img-responsive" |
|
||||
height="48px" width="48px"> |
|
||||
</div> |
|
||||
<h6 class="text-center" |
|
||||
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|
||||
Odoo |
|
||||
Migration</h6> |
|
||||
</div> |
|
||||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|
||||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|
||||
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|
||||
<img src="assets/icons/consultation.png" |
|
||||
class="img-responsive" |
|
||||
height="48px" width="48px"> |
|
||||
</div> |
|
||||
<h6 class="text-center" |
|
||||
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|
||||
Odoo |
|
||||
Consultancy</h6> |
|
||||
</div> |
|
||||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|
||||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|
||||
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|
||||
<img src="assets/icons/training.png" class="img-responsive" |
|
||||
height="48px" width="48px"> |
|
||||
</div> |
|
||||
<h6 class="text-center" |
|
||||
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|
||||
Odoo |
|
||||
Implementation</h6> |
|
||||
</div> |
|
||||
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
|
||||
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
|
||||
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
|
||||
<img src="assets/icons/license.png" class="img-responsive" |
|
||||
height="48px" width="48px"> |
|
||||
</div> |
|
||||
<h6 class="text-center" |
|
||||
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
|
||||
Odoo |
|
||||
Licensing Consultancy</h6> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<!-- END OF OUR SERVICES --> |
|
||||
<!-- OUR INDUSTRIES --> |
|
||||
<div class="d-flex align-items-center" |
|
||||
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
|
||||
<div class="d-flex justify-content-center align-items-center mr-2" |
|
||||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|
||||
<img src="assets/misc/corporate.png"/> |
|
||||
</div> |
|
||||
<h2 class="mt-2" |
|
||||
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
|
||||
Our |
|
||||
Industries |
|
||||
</h2> |
|
||||
</div> |
|
||||
<div class="container my-5"> |
|
||||
<div class="row"> |
|
||||
<div class="col-lg-3"> |
|
||||
<div class="my-4 d-flex flex-column justify-content-center" |
|
||||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|
||||
<img src="assets/icons/trading-black.png" |
|
||||
class="img-responsive mb-3" height="48px" |
|
||||
width="48px"> |
|
||||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|
||||
Trading |
|
||||
</h5> |
|
||||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|
||||
Easily procure |
|
||||
and |
|
||||
sell your products</p> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="col-lg-3"> |
|
||||
<div class="my-4 d-flex flex-column justify-content-center" |
|
||||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|
||||
<img src="assets/icons/pos-black.png" |
|
||||
class="img-responsive mb-3" height="48px" |
|
||||
width="48px"> |
|
||||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|
||||
POS |
|
||||
</h5> |
|
||||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|
||||
Easy |
|
||||
configuration |
|
||||
and convivial experience</p> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="col-lg-3"> |
|
||||
<div class="my-4 d-flex flex-column justify-content-center" |
|
||||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|
||||
<img src="assets/icons/education-black.png" |
|
||||
class="img-responsive mb-3" height="48px" |
|
||||
width="48px"> |
|
||||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|
||||
Education |
|
||||
</h5> |
|
||||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|
||||
A platform for |
|
||||
educational management</p> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="col-lg-3"> |
|
||||
<div class="my-4 d-flex flex-column justify-content-center" |
|
||||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|
||||
<img src="assets/icons/manufacturing-black.png" |
|
||||
class="img-responsive mb-3" height="48px" |
|
||||
width="48px"> |
|
||||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|
||||
Manufacturing |
|
||||
</h5> |
|
||||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|
||||
Plan, track and |
|
||||
schedule your operations</p> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="col-lg-3"> |
|
||||
<div class="my-4 d-flex flex-column justify-content-center" |
|
||||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|
||||
<img src="assets/icons/ecom-black.png" |
|
||||
class="img-responsive mb-3" height="48px" |
|
||||
width="48px"> |
|
||||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|
||||
E-commerce & Website |
|
||||
</h5> |
|
||||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|
||||
Mobile |
|
||||
friendly, |
|
||||
awe-inspiring product pages</p> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="col-lg-3"> |
|
||||
<div class="my-4 d-flex flex-column justify-content-center" |
|
||||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|
||||
<img src="assets/icons/service-black.png" |
|
||||
class="img-responsive mb-3" height="48px" |
|
||||
width="48px"> |
|
||||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|
||||
Service Management |
|
||||
</h5> |
|
||||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|
||||
Keep track of |
|
||||
services and invoice</p> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="col-lg-3"> |
|
||||
<div class="my-4 d-flex flex-column justify-content-center" |
|
||||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|
||||
<img src="assets/icons/restaurant-black.png" |
|
||||
class="img-responsive mb-3" height="48px" |
|
||||
width="48px"> |
|
||||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|
||||
Restaurant |
|
||||
</h5> |
|
||||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|
||||
Run your bar or |
|
||||
restaurant methodically</p> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="col-lg-3"> |
|
||||
<div class="my-4 d-flex flex-column justify-content-center" |
|
||||
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
|
||||
<img src="assets/icons/hotel-black.png" |
|
||||
class="img-responsive mb-3" height="48px" |
|
||||
width="48px"> |
|
||||
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
|
||||
Hotel Management |
|
||||
</h5> |
|
||||
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
|
||||
An |
|
||||
all-inclusive |
|
||||
hotel management application</p> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<!-- END OF OUR INDUSTRIES --> |
|
||||
<!-- SUPPORT --> |
|
||||
<div class="d-flex align-items-center" |
|
||||
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
|
||||
<div class="d-flex justify-content-center align-items-center mr-2" |
|
||||
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
|
||||
<img src="assets/misc/customer-support.png"/> |
|
||||
</div> |
|
||||
<h2 class="mt-2" |
|
||||
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
|
||||
Support |
|
||||
</h2> |
|
||||
</div> |
|
||||
<div class="container mt-5"> |
|
||||
<div class="row"> |
|
||||
<div class="col-sm-12 col-md-6"> |
|
||||
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;"> |
|
||||
<div class="mr-4 d-flex justify-content-center align-items-center" |
|
||||
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;"> |
|
||||
<img src="assets/misc/support.png" height="48" |
|
||||
width="48" |
|
||||
style="width: 42px; height: 42px;"/> |
|
||||
</div> |
|
||||
<div> |
|
||||
<h4>Need Help?</h4> |
|
||||
<p style="line-height: 100%;">Got questions or need |
|
||||
help? |
|
||||
Get in touch.</p> |
|
||||
<a href="mailto:odoo@cybrosys.com"> |
|
||||
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;"> |
|
||||
odoo@cybrosys.com</p> |
|
||||
</a> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="col-sm-12 col-md-6"> |
|
||||
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;"> |
|
||||
<div class="mr-4 d-flex justify-content-center align-items-center" |
|
||||
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;"> |
|
||||
<img src="assets/misc/whatsapp.png" height="52" |
|
||||
width="52" |
|
||||
style="width: 52px; height: 52px;"/> |
|
||||
</div> |
|
||||
<div> |
|
||||
<h4>WhatsApp</h4> |
|
||||
<p style="line-height: 100%;">Say hi to us on |
|
||||
WhatsApp!</p> |
|
||||
<a href="https://api.whatsapp.com/send?phone=918606827707"> |
|
||||
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;"> |
|
||||
+91 86068 |
|
||||
27707</p> |
|
||||
</a> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="row"> |
|
||||
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center"> |
|
||||
<img src="assets/misc/logo.png" width="144" height="31" |
|
||||
style="width:144px; height: 31px; margin-top: 40px;"/> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<!-- END OF SUPPORT --> |
|
||||
</div> |
|
@ -1,80 +0,0 @@ |
|||||
/**This module extends the functionality of Odoo's backend order handling in the context |
|
||||
* of multi-currency transactions. It overrides the standard `_save_to_server` method |
|
||||
* to accommodate multi-currency data and ensure that the converted currency values are |
|
||||
* correctly saved to the server. */ |
|
||||
odoo.define('backend_order.MultiCurrencyValues', function(require) { |
|
||||
"use strict"; |
|
||||
const { PosGlobalState } = require('point_of_sale.models') |
|
||||
const { useListener } = require("@web/core/utils/hooks"); |
|
||||
const Registries = require('point_of_sale.Registries'); |
|
||||
var rpc = require('web.rpc'); |
|
||||
const MultiCurrencyValues = PosGlobalState => class extends PosGlobalState { |
|
||||
setup() { |
|
||||
super.setup(); |
|
||||
} |
|
||||
// OverRiding this function, Since it conflicts with other
|
|
||||
// Function when we Super this Function
|
|
||||
_save_to_server (orders, options) { |
|
||||
if(orders.length > 0){ |
|
||||
for (let i = 0, len = orders[0].data.statement_ids.length; i < len; i++){ |
|
||||
if(this.orders[0].paymentlines[i].converted_currency){ |
|
||||
orders[0].data.statement_ids[i][2].currency_amount = this.orders[0].paymentlines[i].converted_currency.amount |
|
||||
orders[0].data.statement_ids[i][2].payment_currency = this.orders[0].paymentlines[i].converted_currency.name |
|
||||
}else{ |
|
||||
orders[0].data.statement_ids[i][2].currency_amount = "" |
|
||||
orders[0].data.statement_ids[i][2].payment_currency = "" |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
if (!orders || !orders.length) { |
|
||||
return Promise.resolve([]); |
|
||||
} |
|
||||
this.set_synch('connecting', orders.length); |
|
||||
options = options || {}; |
|
||||
var self = this; |
|
||||
var timeout = typeof options.timeout === 'number' ? options.timeout : 30000 * orders.length; |
|
||||
// Keep the order ids that are about to be sent to the
|
|
||||
// backend. In between create_from_ui and the success callback
|
|
||||
// new orders may have been added to it.
|
|
||||
var order_ids_to_sync = _.pluck(orders, 'id'); |
|
||||
// We try to send the order. shadow prevents a spinner if it takes too long. (unless we are sending an invoice,
|
|
||||
// then we want to notify the user that we are waiting on something )
|
|
||||
var args = [_.map(orders, function (order) { |
|
||||
order.to_invoice = options.to_invoice || false; |
|
||||
return order; |
|
||||
})]; |
|
||||
args.push(options.draft || false); |
|
||||
return this.env.services.rpc({ |
|
||||
model: 'pos.order', |
|
||||
method: 'create_from_ui', |
|
||||
args: args, |
|
||||
kwargs: {context: this.env.session.user_context}, |
|
||||
}, { |
|
||||
timeout: timeout, |
|
||||
shadow: !options.to_invoice |
|
||||
}) |
|
||||
.then(function (server_ids) { |
|
||||
_.each(order_ids_to_sync, function (order_id) { |
|
||||
self.db.remove_order(order_id); |
|
||||
}); |
|
||||
self.failed = false; |
|
||||
self.set_synch('connected'); |
|
||||
return server_ids; |
|
||||
}).catch(function (error){ |
|
||||
console.warn('Failed to send orders:', orders); |
|
||||
if(error.code === 200 ){ // Business Logic Error, not a connection problem
|
|
||||
// Hide error if already shown before ...
|
|
||||
if ((!self.failed || options.show_error) && !options.to_invoice) { |
|
||||
self.failed = error; |
|
||||
self.set_synch('error'); |
|
||||
throw error; |
|
||||
} |
|
||||
} |
|
||||
self.set_synch('disconnected'); |
|
||||
throw error; |
|
||||
}); |
|
||||
} |
|
||||
} |
|
||||
Registries.Model.extend(PosGlobalState, MultiCurrencyValues); |
|
||||
return MultiCurrencyValues; |
|
||||
}); |
|
@ -1,11 +0,0 @@ |
|||||
/** @odoo-module */ |
|
||||
/** Loading all currencies and its parameters.*/ |
|
||||
import Registries from 'point_of_sale.Registries'; |
|
||||
import { PosGlobalState } from "point_of_sale.models"; |
|
||||
const NewPosGlobalState = (PosGlobalState) => class NewPosGlobalState extends PosGlobalState { |
|
||||
async _processData(loadedData) { |
|
||||
await super._processData(...arguments); |
|
||||
this.your_model = loadedData['res.currency']; |
|
||||
} |
|
||||
} |
|
||||
Registries.Model.extend(PosGlobalState, NewPosGlobalState); |
|
@ -1,122 +0,0 @@ |
|||||
/**It allows users to accept payments in multiple currencies, view |
|
||||
* currency conversion rates, and add payment lines in the selected currency. */ |
|
||||
odoo.define('POS_multi_currency.MultiCurrency', function(require) { |
|
||||
"use strict"; |
|
||||
const PaymentScreen = require('point_of_sale.PaymentScreen'); |
|
||||
const { useListener } = require("@web/core/utils/hooks"); |
|
||||
const Registries = require('point_of_sale.Registries'); |
|
||||
var { Payment } = require('point_of_sale.models') |
|
||||
var rpc = require('web.rpc'); |
|
||||
var current_currency,currency_id; |
|
||||
const {onMounted, useState , mount } = owl; |
|
||||
const PaymentScreenMultiCurrency = PaymentScreen => class extends PaymentScreen { |
|
||||
setup() { |
|
||||
super.setup(); |
|
||||
useListener('multi-payment-line', this.multi_currency_payment_line); |
|
||||
var currency = [] |
|
||||
onMounted(this.enable_multi_currency) |
|
||||
//Adding loaded currencies in currency list
|
|
||||
currency.push(this.env.pos.currency.currency_params) |
|
||||
this.multi_currency = useState({ |
|
||||
'currencies': currency |
|
||||
}); |
|
||||
} |
|
||||
enable_multi_currency(){ |
|
||||
if(this.env.pos.config.enable_multicurrency == false){ |
|
||||
$('.pos_multicurrency').css('display','none') |
|
||||
} |
|
||||
} |
|
||||
//Showing currencies in settings
|
|
||||
show_options(){ |
|
||||
if($('.multicurrency_container')[0].style.display == 'none'){ |
|
||||
$('.multicurrency_container').css({'display':'flex','flex-direction':'column','align-items': 'center'}) |
|
||||
for (let i = 0, len = this.multi_currency.currencies[0].length; i < len; i++){ |
|
||||
$('.currecy_list').append("<option id="+this.multi_currency.currencies[0][i].id+">"+this.multi_currency.currencies[0][i].display_name+"</option") |
|
||||
} |
|
||||
}else{ |
|
||||
$('.currecy_list').empty() |
|
||||
$('.multicurrency_container').css('display','none') |
|
||||
} |
|
||||
} |
|
||||
//Converting the currencies.
|
|
||||
compute_currency(ev){ |
|
||||
currency_id = $('.currecy_list').find('option:selected')[0].id |
|
||||
if(currency_id){ |
|
||||
$('.conversion_container').css({'display':'block','text-align': 'center'}) |
|
||||
$('.multicurrency_input').css({'border':'1px solid black'}) |
|
||||
current_currency = this.multi_currency.currencies[0].find(item => item.id === parseInt(currency_id)); |
|
||||
var initial_total |
|
||||
if ($('.total').length > 0 ){ |
|
||||
initial_total = $('.total')[0].innerText |
|
||||
|
|
||||
}else{ |
|
||||
initial_total = $('.payment-status-remaining')[0].children[1].innerText |
|
||||
} |
|
||||
var total_array = initial_total.split(" "); |
|
||||
var total_value = parseFloat(total_array[1]) |
|
||||
$('.rate_string')[0].innerText = current_currency.rate_string |
|
||||
//Total in converted curency
|
|
||||
var display_total = current_currency.rate * total_value |
|
||||
if(display_total == 0){ |
|
||||
$('.conversion_container').css({'display':'none'}) |
|
||||
}else{ |
|
||||
$('.total_amount')[0].innerText = display_total |
|
||||
} |
|
||||
}else{ |
|
||||
$('.conversion_container').css({'display':'none'}) |
|
||||
} |
|
||||
} |
|
||||
//Adding entered currency amount in payment line.
|
|
||||
async multi_currency_payment_line(ev){ |
|
||||
var amount_val = parseFloat($('.multicurrency_input').val()) |
|
||||
var total_val |
|
||||
var remaining_val |
|
||||
if($('.total').length){ |
|
||||
total_val = $('.total')[0].innerText |
|
||||
total_val = total_val.split(" ") |
|
||||
total_val = parseFloat(total_val[1]) |
|
||||
} |
|
||||
if($('.payment-status-remaining').length){ |
|
||||
remaining_val = $('.payment-status-remaining')[0].children[1].innerText |
|
||||
remaining_val = remaining_val.split(" ") |
|
||||
remaining_val = parseFloat(remaining_val[1]) |
|
||||
} |
|
||||
if( total_val > 0 || remaining_val > 0){ |
|
||||
if(amount_val){ |
|
||||
this.addNewPaymentLine(ev) |
|
||||
var update_amount = amount_val / current_currency.rate //entered amount in converted currency
|
|
||||
await this.selectedPaymentLine.set_amount(update_amount); |
|
||||
this.selectedPaymentLine.converted_currency = { |
|
||||
'name': current_currency.display_name, |
|
||||
'symbol': current_currency.symbol, |
|
||||
'amount': amount_val |
|
||||
} |
|
||||
$('.multicurrency_input').val('') |
|
||||
$('.conversion_container').css({'display':'none'}) |
|
||||
$('.currecy_list')[0].selectedIndex = 0 |
|
||||
} |
|
||||
else{ |
|
||||
$('.multicurrency_input').css({'border':'1.5px solid red'}) |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
//For deleting payment line.
|
|
||||
deletePaymentLine(event) { |
|
||||
super.deletePaymentLine(...arguments); |
|
||||
$('.currecy_list')[0].selectedIndex = 0 |
|
||||
$('.conversion_container').css({'display':'none'}) |
|
||||
} |
|
||||
//Function for updating the payment line dynamically
|
|
||||
_updateSelectedPaymentline(){ |
|
||||
super._updateSelectedPaymentline(...arguments); |
|
||||
var change_amount=this.selectedPaymentLine.amount*current_currency.rate |
|
||||
this.selectedPaymentLine.converted_currency = { |
|
||||
'name': current_currency.display_name, |
|
||||
'symbol': current_currency.symbol, |
|
||||
'amount': change_amount |
|
||||
} |
|
||||
} |
|
||||
}; |
|
||||
Registries.Component.extend(PaymentScreen, PaymentScreenMultiCurrency); |
|
||||
return PaymentScreen; |
|
||||
}); |
|
@ -1,99 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<templates id="template" xml:space="preserve"> |
|
||||
<!--The 'POS_multi_currency.PosMultiCurrency' class extends the `point_of_sale.PaymentScreen` class and adds--> |
|
||||
<!--multicurrency features to the Point of Sale interface.--> |
|
||||
<t t-name="POS_multi_currency.PaymentScreen" |
|
||||
t-inherit="point_of_sale.PaymentScreen" t-inherit-mode="extension" |
|
||||
owl="1"> |
|
||||
<xpath expr="//div[hasclass('top-content-center')]" position="before"> |
|
||||
<div class="pos_multicurrency" |
|
||||
style="display: flex;justify-content: center;align-items: center;padding-left: 1%;" |
|
||||
id="pos_multicurrency"> |
|
||||
<h3>Multicurrency</h3> |
|
||||
<input type="checkbox" id="multi_currency_check" |
|
||||
name="multi_currency_check" t-on-click="show_options"/> |
|
||||
</div> |
|
||||
</xpath> |
|
||||
<xpath expr="//div[hasclass('payment-buttons')]" position="after"> |
|
||||
<div class="multicurrency_container" id="multicurrency_container" |
|
||||
style="display:none;"> |
|
||||
<div> |
|
||||
<h3>Select Currency</h3> |
|
||||
<select class="currecy_list" |
|
||||
style="width: 100%;background: #a8a8a8;border: none;border-radius: 2px;" |
|
||||
t-on-change="compute_currency"> |
|
||||
<option>Choose</option> |
|
||||
</select> |
|
||||
</div> |
|
||||
<div class="conversion_container" style="display:none;"> |
|
||||
<div> |
|
||||
<h3>Currency Conversion</h3> |
|
||||
</div> |
|
||||
<div> |
|
||||
<div class="rate_string"></div> |
|
||||
<div>Total Amount = <span class="total_amount"></span></div> |
|
||||
</div> |
|
||||
<br/> |
|
||||
<div> |
|
||||
<div>Payment Amount In</div> |
|
||||
<input type="number" id="multicurrency_input" |
|
||||
class="multicurrency_input"/> |
|
||||
</div> |
|
||||
<br/> |
|
||||
<div class="button addpayment" |
|
||||
style="display:flex;align-items:center;justify-content:center;" |
|
||||
t-on-click="() => this.trigger('multi-payment-line', payment_methods_from_config[0])"> |
|
||||
<div style="border:2px solid black;padding:5px;width: 54%;"> |
|
||||
Add Cash Payment |
|
||||
|
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</xpath> |
|
||||
</t> |
|
||||
<!-- This XML code represents an extension of a PaymentLine component in a Point of Sale system.--> |
|
||||
<!--It adds a display for the converted currency amount and symbol after the payment name.--> |
|
||||
<t t-name="POS_multi_currency.PaymentScreenPaymentLines" |
|
||||
t-inherit="point_of_sale.PaymentScreenPaymentLines" |
|
||||
t-inherit-mode="extension" owl="1"> |
|
||||
<xpath expr="//t[@t-if='line.selected']//div[hasclass('payment-name')]" |
|
||||
position="after"> |
|
||||
<div class="payment-currency" |
|
||||
style="margin-left: 10px;margin-right: 10px;padding: 1rem;"> |
|
||||
<t t-if="line.converted_currency"> |
|
||||
(<t t-esc="line.converted_currency.amount"/> |
|
||||
<t t-esc="line.converted_currency.symbol"/>) |
|
||||
</t> |
|
||||
</div> |
|
||||
</xpath> |
|
||||
<xpath expr="//t[@t-else='']//div[hasclass('payment-name')]" |
|
||||
position="after"> |
|
||||
<div class="payment-currency" |
|
||||
style="margin-left: 10px;margin-right: 10px;padding: 1rem;"> |
|
||||
<t t-if="line.converted_currency"> |
|
||||
(<t t-esc="line.converted_currency.amount"/> |
|
||||
<t t-esc="line.converted_currency.symbol"/>) |
|
||||
</t> |
|
||||
</div> |
|
||||
</xpath> |
|
||||
</t> |
|
||||
<!-- This XML code represents an extension of a PaymentLine component in a Point of Sale system.--> |
|
||||
<!--It adds a display for the converted currency amount and symbol after the payment name.--> |
|
||||
<t t-name="POS_multi_currency.OrderReceipt" |
|
||||
t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension" |
|
||||
owl="1"> |
|
||||
<xpath expr="//t[@t-foreach='receipt.paymentlines']" position="before"> |
|
||||
<t t-set="count" t-value="0"/> |
|
||||
</xpath> |
|
||||
<xpath expr="//t[@t-esc='line.name']" position="after"> |
|
||||
|
|
||||
<t t-if="paymentlines[count].converted_currency"> |
|
||||
<span style="margin-left: 30%;">(<t |
|
||||
t-esc="paymentlines[count].converted_currency.symbol"/> |
|
||||
<t t-esc="paymentlines[count].converted_currency.amount"/>)</span> |
|
||||
</t> |
|
||||
<t t-set="count" t-value="count+1"/> |
|
||||
</xpath> |
|
||||
</t> |
|
||||
</templates> |
|
@ -1,56 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<odoo> |
|
||||
<!-- XML record definition for extending the 'res config settings' form view--> |
|
||||
<!--to include Multi Currency settings in the Point of Sale configuration.--> |
|
||||
<record id="res_config_settings_view_form" model="ir.ui.view"> |
|
||||
<field name="name"> |
|
||||
res.config.settings.view.form.inherit.pos.multi.currency.payment |
|
||||
</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="//div[@id='pos_interface_section']" position="after"> |
|
||||
<h2>Multi Currency</h2> |
|
||||
<div class="row mt16 o_settings_container" |
|
||||
id="pos_multi_currency_section"> |
|
||||
<div class="col-12 col-lg-6 o_setting_box" |
|
||||
title="Employees can select the multi currencies."> |
|
||||
<div class="o_setting_left_pane"> |
|
||||
<field name="enable_currency" |
|
||||
attrs="{'readonly': [('pos_has_active_session','=', False)]}"/> |
|
||||
</div> |
|
||||
<div class="o_setting_right_pane"> |
|
||||
<span class="o_form_label">Multi Currency per |
|
||||
Session |
|
||||
</span> |
|
||||
<div class="text-muted"> |
|
||||
Allow to do payments in multiple currencies |
|
||||
</div> |
|
||||
<div class="content-group mt16"> |
|
||||
<group nolabel="1"> |
|
||||
<field colspan="8" name="currency_ids" |
|
||||
attrs="{'invisible': [('enable_currency','=', False)]}" nolabel="1"/> |
|
||||
</group> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</xpath> |
|
||||
</field> |
|
||||
</record> |
|
||||
<!-- Added currency amount and symbol in pos order.--> |
|
||||
<record id="view_pos_pos_form" model="ir.ui.view"> |
|
||||
<field name="name"> |
|
||||
pos.order.view.form.inherit.pos.multi.currency.payment |
|
||||
</field> |
|
||||
<field name="model">pos.order</field> |
|
||||
<field name="inherit_id" ref="point_of_sale.view_pos_pos_form"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<xpath expr="//field[@name='amount']" position="after"> |
|
||||
<field name="currency_amount"/> |
|
||||
<field name="payment_currency"/> |
|
||||
</xpath> |
|
||||
</field> |
|
||||
</record> |
|
||||
</odoo> |
|