Browse Source

[ADD] Initial Commit 'customer_product_qrcode'

pull/175/head
Ajmal Cybro 4 years ago
parent
commit
0404dcac67
  1. 44
      customer_product_qrcode/README.rst
  2. 32
      customer_product_qrcode/__init__.py
  3. 46
      customer_product_qrcode/__manifest__.py
  4. 6
      customer_product_qrcode/doc/RELEASE_NOTES.md
  5. 23
      customer_product_qrcode/models/__init__.py
  6. 201
      customer_product_qrcode/models/models.py
  7. 22
      customer_product_qrcode/report/__init__.py
  8. 17
      customer_product_qrcode/report/paperformat.xml
  9. 39
      customer_product_qrcode/report/parser.py
  10. 38
      customer_product_qrcode/report/report.xml
  11. 48
      customer_product_qrcode/report/template.xml
  12. BIN
      customer_product_qrcode/static/description/assets/arrow-circle-black.png
  13. BIN
      customer_product_qrcode/static/description/assets/arrow-circle-magenta.png
  14. BIN
      customer_product_qrcode/static/description/assets/customerqrsystem.png
  15. BIN
      customer_product_qrcode/static/description/assets/hero.gif
  16. BIN
      customer_product_qrcode/static/description/assets/icons/ecom.png
  17. BIN
      customer_product_qrcode/static/description/assets/icons/education.png
  18. BIN
      customer_product_qrcode/static/description/assets/icons/hotel.png
  19. BIN
      customer_product_qrcode/static/description/assets/icons/manufacturing.png
  20. BIN
      customer_product_qrcode/static/description/assets/icons/pos.png
  21. BIN
      customer_product_qrcode/static/description/assets/icons/restaurant.png
  22. BIN
      customer_product_qrcode/static/description/assets/icons/service.png
  23. BIN
      customer_product_qrcode/static/description/assets/icons/trading.png
  24. BIN
      customer_product_qrcode/static/description/assets/modules/advanced_ecom.png
  25. BIN
      customer_product_qrcode/static/description/assets/modules/export_excel.png
  26. BIN
      customer_product_qrcode/static/description/assets/modules/functional_tutorial.png
  27. BIN
      customer_product_qrcode/static/description/assets/modules/gantt_view.png
  28. BIN
      customer_product_qrcode/static/description/assets/modules/mobile_service.png
  29. BIN
      customer_product_qrcode/static/description/assets/modules/shopify_connector.png
  30. BIN
      customer_product_qrcode/static/description/assets/screenshots/customerQrcode.png
  31. BIN
      customer_product_qrcode/static/description/assets/screenshots/customer_qr.png
  32. BIN
      customer_product_qrcode/static/description/assets/screenshots/product_qr.png
  33. BIN
      customer_product_qrcode/static/description/assets/screenshots/setup_qr.png
  34. BIN
      customer_product_qrcode/static/description/banner.png
  35. BIN
      customer_product_qrcode/static/description/icon.png
  36. 653
      customer_product_qrcode/static/description/index.html
  37. 105
      customer_product_qrcode/views/view.xml

44
customer_product_qrcode/README.rst

