@ -0,0 +1,49 @@ |
|||
.. image:: https://img.shields.io/badge/licence-AGPL--1-blue.svg |
|||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html |
|||
:alt: License: AGPL-3 |
|||
|
|||
Product Return In POS |
|||
===================== |
|||
POS Order Return. |
|||
|
|||
Configuration |
|||
============= |
|||
* No additional configurations needed |
|||
|
|||
Company |
|||
------- |
|||
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
|||
|
|||
Credits |
|||
------- |
|||
* Developers: Anusha P P@cybrosys |
|||
Version 13: Nimisha Murali@cybrosys |
|||
Version 14: Jibin James@cybrosys |
|||
|
|||
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) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Anusha P P (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,43 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2020-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Anusha P P (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': 'Product Return In POS', |
|||
'version': '14.0.1.0.0', |
|||
'category': 'Point of Sale', |
|||
'summary': 'POS Order Return', |
|||
'author': 'Cybrosys Techno Solutions', |
|||
'company': 'Cybrosys Techno Solutions', |
|||
'maintainer': 'Cybrosys Techno Solutions', |
|||
'images': ['static/description/banner.png'], |
|||
'website': 'https://www.cybrosys.com', |
|||
'depends': ['point_of_sale'], |
|||
'data': [ |
|||
'views/return.xml', |
|||
'views/pos_template.xml', |
|||
], |
|||
'qweb': ['static/src/xml/pos_return.xml'], |
|||
'license': 'AGPL-3', |
|||
'installable': True, |
|||
'auto_install': False, |
|||
'application': False, |
|||
|
|||
} |
@ -0,0 +1,8 @@ |
|||
## Module <product_return_pos> |
|||
|
|||
#### 20.11.2020 |
|||
#### Version 14.0.1.0.0 |
|||
##### ADD |
|||
- Initial Commit. |
|||
|
|||
|
@ -0,0 +1,23 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Anusha P P (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_return |
@ -0,0 +1,88 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
|||
# Author: Anusha P P (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, api, fields |
|||
|
|||
|
|||
class PosOrderReturn(models.Model): |
|||
_inherit = 'pos.order' |
|||
|
|||
return_ref = fields.Char(string='Return Ref', readonly=True, copy=False) |
|||
return_status = fields.Selection([ |
|||
('nothing_return', 'Nothing Returned'), |
|||
('partialy_return', 'Partialy Returned'), |
|||
('fully_return', 'Fully Returned') |
|||
], string="Return Status", default='nothing_return', |
|||
readonly=True, copy=False, help="Return status of Order") |
|||
|
|||
@api.model |
|||
def get_lines(self, ref): |
|||
result = [] |
|||
order_id = self.search([('pos_reference', '=', ref)], limit=1) |
|||
if order_id: |
|||
lines = self.env['pos.order.line'].search([('order_id', '=', order_id.id)]) |
|||
for line in lines: |
|||
if line.qty - line.returned_qty > 0: |
|||
new_vals = { |
|||
'product_id': line.product_id.id, |
|||
'product': line.product_id.name, |
|||
'qty': line.qty - line.returned_qty, |
|||
'price_unit': line.price_unit, |
|||
'discount': line.discount, |
|||
'line_id': line.id, |
|||
} |
|||
result.append(new_vals) |
|||
|
|||
return [result] |
|||
|
|||
def _order_fields(self, ui_order): |
|||
order = super(PosOrderReturn, self)._order_fields(ui_order) |
|||
if 'return_ref' in ui_order.keys() and ui_order['return_ref']: |
|||
order['return_ref'] = ui_order['return_ref'] |
|||
parent_order = self.search([('pos_reference', '=', ui_order['return_ref'])], limit=1) |
|||
|
|||
updated_lines = ui_order['lines'] |
|||
ret = 0 |
|||
qty = 0 |
|||
for uptd in updated_lines: |
|||
line = self.env['pos.order.line'].search([('order_id', '=', parent_order.id), |
|||
('id', '=', uptd[2]['line_id'])], limit=1) |
|||
if line: |
|||
line.returned_qty += -(uptd[2]['qty']) |
|||
for line in parent_order.lines: |
|||
qty += line.qty |
|||
ret += line.returned_qty |
|||
if qty-ret == 0: |
|||
if parent_order: |
|||
parent_order.return_status = 'fully_return' |
|||
print(parent_order.return_status) |
|||
elif ret: |
|||
if qty > ret: |
|||
if parent_order: |
|||
parent_order.return_status = 'partialy_return' |
|||
|
|||
return order |
|||
|
|||
|
|||
class PosOrderLineReturn(models.Model): |
|||
_inherit = 'pos.order.line' |
|||
|
|||
returned_qty = fields.Integer(string='Returned Qty', digits=0, readonly=True) |
After Width: | Height: | Size: 91 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 91 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 67 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 182 KiB |
After Width: | Height: | Size: 69 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 153 KiB |
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 70 KiB |
@ -0,0 +1,313 @@ |
|||
<div class="row" style="margin: 0;position: relative;color: #000;background-position: center;background: #ffffff;border-bottom: 1px solid #e4e4e4;text-align: center; margin: auto; display: flex;justify-content: center;"> <a href="https://www.cybrosys.com/" target="_blank"><img src="images/cybrosys.png" style=" width: 293px; padding: 1rem 0rem; margin: auto" alt="cybrosys-logo"></a> </div> |
|||
<div class="row" style="margin:75px 0;position: relative;color: #000;background-position: center;background: #ffffff;border-bottom: 1px solid #e4e4e4; padding-bottom: 30px;"> |
|||
<div class="col-md-7 col-sm-12 col-xs-12" style="padding: 0px"> |
|||
<div style=" margin: 0 0 0px;padding: 20px 0 10;font-size: 23px;line-height: 35px;font-weight: 400;color: #000;border-top: 1px solid rgba(255,255,255,0.1);border-bottom: 1px solid rgba(255,255,255,0.11);text-align: left;"> |
|||
<h1 style="font-size: 39px;font-weight: 600;margin: 0px !important;"> Product Return In POS </h1> |
|||
<h3 style="font-size: 21px;margin-top: 8px;position: relative;"> Manages Product Return From POS Frontend </h3> |
|||
</div> |
|||
<h2 style="font-weight: 600;font-size: 1.8rem;margin-top: 15px;">Key Highlights</h2> |
|||
<ul style=" padding: 0 1px; list-style: none; "> |
|||
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Manage Product Return through POS interface. </li> |
|||
|
|||
<li style="display: flex;align-items: center;padding: 8px 0;font-size: 18px;"><i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i>Track Return Reference and Status </li> |
|||
</ul> |
|||
</div> |
|||
|
|||
|
|||
|
|||
<div class="col-md-5 col-sm-12 col-xs-12"> <img src="images/order.png" class="img-responsive" alt=""> </div> |
|||
|
|||
|
|||
</div> |
|||
<div> |
|||
<section class="oe_container" style="padding: 1rem 0rem 1rem; background-color: #ffffff !important;"> |
|||
<div class="row py-4 px-3"> |
|||
<div class="w-100" style="padding-top:30px;padding-bottom:45px;border-radius: 10px;"> |
|||
<ul role="tablist" class="nav nav-pills justify-content-center" data-tabs="tabs" id="pills-tab" style="border: none;background: unset;"> |
|||
<li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #d31c22;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" aria-controls="pills-home" aria-selected="true" class="nav-link active show" style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400;text-align: center; |
|||
color: #fff;">Overview </a> </li> |
|||
<li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #d31c22;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a id="pills-home-tab" data-toggle="pill" href="#pills-home1" role="tab" aria-controls="pills-home" aria-selected="true" class="nav-link " style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400; text-align: center; |
|||
color: #fff;" >Features </a> </li> |
|||
<li class="nav-item mr-1 mb-3" style="font-size: 1.05rem;font-weight: 400;transition: all .15s ease;color: #ffffff;background-color: #d31c22;box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);border: 0;font-family: 'Open Sans',sans-serif;width: 140px;border-radius: 0.30rem;"> <a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-profile" role="tab" aria-controls="pills-profile" aria-selected="false" style="color: #000000;line-height: 33px;border: 0;border-radius: .25rem;font-weight: 400; text-align: center; |
|||
color: #fff;">Screenshots </a> </li> |
|||
|
|||
</ul> |
|||
<div class="tab-content" id="pills-tabContent" |
|||
style="padding-top: 30px; padding-bottom: 30px; padding: 30px;"> |
|||
<div class="px-3 pt-1 tab-pane fade active show" id="pills-home" role="tabpanel" aria-labelledby=" |
|||
pills-home-tab"> |
|||
<!-- Overview--> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Overview</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<h3 class="oe_slogan" style="text-align: center;font-size: 19px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;opacity: 1 !important;line-height: 31px;font-weight: 400;letter-spacing: .5px;margin-bottom: 21px;"> |
|||
This app will help you to return the products from the POS user interface.</h3> |
|||
</div> |
|||
<div class="px-3 pt-1 tab-pane fade " id="pills-home1" role="tabpanel" aria-labelledby=" |
|||
pills-home-tab"> |
|||
<!-- feature tab--> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Features</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<ul> |
|||
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> |
|||
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Manage Product Return through POS interface. |
|||
</p> |
|||
<p class="mb8" style="font-family: Roboto;color: #000;list-style-type: square;font-size: 19px;line-height: 50px; background-color: #3a34380d;padding-left: 20px;border-radius: 7px;list-style: none;"> |
|||
<i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Track Return Reference and Status. |
|||
</p> |
|||
</ul> |
|||
</div> |
|||
<!-- Screenshot tab--> |
|||
<div class="px-3 tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab" > |
|||
<div class="tab-pane"> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Screenshots</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<div> |
|||
<section class="oe_container"> |
|||
<div id="demo" class="row carousel slide mb32" data-ride="carousel"> |
|||
<div class="carousel-inner"> |
|||
<div class="carousel-item active" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;"> |
|||
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Create a normal order. </h3> |
|||
|
|||
|
|||
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/normal order.png"> </div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;"> |
|||
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Click on Return button In order to return products. </h3> |
|||
|
|||
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/return click.png"> </div> |
|||
</div> |
|||
</div> |
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;"> |
|||
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Select the order and click on Return. </h3> |
|||
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/order log to return.png"> </div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;"> |
|||
<h3 class="alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px;"> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> Return some of the products. </h3> |
|||
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/return order.png"> </div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16" style="float: left;"> |
|||
<h3 class="mb32 alert" style="font-weight:400;color: #091E42;background: #fff;text-align: left;border-radius: 0; font-size: 18px; "> <i class="fa fa-check-circle-o" style="width:40px; color:#07B700"></i> We get the return reference and status of the return from backend also. </h3> |
|||
<div style=""> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/return status.png"> </div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<a class="carousel-control-prev" href="#demo" data-slide="prev" style="left:-25px;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="#demo" data-slide="next" style="right:-25px;width: 35px;color: #000;"> <span class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span> </a> |
|||
</div> |
|||
</section> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<!-- faq tab--> |
|||
<div class="px-2 px-lg-4 pt-3 tab-pane fade" id="pills-contact" role="tabpanel" aria-labelledby="pills-contact-tab"> |
|||
<ul class="list-unstyled"> |
|||
</ul> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
<section class="oe_container" style="padding: 2rem 3rem 1rem;"> |
|||
<h2 style="font-weight: 600;text-align: center;margin-bottom: 25px;width: 100%;">Suggested Products</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<div id="demo1" class="row carousel slide" data-ride="carousel"> |
|||
<!-- The slideshow --> |
|||
<div class="carousel-inner"> |
|||
<div class="carousel-item active" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"> |
|||
<a href="https://apps.odoo.com/apps/modules/12.0/project_report_pdf/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/banner_project_report_xls_pdf.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/10.0/project_status_level_report/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/banner_project_status_report.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/10.0/project_lifeline/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/banner_lifeline_for_task.jpeg"> </div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="carousel-item" style="min-height: 0px;"> |
|||
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left;"> |
|||
<a href="https://apps.odoo.com/apps/modules/10.0/project_subtask/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/banner_subtask.jpeg"> </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/12.0/task_deadline_reminder/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/banner_task_deadline_reminder.jpeg"> </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/10.0/project_time_spend/" target="_blank"> |
|||
<div style="box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);border-radius: 10px;"> <img class="img img-responsive center-block" style="border-top-left-radius: 10px;border-top-right-radius: 10px;" src="images/banner_task_statusbar.jpeg"> </div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- Left and right controls --> |
|||
<a class="carousel-control-prev" href="#demo1" data-slide="prev" style="left:-25px;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="right:-25px;width: 35px;color: #000;"> <span class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span> </a> |
|||
</div> |
|||
</section> |
|||
<section class="row" style="padding: 2rem 3rem 1rem;margin:0px"> |
|||
<h2 style="font-weight: 600;margin-bottom: 20px;text-align: center;width: 100%;">Our Service</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<div class="row" style=" display: flex; justify-content: center; flex-wrap: wrap;width: 100%; "> |
|||
<!-- <div style="display:flex;padding-top: 20px;justify-content: space-between;"> --> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-customization-and-installation/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-customization.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-customization-and-installation/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Customization </a> </h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-erp-implementation/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-erp-implementation.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-erp-implementation/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Implementation </a> </h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-erp-integration/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-erp-integration.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-erp-integration/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Integration </a> </h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/odoo-erp-support/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-erp-support.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/odoo-erp-support/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Odoo Support</a> </h3> |
|||
</div> |
|||
<div class="col-md-2 col-sm-6 col-xs-12"> |
|||
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"> <a href="https://www.cybrosys.com/hire-odoo-developer/" target="_blank"> <img src="https://www.cybrosys.com/images/hire-odoo-developer.png" style="width: 100%;border-radius: 100%;"/> </a> </div> |
|||
<h3 class="oe_slogan" style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;"> <a href="https://www.cybrosys.com/hire-odoo-developer/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Hire Odoo Developers</a> </h3> |
|||
</a> |
|||
</div> |
|||
<!-- </div> --> |
|||
</div> |
|||
</section> |
|||
<section class="row" style="padding: 2rem 3rem 1rem;margin:0px"> |
|||
<div class="row" style="margin: 0"> |
|||
<h2 style="font-weight: 600;margin-bottom: 20px;text-align: center;width: 100%;">Our Industries</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<!-- <div style="display:flex;justify-content: space-between;flex-wrap:wrap;"> --> |
|||
<div class="row" style="width: 100%"> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-1.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> Trading </a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> Easily procure and sell your products. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-2.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;" style=" margin-bottom: 10px; "> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> Manufacturing</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> Plan, track and schedule your operations. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-3.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> Restaurant</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> Run your bar or restaurant methodical. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-4.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank" style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;"> POS</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;"> Easy configuring and convivial selling. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-5.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 0px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> E-commerce & Website</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> Mobile friendly, awe-inspiring product pages. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-6.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Hotel Management</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> An all-inclusive hotel management application. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-7.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Education</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> A Collaborative platform for educational management. </h3> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; "> |
|||
<div > |
|||
<div style="width:75px;height:75px;background:#CE2D48; border-radius:100%;float: left;text-align: left;"> <a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank"> <img src="https://www.cybrosys.com/images/odoo-index-industry-8.png" alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/> </a> </div> |
|||
</div> |
|||
<div style="width:70%;float:left;"> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;"> <a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank" style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;"> Service Management</a> </h3> |
|||
<h3 class="oe_slogan" style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;"> Keep track of services and invoice accordingly. </h3> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
<section class="oe_container" style="padding: 0% 0% 6% 0%;"> |
|||
<center> |
|||
<div class="col-md-12" style="margin: auto !important; |
|||
width: 70%; |
|||
padding: 30px;"> |
|||
<h2 style="font-weight: 600;text-align: center;width: 100%;">Need Any Help?</h2> |
|||
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #d21c22;width: 5%;"> |
|||
<h4 style="font-size:16px;"> If you have anything to share with us based on your use of this module, please let us know. We are ready to offer our support. </h4> |
|||
<div class="col-md-6" style="float:left; padding:20px;"> |
|||
<h4><i class="fa fa-envelope"></i>Email us </h4> |
|||
<p>odoo@cybrosys.com / info@cybrosys.com</p> |
|||
</div> |
|||
<div class="col-md-6" style="float:left; padding:20px;"> |
|||
<h4><i class="fa fa-phone"></i> Contact Us </h4> |
|||
<a href="https://www.cybrosys.com/contact/" target="_blank"> www.cybrosys.com</a> |
|||
</div> |
|||
</div> |
|||
</center> |
|||
</section> |
|||
<section class="oe_container" style="padding: 0% 0% 6% 0%;"> |
|||
<div class="oe_slogan" style="margin-bottom: 0px;"> |
|||
<div style=" display: flex; justify-content: center; flex-wrap: wrap; "> |
|||
</div> |
|||
<br> |
|||
<img src="https://www.cybrosys.com/images/logo.png" style="width: 190px; margin-bottom: 25px;margin-top: 30px;" class="center-block"> |
|||
<div style=" display: flex; justify-content: center; flex-wrap: wrap; "> <a href="https://twitter.com/cybrosys" target="_blank"><i class="fa fa-2x fa-twitter" style="color:white;background: #00a0d1;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
<a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i class="fa fa-2x fa-linkedin" style="color:white;background: #31a3d6;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
<a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" style="color:white;background: #3b5998;width:35px; height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
<a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" style="color:white;background: #ac0f18;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a> |
|||
</td> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
</div> |
@ -0,0 +1,56 @@ |
|||
.ticket-screen .return-button { |
|||
color: #f0f0f0; |
|||
display: inline-block; |
|||
box-sizing: border-box; |
|||
-moz-box-sizing: border-box; |
|||
/* height: 20px; */ |
|||
padding: 4px 8px; |
|||
margin: 3px; |
|||
margin-bottom: 0px; |
|||
margin-right: 2px; |
|||
padding-top: 0px; |
|||
background: #8b8b8b; |
|||
border-top-left-radius: 3px; |
|||
border-top-right-radius: 3px; |
|||
vertical-align: top; |
|||
line-height: 20px; |
|||
text-align: center; |
|||
box-shadow: 0px -5px 10px -6px rgb(82,82,82) inset; |
|||
cursor: pointer; |
|||
min-width: 45px; |
|||
} |
|||
.ticket-screen .order-list tr.highlight{ |
|||
transition: all 150ms linear; |
|||
background: rgb(110,200,155) !important; |
|||
color: white; |
|||
} |
|||
.ticket-screen .order-list td tr.lowlight{ |
|||
transition: all 150ms linear; |
|||
background: rgb(216, 238, 227); |
|||
} |
|||
.ticket-screen .order-list tr.lowlight:nth-child(even){ |
|||
transition: all 150ms linear; |
|||
background: rgb(227, 246, 237); |
|||
} |
|||
|
|||
.return-screen .searchbox{ |
|||
right: auto; |
|||
margin-left: 50px; |
|||
margin-top:8px; |
|||
left: 25%; |
|||
} |
|||
.ticket-screen .refreshbutton{ |
|||
right: 10px; |
|||
margin-right: 5px; |
|||
margin-top:8px; |
|||
left: auto; |
|||
} |
|||
.reprint_order_screen .searchbox input{ |
|||
width: 120px; |
|||
} |
|||
|
|||
.ticket-screen .order-list{ |
|||
font-size: 15px; |
|||
width: 100%; |
|||
line-height: 40px; |
|||
} |
@ -0,0 +1,178 @@ |
|||
odoo.define('product_return_pos.models',function(require) { |
|||
"use strict"; |
|||
|
|||
|
|||
|
|||
var models = require('point_of_sale.models'); |
|||
var gui = require('point_of_sale.Gui'); |
|||
var core = require('web.core'); |
|||
var QWeb = core.qweb; |
|||
var rpc = require('web.rpc'); |
|||
var _t = require('web.core')._t; |
|||
var session = require('web.session'); |
|||
|
|||
|
|||
|
|||
models.load_models({ |
|||
model: 'pos.order', |
|||
fields: ['name', 'partner_id','date_order','amount_total', 'amount_tax', |
|||
'pos_reference','lines','state','session_id','company_id','return_ref','return_status'], |
|||
loaded: function(self, orders){ |
|||
|
|||
self.orders = orders; |
|||
} |
|||
}, |
|||
{ |
|||
model: 'pos.order.line', |
|||
fields: ['product_id','qty','price_unit','price_subtotal_incl','order_id','discount','returned_qty'], |
|||
loaded: function(self,order_lines){ |
|||
|
|||
self.order_line = []; |
|||
for (var i = 0; i < order_lines.length; i++) { |
|||
self.order_line[i] = order_lines[i]; |
|||
} |
|||
} |
|||
}); |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
var _super_orderline = models.Orderline; |
|||
models.Orderline = models.Orderline.extend({ |
|||
|
|||
set_line_id: function(line_id){ |
|||
this.line_id = line_id; |
|||
}, |
|||
export_as_JSON: function(){ |
|||
var json = _super_orderline.prototype.export_as_JSON.apply(this,arguments); |
|||
json.line_id = this.line_id; |
|||
return json; |
|||
}, |
|||
init_from_JSON: function(json){ |
|||
_super_orderline.prototype.init_from_JSON.apply(this,arguments); |
|||
this.line_id = json.line_id; |
|||
}, |
|||
}); |
|||
|
|||
var _super = models.Order; |
|||
models.Order = models.Order.extend({ |
|||
|
|||
add_product: function (product, options) { |
|||
|
|||
|
|||
var order = this.pos.get_order(); |
|||
_super.prototype.add_product.call(this, product, options); |
|||
if (options !== undefined) { |
|||
if (options.extras !== undefined) { |
|||
for (var prop in options.extras) { |
|||
if (prop === 'return_ref') { |
|||
this.return_ref = options.extras['return_ref'] |
|||
this.trigger('change', this); |
|||
} |
|||
if (prop === 'label') { |
|||
order.selected_orderline.set_line_id(options.extras['label']); |
|||
} |
|||
|
|||
} |
|||
|
|||
} |
|||
|
|||
} |
|||
|
|||
}, |
|||
|
|||
export_as_JSON: function(){ |
|||
var json = _super.prototype.export_as_JSON.apply(this,arguments); |
|||
json.return_ref = this.return_ref; |
|||
return json; |
|||
}, |
|||
init_from_JSON: function(json){ |
|||
_super.prototype.init_from_JSON.apply(this,arguments); |
|||
this.return_ref = json.return_ref; |
|||
} |
|||
|
|||
}); |
|||
|
|||
models.PosModel.extend({ |
|||
_save_to_server: function (orders, options) { |
|||
if (!orders || !orders.length) { |
|||
var result = $.Deferred(); |
|||
result.resolve([]); |
|||
return result; |
|||
} |
|||
var fields = _.find(this.models,function(model){ return model.model === 'pos.order'; }).fields; |
|||
options = options || {}; |
|||
|
|||
var self = this; |
|||
var timeout = typeof options.timeout === 'number' ? options.timeout : 7500 * 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; |
|||
})]; |
|||
return rpc.query({ |
|||
model: 'pos.order', |
|||
method: 'create_from_ui', |
|||
args: args, |
|||
kwargs: {context: 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.set('failed',false); |
|||
if (server_ids.length != 0){ |
|||
for (var item in server_ids){ |
|||
rpc.query({ |
|||
model: 'pos.order', |
|||
method: 'search_read', |
|||
args: [[['id', '=', server_ids[item]]], fields], |
|||
limit: 1, |
|||
}) |
|||
.then(function (order){ |
|||
self.orders.unshift(order[0]); |
|||
}); |
|||
} |
|||
} |
|||
self.load_server_data(); |
|||
return server_ids; |
|||
}).catch(function (type, error){ |
|||
if(error.code === 200 ){ // Business Logic Error, not a connection problem
|
|||
//if warning do not need to display traceback!!
|
|||
if (error.data.exception_type == 'warning') { |
|||
delete error.data.debug; |
|||
} |
|||
|
|||
// Hide error if already shown before ...
|
|||
if ((!self.get('failed') || options.show_error) && !options.to_invoice) { |
|||
this.showpopup('error-traceback',{ |
|||
'title': error.data.message, |
|||
'body': error.data.debug |
|||
}); |
|||
} |
|||
self.set('failed',error); |
|||
} |
|||
console.error('Failed to send orders:', orders); |
|||
}); |
|||
}, |
|||
}); |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
}); |
@ -0,0 +1,185 @@ |
|||
odoo.define('product_return_pos.order_list_screen',function(require) { |
|||
"use strict"; |
|||
|
|||
|
|||
var models = require('point_of_sale.models'); |
|||
|
|||
var gui = require('point_of_sale.Gui'); |
|||
var core = require('web.core'); |
|||
var QWeb = core.qweb; |
|||
var rpc = require('web.rpc'); |
|||
var _t = require('web.core')._t; |
|||
var session = require('web.session'); |
|||
const ControlButtonsMixin = require('point_of_sale.ControlButtonsMixin'); |
|||
const NumberBuffer = require('point_of_sale.NumberBuffer'); |
|||
const { onChangeOrder, useBarcodeReader } = require('point_of_sale.custom_hooks'); |
|||
const { useState , useRef} = owl.hooks; |
|||
const PosComponent = require('point_of_sale.PosComponent'); |
|||
const Registries = require('point_of_sale.Registries'); |
|||
const ProductScreen = require('point_of_sale.ProductScreen'); |
|||
const { useListener } = require('web.custom_hooks'); |
|||
const OrderManagementScreen = require('point_of_sale.OrderManagementScreen'); |
|||
const AbstractAwaitablePopup = require('point_of_sale.AbstractAwaitablePopup'); |
|||
const IndependentToOrderScreen = require('point_of_sale.IndependentToOrderScreen'); |
|||
const { posbus } = require('point_of_sale.utils'); |
|||
const { Gui } = require('point_of_sale.Gui'); |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
class OrderListScreenWidget extends IndependentToOrderScreen { |
|||
|
|||
|
|||
constructor() { |
|||
super(...arguments); |
|||
useListener('filter-selected', this._onFilterSelected); |
|||
|
|||
useListener('search', this._onSearch); |
|||
this.searchDetails = {}; |
|||
this.filter = null; |
|||
this._initializeSearchFieldConstants(); |
|||
|
|||
|
|||
} |
|||
|
|||
mounted() { |
|||
var self = this; |
|||
this.render(); |
|||
var orders = this.env.pos.orders; |
|||
var search_timeout = null; |
|||
} |
|||
|
|||
back() { |
|||
this.close(); |
|||
} |
|||
|
|||
reload(){ |
|||
window.location.reload(); |
|||
} |
|||
|
|||
return_click(order){ |
|||
this.return_order(order); |
|||
} |
|||
|
|||
get ordersList() { |
|||
const filterCheck = (order) => { |
|||
return true; |
|||
}; |
|||
const { fieldValue, searchTerm } = this.searchDetails; |
|||
const fieldAccessor = this._searchFields[fieldValue]; |
|||
const searchCheck = (order) => { |
|||
if (!fieldAccessor) return true; |
|||
const fieldValue = fieldAccessor(order); |
|||
if (fieldValue === null) return true; |
|||
if (!searchTerm) return true; |
|||
return fieldValue && fieldValue.toString().toLowerCase().includes(searchTerm.toLowerCase()); |
|||
}; |
|||
const predicate = (order) => { |
|||
return searchCheck(order); |
|||
}; |
|||
|
|||
return this.orderList.filter(predicate); |
|||
} |
|||
|
|||
_onFilterSelected(event) { |
|||
this.filter = event.detail.filter; |
|||
this.render(); |
|||
} |
|||
|
|||
get orderList() { |
|||
return this.env.pos.orders; |
|||
} |
|||
|
|||
|
|||
get _searchFields() { |
|||
var fields = { |
|||
'Receipt Number': (order) => order.name, |
|||
Date: (order) => order.date_order, |
|||
Customer: (order) => order.partner_id[1], |
|||
'Return Ref': (order) => order.return_ref, |
|||
}; |
|||
return fields; |
|||
} |
|||
|
|||
_onSearch(event) { |
|||
const searchDetails = event.detail; |
|||
Object.assign(this.searchDetails, searchDetails); |
|||
this.render(); |
|||
} |
|||
|
|||
get searchBarConfig() { |
|||
return { |
|||
searchFields: this.constants.searchFieldNames, |
|||
filter: { show: true, options: this.filterOptions }, |
|||
}; |
|||
} |
|||
get filterOptions() { |
|||
return ['All Orders']; |
|||
} |
|||
|
|||
get _screenToStatusMap() { |
|||
return { |
|||
ProductScreen: 'Ongoing', |
|||
PaymentScreen: 'Payment', |
|||
ReceiptScreen: 'Receipt', |
|||
}; |
|||
} |
|||
|
|||
_initializeSearchFieldConstants() { |
|||
this.constants = {}; |
|||
Object.assign(this.constants, { |
|||
searchFieldNames: Object.keys(this._searchFields), |
|||
screenToStatusMap: this._screenToStatusMap, |
|||
}); |
|||
} |
|||
|
|||
|
|||
|
|||
render_list(orders){ |
|||
var contents = this.el.querySelector('.order-list-contents'); |
|||
contents.innerHTML = ""; |
|||
for(var i = 0, len = Math.min(orders.length,1000); i < len; i++){ |
|||
var order = orders[i]; |
|||
var orderline_html = this.env.qweb.render('OrderLine',{widget: this, order:order}); |
|||
var orderline = document.createElement('tbody'); |
|||
orderline.innerHTML = orderline_html; |
|||
orderline = orderline.childNodes[1]; |
|||
contents.appendChild(orderline); |
|||
} |
|||
} |
|||
|
|||
|
|||
return_order(order_id){ |
|||
var self = this; |
|||
var client = '' |
|||
if (order_id.partner_id){ |
|||
client = order_id.partner_id[0]; |
|||
} |
|||
if (order_id && order_id.return_status ==='fully_return'){ |
|||
Gui.showPopup('ErrorPopup',{ |
|||
'title': "ERROR", |
|||
'body': "This is a fully returned order",}); |
|||
} |
|||
else if (order_id && order_id.return_ref) { |
|||
|
|||
Gui.showPopup('ErrorPopup',{ |
|||
'title': "ERROR", |
|||
'body': "This is a returned order",}); |
|||
} |
|||
else{ |
|||
Gui.showPopup('ReturnWidget',{ref: order_id.pos_reference,client:client}); |
|||
|
|||
} |
|||
|
|||
} |
|||
|
|||
|
|||
} |
|||
OrderListScreenWidget.template = 'OrderListScreenWidget'; |
|||
|
|||
Registries.Component.add(OrderListScreenWidget); |
|||
|
|||
return OrderListScreenWidget; |
|||
|
|||
}); |
@ -0,0 +1,158 @@ |
|||
odoo.define('product_return_pos.pos_return',function(require) { |
|||
"use strict"; |
|||
|
|||
|
|||
var models = require('point_of_sale.models'); |
|||
|
|||
|
|||
var gui = require('point_of_sale.Gui'); |
|||
var core = require('web.core'); |
|||
var QWeb = core.qweb; |
|||
var rpc = require('web.rpc'); |
|||
var _t = require('web.core')._t; |
|||
var session = require('web.session'); |
|||
const ControlButtonsMixin = require('point_of_sale.ControlButtonsMixin'); |
|||
const NumberBuffer = require('point_of_sale.NumberBuffer'); |
|||
const { onChangeOrder, useBarcodeReader } = require('point_of_sale.custom_hooks'); |
|||
const { useState, useRef ,useSubEnv} = owl.hooks; |
|||
const PosComponent = require('point_of_sale.PosComponent'); |
|||
const Registries = require('point_of_sale.Registries'); |
|||
const ProductScreen = require('point_of_sale.ProductScreen'); |
|||
const { useListener } = require('web.custom_hooks'); |
|||
const OrderManagementScreen = require('point_of_sale.OrderManagementScreen'); |
|||
const AbstractAwaitablePopup = require('point_of_sale.AbstractAwaitablePopup'); |
|||
|
|||
|
|||
|
|||
class ReturnWidget extends AbstractAwaitablePopup { |
|||
constructor() { |
|||
super(...arguments); |
|||
this.state = useState({ inputValue: this.props.startingValue }); |
|||
this.inputRef = useRef('input'); |
|||
useSubEnv({ attribute_components: [] }); |
|||
|
|||
} |
|||
mounted() { |
|||
this.render_list() |
|||
} |
|||
|
|||
render_list(){ |
|||
$("#table-body").empty(); |
|||
var lines = []; |
|||
var pos_reference = this.props.ref |
|||
rpc.query({ |
|||
model: 'pos.order', |
|||
method: 'get_lines', |
|||
args: [pos_reference], |
|||
}).then(function (result) { |
|||
lines = result[0]; |
|||
for(var j=0;j < lines.length; j++){ |
|||
var product_line = lines[j]; |
|||
var rows = ""; |
|||
var id = product_line.product_id |
|||
var price_unit = product_line.price_unit; |
|||
var name =product_line.product; |
|||
var qty = product_line.qty; |
|||
var line_id = product_line.line_id; |
|||
var discount = product_line.discount; |
|||
rows += "<tr><td>" + id + "</td><td>" + price_unit +" </td><td>" + name + "</td><td>" + qty + "</td><td>" + discount + "</td><td>" + line_id + "</td></tr>"; |
|||
$(rows).appendTo("#list tbody"); |
|||
var rows = document.getElementById('list').rows; |
|||
for (var row = 0; row < rows.length; row++) { |
|||
var cols = rows[row].cells; |
|||
cols[0].style.display = 'none'; |
|||
cols[1].style.display = 'none'; |
|||
cols[5].style.display = 'none'; |
|||
|
|||
} |
|||
|
|||
} |
|||
var table = document.getElementById('list'); |
|||
var tr = table.getElementsByTagName("tr"); |
|||
for (var i = 1; i < tr.length; i++) { |
|||
var td = document.createElement('td'); |
|||
var input = document.createElement('input'); |
|||
input.setAttribute("type", "text"); |
|||
input.setAttribute("value", 0); |
|||
input.setAttribute("id", "text"+i); |
|||
td.appendChild(input); |
|||
tr[i].appendChild(td); |
|||
|
|||
} |
|||
}).catch(function () { |
|||
alert("NO DATA") |
|||
}); |
|||
} |
|||
|
|||
|
|||
|
|||
click_confirm() { |
|||
|
|||
var self = this; |
|||
var myTable = document.getElementById('list').tBodies[0]; |
|||
var count = 0; |
|||
var c = 1; |
|||
|
|||
for (r=0, n = myTable.rows.length; r < n; r++) { |
|||
var row = myTable.rows[r] |
|||
var return_qty = document.getElementById("text"+c).value |
|||
if (row.cells[3].innerHTML < return_qty){ |
|||
count +=1 |
|||
} |
|||
c = c+1 |
|||
} |
|||
if (count > 0){ |
|||
alert('Please check the Returned Quantity,it is higher than purchased') |
|||
} |
|||
else{ |
|||
c = 1; |
|||
// OrderSuper.prototype.set_client.call(this, this.client);
|
|||
for (var r=0, n = myTable.rows.length; r < n; r++) { |
|||
row = myTable.rows[r] |
|||
return_qty = document.getElementById("text"+c).value; |
|||
var product = this.env.pos.db.get_product_by_id(row.cells[0].innerHTML); |
|||
if (!product) { |
|||
return; |
|||
} |
|||
|
|||
if (return_qty > 0){ |
|||
this.env.pos.get_order().add_product(product, { |
|||
price: row.cells[1].innerHTML, |
|||
quantity: -(return_qty), |
|||
discount:row.cells[4].innerHTML, |
|||
merge: false, |
|||
extras: {return_ref: this.props.ref, |
|||
label:row.cells[5].innerHTML}, |
|||
}); |
|||
|
|||
} |
|||
c = c+1 |
|||
|
|||
} |
|||
|
|||
if (this.props.client){ |
|||
this.env.pos.get_order().set_client(this.env.pos.db.get_partner_by_id(this.props.client)); |
|||
} |
|||
|
|||
} |
|||
this.trigger('close-popup'); |
|||
this.showScreen('ProductScreen') |
|||
|
|||
} |
|||
|
|||
} |
|||
ReturnWidget.template = 'ReturnWidget'; |
|||
ReturnWidget.defaultProps = { |
|||
confirmText: 'Return', |
|||
cancelText: 'Cancel', |
|||
title: 'Confirm ?', |
|||
body: '', |
|||
}; |
|||
|
|||
Registries.Component.add(ReturnWidget); |
|||
|
|||
return ReturnWidget; |
|||
|
|||
|
|||
|
|||
}); |
@ -0,0 +1,56 @@ |
|||
odoo.define('product_return_pos.return',function(require) { |
|||
"use strict"; |
|||
|
|||
|
|||
var models = require('point_of_sale.models'); |
|||
var gui = require('point_of_sale.Gui'); |
|||
var core = require('web.core'); |
|||
var QWeb = core.qweb; |
|||
var rpc = require('web.rpc'); |
|||
var _t = require('web.core')._t; |
|||
var session = require('web.session'); |
|||
const ControlButtonsMixin = require('point_of_sale.ControlButtonsMixin'); |
|||
const NumberBuffer = require('point_of_sale.NumberBuffer'); |
|||
const { onChangeOrder, useBarcodeReader } = require('point_of_sale.custom_hooks'); |
|||
const PosComponent = require('point_of_sale.PosComponent'); |
|||
const Registries = require('point_of_sale.Registries'); |
|||
const ProductScreen = require('point_of_sale.ProductScreen'); |
|||
const { useListener } = require('web.custom_hooks'); |
|||
const { useState, useRef } = owl.hooks; |
|||
const OrderManagementScreen = require('point_of_sale.OrderManagementScreen'); |
|||
const AbstractAwaitablePopup = require('point_of_sale.AbstractAwaitablePopup'); |
|||
|
|||
|
|||
|
|||
class ReturnButton extends PosComponent { |
|||
|
|||
constructor() { |
|||
super(...arguments); |
|||
useListener('click', this.button_click); |
|||
} |
|||
|
|||
button_click() { |
|||
var orders = this.env.pos.orders; |
|||
|
|||
this.showScreen('OrderListScreenWidget',{orders:orders}); |
|||
} |
|||
|
|||
} |
|||
|
|||
|
|||
ReturnButton.template = 'ReturnButton'; |
|||
ProductScreen.addControlButton({ |
|||
|
|||
component: ReturnButton, |
|||
condition: function () { |
|||
return true; |
|||
}, |
|||
position: ['before', 'SetPricelistButton'], |
|||
}); |
|||
|
|||
Registries.Component.add(ReturnButton); |
|||
return ReturnButton; |
|||
|
|||
|
|||
|
|||
}); |
@ -0,0 +1,107 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<templates id="template" xml:space="preserve"> |
|||
|
|||
<t t-name="ReturnButton" owl="1"> |
|||
<div class='control-button'> |
|||
<i class='fa fa-rotate-left'/> |
|||
Return |
|||
</div> |
|||
</t> |
|||
|
|||
<t t-name="OrderLine" owl="1"> |
|||
<div> |
|||
<tr class='order-line' t-att-data-id='order.id'> |
|||
<td><t t-esc='order.pos_reference' /></td> |
|||
<td><t t-if="order.return_ref"> |
|||
<t t-esc='order.return_ref'/> |
|||
</t></td> |
|||
<td><t t-esc='order.partner_id[1]' /></td> |
|||
<td><t t-esc='order.date_order' /></td> |
|||
<td><span class="return-button return_order" t-on-click="return_click">Return</span></td> |
|||
</tr> |
|||
</div> |
|||
</t> |
|||
|
|||
<t t-name="OrderListScreenWidget" owl="1"> |
|||
<div class="ticket-screen screen"> |
|||
<div class="screen-content"> |
|||
<section class="top-content"> |
|||
<span class='button back' t-on-click="back"> |
|||
<i class='fa fa-angle-double-left'></i> |
|||
Cancel |
|||
</span> |
|||
|
|||
<SearchBar config="searchBarConfig" style="right: auto; margin-left: 90px; margin-top:8px;" placeholder="'Search Orders...'" /> |
|||
|
|||
<span class='button refresh refreshbutton' t-on-click="reload" style="right: auto; margin-left: 180px; margin-top:8px; left: 85%;"> |
|||
<i class="fa fa-refresh"></i> |
|||
Refresh |
|||
</span> |
|||
|
|||
</section> |
|||
<div class="orders"> |
|||
<div class="header-row"> |
|||
<div class="col start wide">Date</div> |
|||
<div class="col start wide">Receipt Number</div> |
|||
<div class="col start">Customer</div> |
|||
<div class="col start">Return Ref</div> |
|||
</div> |
|||
<t t-foreach="ordersList" t-as="order" t-key="order.cid"> |
|||
<div class="order-row pointer" t-on-click="return_click(order)"> |
|||
<div class="col start wide"> |
|||
<t t-esc="order.date_order"></t> |
|||
</div> |
|||
<div class="col start wide"> |
|||
<t t-esc="order.pos_reference"></t> |
|||
</div> |
|||
<div class="col start"> |
|||
<t t-esc="order.partner_id[1]"></t> |
|||
</div> |
|||
<div class="col start"> |
|||
<t t-if="order.return_ref == false"> |
|||
</t> |
|||
<t t-else=""> |
|||
<t t-esc="order.return_ref"></t> |
|||
</t> |
|||
</div> |
|||
</div> |
|||
</t> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</t> |
|||
|
|||
<t t-name="ReturnWidget" owl="1"> |
|||
<div class="modal-dialog" role="dialog"> |
|||
<div class="popup popup-selection product_return_pos" style="height: 80%; width: 150%;" > |
|||
<p class="title">Return Order</p> |
|||
<div class='selection scrollable-y touch-scrollable'> |
|||
<table id="list" cellspacing="1px" cellpadding="10px" text-align="center" |
|||
width="100%" style="border:1px;padding-left:1.16cm;"> |
|||
<thead> |
|||
<tr> |
|||
<td>ID</td> |
|||
<td>Price</td> |
|||
<td>Name</td> |
|||
<td>Qty</td> |
|||
<td>Dis</td> |
|||
<td>Line ID</td> |
|||
<td>Returned Quantity</td> |
|||
</tr> |
|||
</thead> |
|||
<tbody id="table-body"> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
<div class="footer"> |
|||
<div class="button confirm" t-on-click="click_confirm"> |
|||
Return |
|||
</div> |
|||
<div class="button cancel" t-on-click="cancel"> |
|||
Cancel |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</t> |
|||
</templates> |
@ -0,0 +1,19 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data> |
|||
<template id="assets" inherit_id="point_of_sale.assets"> |
|||
<xpath expr="." position="inside"> |
|||
<script type="text/javascript" |
|||
src="/product_return_pos/static/src/js/pos_return.js"/> |
|||
<script type="text/javascript" |
|||
src="/product_return_pos/static/src/js/order_list_screen.js"/> |
|||
<script type="text/javascript" |
|||
src="/product_return_pos/static/src/js/return.js"/> |
|||
<script type="text/javascript" |
|||
src="/product_return_pos/static/src/js/models.js"/> |
|||
<link rel="stylesheet" href="/product_return_pos/static/src/css/pos_return.css" /> |
|||
</xpath> |
|||
</template> |
|||
|
|||
</data> |
|||
</odoo> |
@ -0,0 +1,31 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data> |
|||
<record model="ir.ui.view" id="view_pos_new_form_extended"> |
|||
<field name="name">pos.order.form.extend</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='pos_reference']" position="after"> |
|||
<field name="return_ref"/> |
|||
<field name="return_status"/> |
|||
</xpath> |
|||
<xpath expr="//field[@name='lines']//tree//field[@name='qty']" position="after"> |
|||
<field name="returned_qty" invisible="1"/> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
|
|||
<record model="ir.ui.view" id="view_pos_new_tree_extended"> |
|||
<field name="name">pos.order.tree.extend</field> |
|||
<field name="model">pos.order</field> |
|||
<field name="inherit_id" ref="point_of_sale.view_pos_order_tree"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='pos_reference']" position="after"> |
|||
<field name="return_ref"/> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
|
|||
</data> |
|||
</odoo> |