@ -0,0 +1,44 @@
Customer and Product QR Code Generator
======================================
The Customer and Product QRCode Generator Helps You to Generate Unique
QR Codes to your Products or Customers
Installation
============
- www.odoo.com/documentation/14.0/setup/install.html
- Install our custom addon
License
-------
General Public License, Version 3 (LGPL v3).
(https://www.odoo.com/documentation/user/14.0/legal/licenses/licenses.html)
Company
-------
* 'Cybrosys Techno Solutions <https://cybrosys.com/>`__
Credits
-------
* Developer:
(v14) Sarath Suresh @ Cybrosys
Contacts
--------
* Mail Contact : odoo@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
==========
This module is maintained by Cybrosys Technologies.
For support and more information, please visit https://www.cybrosys.com
Further information
===================
HTML Description: `<static/description/index.html>`__

32
customer_product_qrcode/__init__.py

@ -0,0 +1,32 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import models
from . import report
from odoo import api, SUPERUSER_ID
def _set_qr(cr, registry):
env = api.Environment(cr, SUPERUSER_ID, {})
for record in env['product.product'].search([]):
name = record.name.replace(" ", "")
record.sequence = 'DEF' + name.upper()+str(record.id)
record.generate_qr()

46
customer_product_qrcode/__manifest__.py

@ -0,0 +1,46 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
{
'name': 'Customer and Product QR Code Generator',
'version': '14.0.1.0.0',
'summary': 'Generate Unique QR Codes for Customers and Products',
'description': 'QR Code, QR Code Generator, Odoo QR Code Generator, Customer QR Code, Product QR Code, QR, QR Code Odoo',
'category': 'Extra Tools',
'author': 'Cybrosys Techno solutions',
'maintainer': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'website': 'https://www.cybrosys.com',
'depends': ['base', 'sale', 'stock'],
'data': [
'report/paperformat.xml',
'report/report.xml',
'views/view.xml',
'report/template.xml',
],
'images': ['static/description/banner.png'],
'installable': True,
'application': False,
'auto_install': False,
'license': 'LGPL-3',
'post_init_hook': '_set_qr'
}

6
customer_product_qrcode/doc/RELEASE_NOTES.md

@ -0,0 +1,6 @@
## Module <customer_product_qrcode>
#### 27.07.2021
#### Version 14.0.1.0.0
#### ADD
- Initial commit for customer_product_qrcode

23
customer_product_qrcode/models/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import models

201
customer_product_qrcode/models/models.py

@ -0,0 +1,201 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
try:
import qrcode
except ImportError:
qrcode = None
try:
import base64
except ImportError:
base64 = None
from io import BytesIO
from odoo import models, fields, api, _, SUPERUSER_ID
from odoo.exceptions import UserError
class Partners(models.Model):
_inherit = 'res.partner'
sequence = fields.Char(string="QR Sequence", readonly=True)
qr = fields.Binary(string="QR Code")
def init(self):
for record in self.env['res.partner'].search(
[('customer_rank', '=', True)]):
name = record.name.replace(" ", "")
record.sequence = 'DEF' + name.upper() + str(record.id)
@api.model
def create(self, vals):
prefix = str(self.env['ir.config_parameter'].sudo().get_param(
'customer_product_qr.config.customer_prefix'))
if not prefix:
raise UserError(_('Set A Customer Prefix In General Settings'))
seq = prefix + self.env['ir.sequence'].next_by_code(
'res.partner') or '/'
vals['sequence'] = seq
return super(Partners, self).create(vals)
@api.depends('sequence')
def generate_qr(self):
if qrcode and base64:
if not self.sequence:
prefix = str(self.env['ir.config_parameter'].sudo().get_param(
'customer_product_qr.config.customer_prefix'))
if not prefix:
raise UserError(
_('Set A Customer Prefix In General Settings'))
self.sequence = prefix + self.env['ir.sequence'].next_by_code(
'res.partner') or '/'
qr = qrcode.QRCode(
version=1,
error_correction=qrcode.constants.ERROR_CORRECT_L,
box_size=10,
border=4,
)
qr.add_data(self.sequence)
qr.make(fit=True)
img = qr.make_image()
temp = BytesIO()
img.save(temp, format="PNG")
qr_image = base64.b64encode(temp.getvalue())
self.write({'qr': qr_image})
return self.env.ref(
'customer_product_qrcode.print_qr').report_action(self, data={
'data': self.id, 'type': 'cust'})
else:
raise UserError(
_('Necessary Requirements To Run This Operation Is Not Satisfied'))
def get_partner_by_qr(self, **args):
return self.env['res.partner'].search([('sequence', '=', self.id), ],
limit=1).id
class Products(models.Model):
_inherit = 'product.product'
sequence = fields.Char(string="QR Sequence", readonly=True)
qr = fields.Binary(string="QR Code")
@api.model
def create(self, vals):
prefix = str(self.env['ir.config_parameter'].sudo().get_param(
'customer_product_qr.config.product_prefix'))
if not prefix:
raise UserError(_('Set A Product Prefix In General Settings'))
seq = prefix + self.env['ir.sequence'].next_by_code(
'product.product') or '/'
vals['sequence'] = seq
qr = qrcode.QRCode(
version=1,
error_correction=qrcode.constants.ERROR_CORRECT_L,
box_size=10,
border=4,
)
qr.add_data(vals['sequence'])
qr.make(fit=True)
img = qr.make_image()
temp = BytesIO()
img.save(temp, format="PNG")
qr_image = base64.b64encode(temp.getvalue())
vals.update({'qr': qr_image})
return super(Products, self).create(vals)
@api.depends('sequence')
def generate_qr(self):
if qrcode and base64:
if not self.sequence:
prefix = str(self.env['ir.config_parameter'].sudo().get_param(
'customer_product_qr.config.product_prefix'))
if not prefix:
raise UserError(
_('Set A Customer Prefix In General Settings'))
self.sequence = prefix + self.env['ir.sequence'].next_by_code(
'product.product') or '/'
qr = qrcode.QRCode(
version=1,
error_correction=qrcode.constants.ERROR_CORRECT_L,
box_size=10,
border=4,
)
qr.add_data(self.sequence)
qr.make(fit=True)
img = qr.make_image()
temp = BytesIO()
img.save(temp, format="PNG")
qr_image = base64.b64encode(temp.getvalue())
self.write({'qr': qr_image})
return self.env.ref(
'customer_product_qrcode.print_qr2').report_action(self, data={
'data': self.id, 'type': 'prod'})
else:
raise UserError(
_('Necessary Requirements To Run This Operation Is Not Satisfied'))
def get_product_by_qr(self, **args):
return self.env['product.product'].search(
[('sequence', '=', self.id), ], limit=1).id
class ProductTemplate(models.Model):
_inherit = 'product.template'
def generate_qr(self):
product = self.env['product.product'].search(
[('product_tmpl_id', '=', self.id)])
for rec in product:
rec.generate_qr()
return self.env.ref('customer_product_qrcode.print_qr2').report_action(
self, data={'data': self.id, 'type': 'all'})
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
customer_prefix = fields.Char(string="Customer QR Prefix")
product_prefix = fields.Char(string="Product QR Prefix")
def get_values(self):
res = super(ResConfigSettings, self).get_values()
customer_prefix = self.env["ir.config_parameter"].get_param(
"customer_product_qr.config.customer_prefix")
product_prefix = self.env["ir.config_parameter"].get_param(
"customer_product_qr.config.product_prefix")
res.update({
'customer_prefix': customer_prefix if type(
customer_prefix) else False,
'product_prefix': product_prefix if type(product_prefix) else False
}
)
return res
def set_values(self):
self.env['ir.config_parameter'].sudo().set_param(
'customer_product_qr.config.customer_prefix', self.customer_prefix)
self.env['ir.config_parameter'].sudo().set_param(
'customer_product_qr.config.product_prefix', self.product_prefix)

22
customer_product_qrcode/report/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import parser

17
customer_product_qrcode/report/paperformat.xml

@ -0,0 +1,17 @@
<odoo>
<record id="customer_product_qrcode.customer_badge_paperformat" model="report.paperformat">
<field name="name">PDF Report</field>
<field name="default" eval="False" />
<field name="format">custom</field>
<field name="page_height">100</field>
<field name="page_width">100</field>
<field name="orientation">Portrait</field>
<field name="margin_top">10</field>
<field name="margin_bottom">0</field>
<field name="margin_left">10</field>
<field name="margin_right">10</field>
<field name="header_line" eval="False" />
<field name="header_spacing">80</field>
<field name="dpi">90</field>
</record>
</odoo>

39
customer_product_qrcode/report/parser.py

@ -0,0 +1,39 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import models, api
from odoo.http import request
class CustomerBadge(models.AbstractModel):
_name = 'report.customer_product_qrcode.customer_qr_template'
@api.model
def _get_report_values(self, docids, data=None):
if data['type'] == 'cust':
dat = [request.env['res.partner'].browse(data['data'])]
elif data['type'] == 'all':
dat = [request.env['product.product'].search([('product_tmpl_id', '=', data['data'])])]
else:
dat = request.env['product.product'].browse(data['data'])
return {
'data': dat,
}

38
customer_product_qrcode/report/report.xml

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<report id="customer_product_qrcode.print_qr"
model="res.partner"
name="customer_product_qrcode.customer_qr_template"
file="customer_product_qrcode.customer_qr_template"
string="Badge"
report_type="qweb-pdf"
menu="False"
/>
<report id="customer_product_qrcode.print_qr1"
model="product.product"
name="customer_product_qrcode.customer_qr_template"
file="customer_product_qrcode.customer_qr_template"
string="Product Badge"
report_type="qweb-pdf"
menu="False"
/>
<report id="customer_product_qrcode.print_qr2"
model="product.template"
name="customer_product_qrcode.customer_qr_template"
file="customer_product_qrcode.customer_qr_template"
string="Product Badge"
report_type="qweb-pdf"
menu="False"
/>
<record id="customer_product_qrcode.print_qr" model="ir.actions.report">
<field name="paperformat_id" ref="customer_product_qrcode.customer_badge_paperformat"/>
</record>
<record id="customer_product_qrcode.print_qr1" model="ir.actions.report">
<field name="paperformat_id" ref="customer_product_qrcode.customer_badge_paperformat"/>
</record>
<record id="customer_product_qrcode.print_qr2" model="ir.actions.report">
<field name="paperformat_id" ref="customer_product_qrcode.customer_badge_paperformat"/>
</record>
</data>
</odoo>

48
customer_product_qrcode/report/template.xml

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<template id="customer_qr_template">
<t t-foreach="data" t-as="records">
<t t-foreach="records" t-as="record">
<t t-call="web.html_container">
<t t-call="web.internal_layout">
<style>
table{
border:1px solid black !important;
height:370px;
width:370px;
}
tr{
border:1px solid black !important;
}
td{
border:1px solid black !important;
font-size:30px;
}
</style>
<div class="page">
<center>
<table>
<tr>
<td style="text-align:center;">
<span t-esc="record.name" style="float:center;"/>
</td>
</tr>
<tr>
<td>
<center><img t-att-src="'data:image/png;base64,%s' % to_text(record.qr)"
style="height:280px;width:280px;float:center;"/><br/>
<span t-esc="record.sequence" style="float:center;"/>
</center>
</td>
</tr>
</table>
</center>
</div>
</t>
</t>
</t>
</t>
</template>
</data>
</odoo>

BIN
customer_product_qrcode/static/description/assets/arrow-circle-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
customer_product_qrcode/static/description/assets/arrow-circle-magenta.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
customer_product_qrcode/static/description/assets/customerqrsystem.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
customer_product_qrcode/static/description/assets/hero.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

BIN
customer_product_qrcode/static/description/assets/icons/ecom.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
customer_product_qrcode/static/description/assets/icons/education.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
customer_product_qrcode/static/description/assets/icons/hotel.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
customer_product_qrcode/static/description/assets/icons/manufacturing.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
customer_product_qrcode/static/description/assets/icons/pos.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
customer_product_qrcode/static/description/assets/icons/restaurant.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
customer_product_qrcode/static/description/assets/icons/service.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
customer_product_qrcode/static/description/assets/icons/trading.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
customer_product_qrcode/static/description/assets/modules/advanced_ecom.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

BIN
customer_product_qrcode/static/description/assets/modules/export_excel.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
customer_product_qrcode/static/description/assets/modules/functional_tutorial.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

BIN
customer_product_qrcode/static/description/assets/modules/gantt_view.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
customer_product_qrcode/static/description/assets/modules/mobile_service.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
customer_product_qrcode/static/description/assets/modules/shopify_connector.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

BIN
customer_product_qrcode/static/description/assets/screenshots/customerQrcode.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
customer_product_qrcode/static/description/assets/screenshots/customer_qr.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

BIN
customer_product_qrcode/static/description/assets/screenshots/product_qr.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

BIN
customer_product_qrcode/static/description/assets/screenshots/setup_qr.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

BIN
customer_product_qrcode/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
customer_product_qrcode/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

653
customer_product_qrcode/static/description/index.html

@ -0,0 +1,653 @@
<section class="container">
<div class="row">
<div class="col-lg-6" style="background-color:#CB114A !important; padding: 4rem 2.5rem 6rem;">
<hr style="border: 2px solid #fff; width: 100px; margin-left: 0; margin-bottom: 3rem;">
<h1 style="font-family: Montserrat, 'sans-serif'; font-weight: 700; color: #FFF; margin-top: -1rem;">
Customer and Product QR Code Generator
</h1>
<p style="font-family: Tahoma, 'sans-serif'; font-size: 18px; font-weight: 500; color: #FFF;">
Generate Unique QR Codes for Customers and Products
</p>
<h2 style="font-size: 26px; color: #fff; text-transform: uppercase; margin-top: 3rem;">
Key Highlights
</h2>
<!-- KEY HIGHLIGHTS -->
<div class="d-flex mt-2">
<div class="d-flex justify-content-center align-items-center mr-1"
style="background-color: #fff; height: 40px; width: 40px; border-radius: 2px !important;">
<img src="./assets/arrow-circle-black.png" height="26px" width="26px">
</div>
<div class="d-flex justify-content-start align-items-center"
style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px">
<p
style="font-family: Tahoma, 'sans-serif'; font-size: 13px; font-weight: 600; color: #000; margin-top: 1rem;">
Unique QR code for products and customers.
</p>
</div>
</div>
<div class="d-flex mt-2">
<div class="d-flex justify-content-center align-items-center mr-1"
style="background-color: #fff; height: 40px; width: 40px; border-radius: 2px !important;">
<img src="./assets/arrow-circle-black.png" height="26px" width="26px">
</div>
<div class="d-flex justify-content-start align-items-center"
style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px">
<p
style="font-family: Tahoma, 'sans-serif'; font-size: 13px; font-weight: 600; color: #000; margin-top: 1rem;">
Enables to configure a word prefix to QR code for unique
identification.
</p>
</div>
</div>
<div class="d-flex mt-2">
<div class="d-flex justify-content-center align-items-center mr-1"
style="background-color: #fff; height: 40px; width: 40px; border-radius: 2px !important;">
<img src="./assets/arrow-circle-black.png" height="26px" width="26px">
</div>
<div class="d-flex justify-content-start align-items-center"
style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px">
<p
style="font-family: Tahoma, 'sans-serif'; font-size: 13px; font-weight: 600; color: #000; margin-top: 1rem;">
QR code for individual product variants.
</p>
</div>
</div>
<div class="d-flex mt-2">
<div class="d-flex justify-content-center align-items-center mr-1"
style="background-color: #fff; height: 40px; width: 40px; border-radius: 2px !important;">
<img src="./assets/arrow-circle-black.png" height="26px" width="26px">
</div>
<div class="d-flex justify-content-start align-items-center"
style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px">
<p
style="font-family: Tahoma, 'sans-serif'; font-size: 13px; font-weight: 600; color: #000; margin-top: 1rem;">
QR code for whole product template variants.
</p>
</div>
</div>
<!-- END OF KEY HIGHLIGHTS -->
</div>
<div class="col-lg-6">
<!-- HERO IMAGE -->
<img src="./assets/hero.gif" width="100%" height="auto" class="img img-responsive">
<!-- END OF HERO IMAGE-->
</div>
</div>
</section>
<!-- END OF HERO SECTION -->
<!-- OVERVIEW SECTION -->
<section class="container">
<div class="row">
<div class="col-lg-12" style="background-color:#ffffff !important; padding: 4rem 2.5rem;">
<hr style="border: 2px solid #000; width: 100px; margin-left: 0; margin-bottom: 3rem;">
<h1 style=" font-family: Montserrat, 'sans-serif' ; font-weight: 700; color: #000; margin-top: -1rem;
text-transform: uppercase;">
Overview
</h1>
<p style="font-family: Tahoma, 'sans-serif'; font-size: 18px; font-weight: 500; color: #000; width: 90%;">
If QR codes aren't the part of your current marketing strategy,
you might be missing the large chunks of benefits. Use QR codes
to generate customer interest, drive traffic, and increase sales
via print, online, or email. The Customer and Product QR Code
Generator allows the users to scan QR codes simply and easily
from within your browser.
This module helps to set up a unique QR code to both your
products and customers.
</p>
</div>
</div>
</section>
<!-- END OF OVERVIEW SECTION -->
<!-- FEATURES SECTION -->
<section class="container">
<div class="row">
<div class="col-lg-6 d-flex flex-column align-items-center justify-content-center"
style="background-color:#D4D4D4 !important; padding: 4rem 2.5rem;">
<img src="./assets/customerqrsystem.png" width="80%" height="auto" class="img img-responsive">
</div>
<div class="col-lg-6" style="background-color:#D4D4D4 !important; padding: 3rem 2.5rem 4rem 0;">
<hr style="border: 2px solid #000; width: 100px; margin-left: 0; margin-bottom: 3rem;">
<h1
style="font-family: Montserrat, 'sans-serif'; font-weight: 700; color: #000; margin-top: -1rem; text-transform: uppercase;">
Features
</h1>
<div class="d-flex mt-2">
<div class="d-flex justify-content-center align-items-center mr-1 deep-2"
style="background-color: #fff; height: 40px; width: 40px; border-radius: 2px !important;">
<img src="./assets/arrow-circle-magenta.png" height="26px" width="26px">
</div>
<div class="d-flex justify-content-start align-items-center deep-2"
style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px">
<p
style="font-family: Tahoma, 'sans-serif'; font-size: 12px; font-weight: 600; color: #000; margin-top: 1rem;">
Unique QR code for products and customers.</p>
</div>
</div>
<div class="d-flex mt-2">
<div class="d-flex justify-content-center align-items-center mr-1 deep-2"
style="background-color: #fff; height: 40px; width: 40px; border-radius: 2px !important;">
<img src="./assets/arrow-circle-magenta.png" height="26px" width="26px">
</div>
<div class="d-flex justify-content-start align-items-center deep-2"
style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px">
<p
style="font-family: Tahoma, 'sans-serif'; font-size: 13px; font-weight: 600; color: #000; margin-top: 1rem;">
Enables to configure a word prefix to QR code for unique
identification.</p>
</div>
</div>
<div class="d-flex mt-2">
<div class="d-flex justify-content-center align-items-center mr-1 deep-2"
style="background-color: #fff; height: 40px; width: 40px; border-radius: 2px !important;">
<img src="./assets/arrow-circle-magenta.png" height="26px" width="26px">
</div>
<div class="d-flex justify-content-start align-items-center deep-2"
style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px">
<p
style="font-family: Tahoma, 'sans-serif'; font-size: 13px; font-weight: 600; color: #000; margin-top: 1rem;">
QR code for individual product variants.</p>
</div>
</div>
<div class="d-flex mt-2">
<div class="d-flex justify-content-center align-items-center mr-1 deep-2"
style="background-color: #fff; height: 40px; width: 40px; border-radius: 2px !important;">
<img src="./assets/arrow-circle-magenta.png" height="26px" width="26px">
</div>
<div class="d-flex justify-content-start align-items-center deep-2"
style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px">
<p
style="font-family: Tahoma, 'sans-serif'; font-size: 13px; font-weight: 600; color: #000; margin-top: 1rem;">
QR code for whole product template variants.</p>
</div>
</div>
</div>
</div>
</section>
<!-- END OF FEATURES SECTION -->
<!-- SCREENSHOTS SECTION -->
<section class="container">
<div class="row">
<div class="col-lg-12" style="background-color:#ffffff !important; padding: 4rem 2.5rem;">
<hr style="border: 2px solid #CB114A; width: 100px; margin-left: 0; margin-bottom: 3rem;">
<h1
style="font-family: Montserrat, 'sans-serif'; font-weight: 700; color: #000; margin-top: -1rem; margin-bottom: 1rem; text-transform: uppercase;">
SCREENSHOTS
</h1>
</div>
<div class="col-lg-12" style="background-color:#CB114A !important; padding: 2.5rem; border-radius: 8px;">
<div id="odooAppsIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators"
style="position: absolute !important; bottom: -90px !important; left: -65.5rem !important">
<li data-target="#odooAppsIndicators" data-slide-to="0" class="active"
style="height: 15px !important; width: 15px !important; background-color: #000 !important;">
</li>
<li data-target="#odooAppsIndicators" data-slide-to="1"
style="height: 15px !important; width: 15px !important; background-color: #000 !important;">
</li>
<li data-target="#odooAppsIndicators" data-slide-to="2"
style="height: 15px !important; width: 15px !important; background-color: #000 !important;">
</li>
<li data-target="#odooAppsIndicators" data-slide-to="3"
style="height: 15px !important; width: 15px !important; background-color: #000 !important;">
</li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active" style="overflow: visible;">
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16 d-flex w-100"
style="float:left; margin-bottom: 1rem; margin-left: -15px;">
<div class="d-flex justify-content-center align-items-center mr-1 deep-2"
style="background-color: #fff; height: 40px; width: 40px; border-radius: 2px !important;">
<img src="./assets/arrow-circle-black.png" height="26px" width="26px">
</div>
<div class="d-flex justify-content-start align-items-center deep-2"
style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px">
<p
style="font-family: Tahoma, 'sans-serif'; font-size: 12px; font-weight: 600; color: #000; margin-top: 1rem;">
Set the product and customer prefixes from
General Settings Menu.
Set a Unique and Denotable Prefix to Your
Customers.</p>
</div>
</div>
<img class="d-block w-100" src="./assets/screenshots/setup_qr.png" alt="">
</div>
<div class="carousel-item" style="overflow: visible;">
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16 d-flex w-100"
style="float:left; margin-bottom: 1rem; margin-left: -15px;">
<div class="d-flex justify-content-center align-items-center mr-1 deep-2"
style="background-color: #fff; height: 40px; width: 40px; border-radius: 2px !important;">
<img src="./assets/arrow-circle-black.png" height="26px" width="26px">
</div>
<div class="d-flex justify-content-start align-items-center deep-2"
style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px">
<p
style="font-family: Tahoma, 'sans-serif'; font-size: 13px; font-weight: 600; color: #000; margin-top: 1rem;">
Goto The Customer or Product Form.Click the
Generate QR Button.
The QR Sequence will be generated and the QR
Code will be printed as a PDF.</p>
</div>
</div>
<img class="d-block w-100" src="./assets/screenshots/product_qr.png" alt="">
</div>
<div class="carousel-item" style="overflow: visible;">
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16 d-flex w-100"
style="float:left; margin-bottom: 1rem; margin-left: -15px;">
<div class="d-flex justify-content-center align-items-center mr-1 deep-2"
style="background-color: #fff; height: 40px; width: 40px; border-radius: 2px !important;">
<img src="./assets/arrow-circle-black.png" height="26px" width="26px">
</div>
<div class="d-flex justify-content-start align-items-center deep-2"
style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px">
<p
style="font-family: Tahoma, 'sans-serif'; font-size: 13px; font-weight: 600; color: #000; margin-top: 1rem;">
Set the product and customer prefixes from
General Settings Menu.
Set a Unique and Denotable Prefix to Your
Customers.
</p>
</div>
</div>
<img class="d-block w-100" src="./assets/screenshots/customer_qr.png" alt="">
</div>
<div class="carousel-item" style="overflow: visible;">
<div class="col-xs-12 col-sm-12 col-md-12 mb16 mt16 d-flex w-100"
style="float:left; margin-bottom: 1rem; margin-left: -15px;">
<div class="d-flex justify-content-center align-items-center mr-1 deep-2"
style="background-color: #fff; height: 40px; width: 40px; border-radius: 2px !important;">
<img src="./assets/arrow-circle-black.png" height="26px" width="26px">
</div>
<div class="d-flex justify-content-start align-items-center deep-2"
style="background-color: #fff; height: 40px; width: 100%; border-radius: 2px !important; padding: 10px">
<p
style="font-family: Tahoma, 'sans-serif'; font-size: 13px; font-weight: 600; color: #000; margin-top: 1rem;">
Each Customer or Product will have a unique
qr sequence. Simply go to scan from menu bar
and grant access to your device camera,
you’re ready to scan a QR code using your
laptop or mobile devices </p>
</div>
</div>
<img class="d-block w-100" src="./assets/screenshots/customerQrcode.png" alt="First slide">
</div>
</div>
<a class="carousel-control-prev" href="#odooAppsIndicators" 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="#odooAppsIndicators" 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>
</section>
<!-- END OF SCREENSHOTS SECTION-->
<section class="container">
<div class="row">
<div class="col-lg-12" style="background-color:#ffffff !important; padding: 4rem 2.5rem;">
<hr style="border: 2px solid #CB114A; width: 100px; margin-left: 0; margin-bottom: 3rem;">
<h1
style="font-family: Montserrat, 'sans-serif'; font-weight: 700; color: #000; margin-top: -1rem; margin-bottom: 0rem; text-transform: uppercase;">
Suggested Products
</h1>
</div>
</div>
<div class="col-lg-12">
<div id="suggestedSlider" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner">
<div class="carousel-item" style="min-height: 191px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/custom_gantt_view/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/gantt_view.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/14.0/odoo_functional_tutorial_com/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/functional_tutorial.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/14.0/shopify_odoo_connector/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/shopify_connector.png">
</div>
</a>
</div>
</div>
<div class="carousel-item active" style="min-height: 191px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/14.0/mobile_service_shop_pro/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/mobile_service.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/14.0/website_sale_extend/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/advanced_ecom.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/14.0/export_stockinfo_xls/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/export_excel.png">
</div>
</a>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#suggestedSlider" 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="#suggestedSlider"
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>
</section>
<!-- Our Services -->
<section class="container" style="margin-top: 6rem;">
<div class="row mt-4 position-relative" style="max-width:1540px; margin: 0 auto;">
<div class="col-lg-12 jumbotron text-white position-relative"
style="background-color: #D4D4D4 !important; border-radius: 10px;">
<span class="badge badge-pill px-3 py-2 text-white deep-2-sm font-weight-bold"
style="background-color: #CB114A;"><i class="fa fa-trophy mr-2"></i>Odoo Gold Partner</span>
<div class="row">
<div class="col-lg-12 mt-4">
<h1 style="color: #000;">Our Services</h1>
<p class="lead" style="color: #000;">We provide following
services</p>
<div class="row d-flex flex-row justify-content-start flex-wrap mt-4 pl-4">
<a class="text-dark" href="https://www.cybrosys.com/odoo-customization-and-installation/"
style="color: white; text-decoration: none;" target="_blank">
<div class="bg-white deep-2 d-flex flex-column justify-content-center align-items-center rounded"
style="padding: 2rem; margin-right: 1rem; height: 150px; width: 150px;">
<i class="fa fa-cogs mr-2 mt-2" style="color: #CB114A; font-size: 3rem"></i>
<h6 class="text-center mt-3" style="color: #000;">Odoo Customization</h6>
</div>
</a>
<a class="text-dark" href="https://www.cybrosys.com/odoo-erp-implementation/"
style="color: white; text-decoration: none;" target="_blank">
<div class="bg-white deep-2 d-flex flex-column justify-content-center align-items-center rounded"
style="padding: 2rem; margin-right: 1rem; height: 150px; width: 150px;">
<i class="fa fa-wrench mr-2 mt-2" style="color: #CB114A; font-size: 3rem"></i>
<h6 class="text-center mt-3" style="color: #000;">Odoo
Implementation</h6>
</div>
</a>
<a class="text-dark" href="https://www.cybrosys.com/odoo-erp-support/"
style="color: white; text-decoration: none;" target="_blank">
<div class="bg-white deep-2 d-flex flex-column justify-content-center align-items-center rounded"
style="padding: 2rem; margin-right: 1rem; height: 150px; width: 150px;">
<i class="fa fa-life-ring mr-2 mt-2" style="color: #CB114A; font-size: 3rem"></i>
<h6 class="text-center mt-3" style="color: #000;">Odoo Support</h6>
</div>
</a>
<a class="text-dark" href="https://www.cybrosys.com/hire-odoo-developer/" style=text-decoration:
none;" target="_blank">
<div class="bg-white deep-2 d-flex flex-column justify-content-center align-items-center rounded"
style="padding: 2rem; margin-right: 1rem; height: 150px; width: 150px;">
<i class="fa fa-user mr-2 mt-2" style="color: #CB114A; font-size: 3rem"></i>
<h6 class="text-center mt-3" style="color: #000;">
Hire Odoo Developers</h6>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- End of Our Services -->
<!-- Our Industries -->
<section class="container" style="margin-top: 0rem;">
<div class="row" style="max-width:1540px; ">
<div class="col-lg-12" style="background-color:#ffffff !important; padding: 4rem 2.5rem;">
<hr style="border: 2px solid #CB114A; width: 100px; margin-left: 0; margin-bottom: 3rem;">
<h1
style="font-family: Montserrat, 'sans-serif'; font-weight: 700; color: #000; margin-top: -1rem; margin-bottom: 0rem; text-transform: uppercase;">
Our Industries
</h1>
</div>
<div class="row mt-4 position-relative" style="max-width:1540px; margin: 0 auto;">
<!-- Left Column -->
<div class="col-lg-6">
<div class="bg-white deep-2 px-4 py-3 mb-3" style="border-radius: 10px;">
<a href="https://www.cybrosys.com/odoo/industries/best-trading-erp/" target="_blank"
class="text-dark" style="text-decoration: none;">
<div class="row">
<div class="col-lg-3 no-gutters">
<img src="./assets/icons/trading.png">
</div>
<div class="col-lg-9 no-gutters pt-3">
<h4 style="font-family: Roboto, 'sans-serif">
Trading</h4>
<p style="font-weight: 300;">Easily procure and
sell your products</p>
</div>
</div>
</a>
</div>
<div class="bg-white deep-2 px-4 py-3 my-3" style="border-radius: 10px;">
<a href="https://www.cybrosys.com/odoo/industries/education-erp-software/" target="_blank"
class="text-dark" style="text-decoration: none;">
<div class="row">
<div class="col-lg-3 no-gutters">
<img src="./assets/icons/education.png">
</div>
<div class="col-lg-9 no-gutters pt-3">
<h4 style="font-family: Roboto, 'sans-serif">
Education</h4>
<p style="font-weight: 300;">A Collaborative
platform for educational
management</p>
</div>
</div>
</a>
</div>
<div class="bg-white deep-2 px-4 py-3 my-3" style="border-radius: 10px;">
<a href="https://www.cybrosys.com/odoo/industries/manufacturing-erp-software/" target="_blank"
class="text-dark" style="text-decoration: none;">
<div class="row">
<div class="col-lg-3 no-gutters">
<img src="./assets/icons/manufacturing.png">
</div>
<div class="col-lg-9 no-gutters pt-3">
<h4 style="font-family: Roboto, 'sans-serif">
Manufacturing</h4>
<p style="font-weight: 300;">Plan, track and
schedule your operations</p>
</div>
</div>
</a>
</div>
<div class="bg-white deep-2 px-4 py-3 my-3" style="border-radius: 10px;">
<a href="https://www.cybrosys.com/odoo/industries/ecommerce-website/" target="_blank"
class="text-dark" style="text-decoration: none;">
<div class="row">
<div class="col-lg-3 no-gutters">
<img src="./assets/icons/ecom.png">
</div>
<div class="col-lg-9 no-gutters pt-3">
<h4 style="font-family: Roboto, 'sans-serif">
E-commerce & Website</h4>
<p style="font-weight: 300;">Mobile friendly,
awe-inspiring product pages
</p>
</div>
</div>
</a>
</div>
</div>
<!-- End of Left Column -->
<!-- Right Column -->
<div class="col-lg-6">
<div class="bg-white deep-2 px-4 py-3 mb-3" style="border-radius: 10px;">
<a href="https://www.cybrosys.com/odoo/industries/pos/" target="_blank" class="text-dark"
style="text-decoration: none;">
<div class="row">
<div class="col-lg-3 no-gutters">
<img src="./assets/icons/pos.png">
</div>
<div class="col-lg-9 no-gutters pt-3">
<h4 style="font-family: Roboto, 'sans-serif">
POS</h4>
<p style="font-weight: 300;">Easy configuring
and convivial selling</p>
</div>
</div>
</a>
</div>
<div class="bg-white deep-2 px-4 py-3 my-3" style="border-radius: 10px;">
<a href="https://www.cybrosys.com/odoo/industries/service-management/" target="_blank"
class="text-dark" style="text-decoration: none;">
<div class="row">
<div class="col-lg-3 no-gutters">
<img src="./assets/icons/service.png">
</div>
<div class="col-lg-9 no-gutters pt-3">
<h4 style="font-family: Roboto, 'sans-serif">
Service Management</h4>
<p style="font-weight: 300;">Keep track of
services and invoice accordingly
</p>
</div>
</div>
</a>
</div>
<div class="bg-white deep-2 px-4 py-3 my-3" style="border-radius: 10px;">
<a href="https://www.cybrosys.com/odoo/industries/restaurant-management/" target="_blank"
class="text-dark" style="text-decoration: none;">
<div class="row">
<div class="col-lg-3 no-gutters">
<img src="./assets/icons/restaurant.png">
</div>
<div class="col-lg-9 no-gutters pt-3">
<h4 style="font-family: Roboto, 'sans-serif">
Restaurant</h4>
<p style="font-weight: 300;">Run your bar or
restaurant methodica</p>
</div>
</div>
</a>
</div>
<div class="bg-white deep-2 px-4 py-3 my-3" style="border-radius: 10px;">
<a href="https://www.cybrosys.com/odoo/industries/hotel-management-erp/" target="_blank"
class="text-dark" style="text-decoration: none;">
<div class="row">
<div class="col-lg-3 no-gutters">
<img src="./assets/icons/hotel.png">
</div>
<div class="col-lg-9 no-gutters pt-3">
<h4 style="font-family: Roboto, 'sans-serif">
Hotel Management</h4>
<p style="font-weight: 300;">An all-inclusive
hotel management application
</p>
</div>
</div>
</a>
</div>
</div>
<!-- End of Right Column -->
</div>
</div>
</section>
<!-- End of Our Industries-->
<!-- Footer Section -->
<section class="container">
<div class="row" style="max-width:1540px;">
<div class="col-lg-12" style="background-color:#ffffff !important; padding: 4rem 2.5rem;">
<hr style="border: 2px solid #CB114A; width: 100px; margin-left: 0; margin-bottom: 3rem;">
<h1
style="font-family: Montserrat, 'sans-serif'; font-weight: 700; color: #000; margin-top: -1rem; margin-bottom: 0rem; text-transform: uppercase;">
Need Help?
</h1>
</div>
</div>
<!-- Contact Cards -->
<div class="row d-flex justify-content-center align-items-center"
style="max-width:1540px; margin: 0 auto 2rem auto;">
<div class="col-lg-12"
style="padding: 0rem 3rem 2rem; border-radius: 10px; margin-right: 3rem; margin-top: -3.5rem; !important">
<p class="mb-4" style="color: #808e9b; font-size: 1.2rem;">Do you have any queries
regarding
our
products &amp; services? Let us know.</p>
<div class="row">
<div class="col-lg-6">
<a href="mailto:odoo@cybrosys.com" target="_blank" class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #CB114A; color: #FFF; border-radius: 4px;">odoo@cybrosys.com</a>
</div>
<div class="col-lg-6">
<a href="mailto:info@cybrosys.com" target="_blank" class="btn btn-block deep_hover"
style="text-decoration: none; background-color: #CB114A; color: #FFF; border-radius: 4px;">info@cybrosys.com</a>
</div>
</div>
</div>
</div>
<!-- End of Contact Cards -->
</section>
<!-- Footer -->
<section class="oe_container" style="padding:2rem 3rem 1rem;">
<div class="row" style="max-width:1540px; margin: 0 auto; margin-right: 3rem; ">
<!-- Logo -->
<div class="col-lg-12 d-flex justify-content-center align-items-center" style="margin-top: 4rem;">
<img src="https://www.cybrosys.com/images/logo.png" width="200px" height="auto" />
</div>
<!-- End of Logo -->
<div class="col-lg-12" style="margin-top: 2rem;">
<hr
style="margin-top: 3rem;background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(229,229,229,1) 33%, rgba(229,229,229,1) 58%, rgba(0,212,255,0) 100%); height: 2px; border-style: none;">
<!-- End of Footer Section -->
</div>
</div>
</section>

105
customer_product_qrcode/views/view.xml

@ -0,0 +1,105 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record id="partner_form_inherit" model="ir.ui.view">
<field name="name">res.partner.form.qr.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button name="generate_qr" type="object" class="btn-box"
icon="fa-qrcode">
<field name="sequence" invisible="1"/>
Generate QR
</button>
</div>
<field name="category_id" position="after">
<field name="sequence"/>
</field>
</field>
</record>
<record id="product_form_inherit" model="ir.ui.view">
<field name="name">product.product.form.qr.inherit</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button name="generate_qr" type="object" class="btn-box"
icon="fa-qrcode">
<field name="sequence" invisible="1"/>
Generate QR
</button>
</div>
<field name="categ_id" position="after">
<field name="sequence"/>
</field>
</field>
</record>
<record id="product_template_form_inherit" model="ir.ui.view">
<field name="name">product.template.form.qr.inherit</field>
<field name="model">product.template</field>
<field name="inherit_id"
ref="product.product_template_only_form_view"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button name="generate_qr" type="object" class="btn-box"
icon="fa-qrcode">Generate QR
</button>
</div>
</field>
</record>
<record id="settings_form_inherit_for_qr" model="ir.ui.view">
<field name="name">res.config.inherit.qr</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@id='multi_company']" position="after">
<div id="setup_qrcode">
<h2>Setup QRCode</h2>
<div class="row mt16 o_settings_container">
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_right_pane">
<label string="Prefixes"
for="customer_prefix"/>
<span class="fa fa-lg"/>
<div class="text-muted">
Set your unique prefix.
</div>
<div class="content-group">
<div class="mt16 row">
<label for="customer_prefix"
class="col-xs-3 col-md-6 o_light_label"/>
<field name="customer_prefix"
class="oe_inline"/>
<label for="product_prefix"
class="col-xs-3 col-md-6 o_light_label"/>
<field name="product_prefix"
class="oe_inline"/>
</div>
</div>
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>
</data>
<data noupdate="1">
<record id="customer_sequence_id" model="ir.sequence">
<field name="name">customer_sequence</field>
<field name="code">res.partner</field>
<field name="prefix"></field>
<field name="padding">5</field>
</record>
</data>
<data noupdate="1">
<record id="product_sequence_id" model="ir.sequence">
<field name="name">product_sequence</field>
<field name="code">product.product</field>
<field name="prefix"></field>
<field name="padding">5</field>
</record>
</data>
</odoo>
Loading…
Cancel
Save