Browse Source

Apr 23: [ADD] Initial Commit 'bill_digitization'

pull/317/head
RisvanaCybro 1 year ago
parent
commit
49c71c3078
  1. 46
      bill_digitization/README.rst
  2. 23
      bill_digitization/__init__.py
  3. 57
      bill_digitization/__manifest__.py
  4. 5
      bill_digitization/doc/RELEASE_NOTES.md
  5. 22
      bill_digitization/models/__init__.py
  6. 32
      bill_digitization/models/res_config_settings.py
  7. 2
      bill_digitization/security/ir.model.access.csv
  8. BIN
      bill_digitization/static/description/assets/icons/cogs.png
  9. BIN
      bill_digitization/static/description/assets/icons/consultation.png
  10. BIN
      bill_digitization/static/description/assets/icons/ecom-black.png
  11. BIN
      bill_digitization/static/description/assets/icons/education-black.png
  12. BIN
      bill_digitization/static/description/assets/icons/hotel-black.png
  13. BIN
      bill_digitization/static/description/assets/icons/license.png
  14. BIN
      bill_digitization/static/description/assets/icons/lifebuoy.png
  15. BIN
      bill_digitization/static/description/assets/icons/manufacturing-black.png
  16. BIN
      bill_digitization/static/description/assets/icons/pos-black.png
  17. BIN
      bill_digitization/static/description/assets/icons/puzzle.png
  18. BIN
      bill_digitization/static/description/assets/icons/restaurant-black.png
  19. BIN
      bill_digitization/static/description/assets/icons/service-black.png
  20. BIN
      bill_digitization/static/description/assets/icons/trading-black.png
  21. BIN
      bill_digitization/static/description/assets/icons/training.png
  22. BIN
      bill_digitization/static/description/assets/icons/update.png
  23. BIN
      bill_digitization/static/description/assets/icons/user.png
  24. BIN
      bill_digitization/static/description/assets/icons/wrench.png
  25. BIN
      bill_digitization/static/description/assets/misc/Cybrosys R.png
  26. BIN
      bill_digitization/static/description/assets/misc/categories.png
  27. BIN
      bill_digitization/static/description/assets/misc/check-box.png
  28. BIN
      bill_digitization/static/description/assets/misc/compass.png
  29. BIN
      bill_digitization/static/description/assets/misc/config.png
  30. BIN
      bill_digitization/static/description/assets/misc/corporate.png
  31. BIN
      bill_digitization/static/description/assets/misc/customer-support.png
  32. BIN
      bill_digitization/static/description/assets/misc/features.png
  33. BIN
      bill_digitization/static/description/assets/misc/logo.png
  34. BIN
      bill_digitization/static/description/assets/misc/pictures.png
  35. BIN
      bill_digitization/static/description/assets/misc/pie-chart.png
  36. BIN
      bill_digitization/static/description/assets/misc/right-arrow.png
  37. BIN
      bill_digitization/static/description/assets/misc/star.png
  38. BIN
      bill_digitization/static/description/assets/misc/support.png
  39. BIN
      bill_digitization/static/description/assets/misc/whatsapp.png
  40. BIN
      bill_digitization/static/description/assets/modules/1.jpg
  41. BIN
      bill_digitization/static/description/assets/modules/3.png
  42. BIN
      bill_digitization/static/description/assets/modules/4.jpg
  43. BIN
      bill_digitization/static/description/assets/modules/5.png
  44. BIN
      bill_digitization/static/description/assets/modules/6.png
  45. BIN
      bill_digitization/static/description/assets/modules/banner.gif
  46. BIN
      bill_digitization/static/description/assets/screenshots/bill-1.png
  47. BIN
      bill_digitization/static/description/assets/screenshots/bill-2.png
  48. BIN
      bill_digitization/static/description/assets/screenshots/bill-3.png
  49. BIN
      bill_digitization/static/description/assets/screenshots/bill-4-1.png
  50. BIN
      bill_digitization/static/description/assets/screenshots/bill-4.png
  51. BIN
      bill_digitization/static/description/assets/screenshots/boolean.png
  52. BIN
      bill_digitization/static/description/assets/screenshots/button.png
  53. BIN
      bill_digitization/static/description/assets/screenshots/demo_bill1.jpg
  54. BIN
      bill_digitization/static/description/assets/screenshots/demo_bill2.png
  55. BIN
      bill_digitization/static/description/assets/screenshots/hero.gif
  56. BIN
      bill_digitization/static/description/assets/screenshots/sample_bill.png
  57. BIN
      bill_digitization/static/description/assets/screenshots/vendor_bill.png
  58. BIN
      bill_digitization/static/description/assets/screenshots/wizard.png
  59. BIN
      bill_digitization/static/description/banner.jpg
  60. BIN
      bill_digitization/static/description/icon.png
  61. 725
      bill_digitization/static/description/index.html
  62. 37
      bill_digitization/static/src/js/list_controller.js
  63. 26
      bill_digitization/static/src/xml/list_controller.xml
  64. 28
      bill_digitization/views/res_config_settings_views.xml
  65. 22
      bill_digitization/wizard/__init__.py
  66. 395
      bill_digitization/wizard/digitize_bill.py
  67. 36
      bill_digitization/wizard/digitize_bill_views.xml

46
bill_digitization/README.rst

@ -0,0 +1,46 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
Bill Digitization
=================
This module creates bill from scanned bill document.
Configuration
=============
* Install the pytesseract python package
Company
-------
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
Credits
-------
Developer: (V17) Dhanya Babu, Contact: odoo@cybrosys.com
Contacts
--------
* Mail Contact : odoo@cybrosys.com
* Website : https://cybrosys.com
License
-------
GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3)
(https://www.gnu.org/licenses/agpl-3.0-standalone.html)
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>`__

23
bill_digitization/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Dhanya Babu (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
from . import models
from . import wizard

57
bill_digitization/__manifest__.py

@ -0,0 +1,57 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Dhanya Babu (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
{
'name': 'Bill Digitization',
'version': '17.0.1.0.0',
'category': 'Accounting',
'summary': """Converting traditional paper-based bills into digital
formats.""",
'description': """Reading scanned documents with extension .jpg, .jpeg and
.png using specialized hardware and converting them into
vendor bills in odoo. It makes use of the Optical Character
Recognition (OCR) technology to convert scanned images into
editable text""",
'author': "Cybrosys Techno Solutions",
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'website': "https://www.cybrosys.com",
'depends': ['base', 'base_accounting_kit', 'web'],
'data': [
'security/ir.model.access.csv',
'views/res_config_settings_views.xml',
'wizard/digitize_bill_views.xml',
],
'assets': {
'web.assets_backend': [
'bill_digitization/static/src/js/list_controller.js',
'bill_digitization/static/src/xml/list_controller.xml',
],
},
'external_dependencies': {
'python': ['PIL', 'pytesseract']
},
'images': ['static/description/1.jpg'],
'license': 'AGPL-3',
'installable': True,
'auto_install': False,
'application': False
}

5
bill_digitization/doc/RELEASE_NOTES.md

@ -0,0 +1,5 @@
## Module <bill_digitization>
#### 18.04.2024
#### Version 17.0.1.0.0
#### ADD
- Initial commit for Bill Digitization

22
bill_digitization/models/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Dhanya Babu (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
from . import res_config_settings

32
bill_digitization/models/res_config_settings.py

@ -0,0 +1,32 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Dhanya Babu (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
""" Class to add a boolean in config settings """
_inherit = "res.config.settings"
digitize_bill = fields.Boolean(
string="Digitize Bill",
config_parameter='bill_digitization.digitize_bill',
help="Enable the button to digitize bills")

2
bill_digitization/security/ir.model.access.csv

@ -0,0 +1,2 @@
id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink
access_digitize_bill_user,access.digitize.bill.user,model_digitize_bill,base.group_user,1,1,1,1
1 id name model_id/id group_id/id perm_read perm_write perm_create perm_unlink
2 access_digitize_bill_user access.digitize.bill.user model_digitize_bill base.group_user 1 1 1 1

BIN
bill_digitization/static/description/assets/icons/cogs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
bill_digitization/static/description/assets/icons/consultation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
bill_digitization/static/description/assets/icons/ecom-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

BIN
bill_digitization/static/description/assets/icons/education-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
bill_digitization/static/description/assets/icons/hotel-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

BIN
bill_digitization/static/description/assets/icons/license.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
bill_digitization/static/description/assets/icons/lifebuoy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
bill_digitization/static/description/assets/icons/manufacturing-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
bill_digitization/static/description/assets/icons/pos-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

BIN
bill_digitization/static/description/assets/icons/puzzle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
bill_digitization/static/description/assets/icons/restaurant-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

BIN
bill_digitization/static/description/assets/icons/service-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

BIN
bill_digitization/static/description/assets/icons/trading-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

BIN
bill_digitization/static/description/assets/icons/training.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
bill_digitization/static/description/assets/icons/update.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
bill_digitization/static/description/assets/icons/user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

BIN
bill_digitization/static/description/assets/icons/wrench.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
bill_digitization/static/description/assets/misc/Cybrosys R.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
bill_digitization/static/description/assets/misc/categories.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
bill_digitization/static/description/assets/misc/check-box.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
bill_digitization/static/description/assets/misc/compass.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
bill_digitization/static/description/assets/misc/config.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
bill_digitization/static/description/assets/misc/corporate.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
bill_digitization/static/description/assets/misc/customer-support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
bill_digitization/static/description/assets/misc/features.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

BIN
bill_digitization/static/description/assets/misc/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
bill_digitization/static/description/assets/misc/pictures.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
bill_digitization/static/description/assets/misc/pie-chart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
bill_digitization/static/description/assets/misc/right-arrow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

BIN
bill_digitization/static/description/assets/misc/star.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
bill_digitization/static/description/assets/misc/support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
bill_digitization/static/description/assets/misc/whatsapp.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
bill_digitization/static/description/assets/modules/1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

BIN
bill_digitization/static/description/assets/modules/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
bill_digitization/static/description/assets/modules/4.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
bill_digitization/static/description/assets/modules/5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

BIN
bill_digitization/static/description/assets/modules/6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

BIN
bill_digitization/static/description/assets/modules/banner.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 KiB

BIN
bill_digitization/static/description/assets/screenshots/bill-1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
bill_digitization/static/description/assets/screenshots/bill-2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
bill_digitization/static/description/assets/screenshots/bill-3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
bill_digitization/static/description/assets/screenshots/bill-4-1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
bill_digitization/static/description/assets/screenshots/bill-4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

BIN
bill_digitization/static/description/assets/screenshots/boolean.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

BIN
bill_digitization/static/description/assets/screenshots/button.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

BIN
bill_digitization/static/description/assets/screenshots/demo_bill1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
bill_digitization/static/description/assets/screenshots/demo_bill2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
bill_digitization/static/description/assets/screenshots/hero.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

BIN
bill_digitization/static/description/assets/screenshots/sample_bill.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 KiB

BIN
bill_digitization/static/description/assets/screenshots/vendor_bill.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

BIN
bill_digitization/static/description/assets/screenshots/wizard.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
bill_digitization/static/description/banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
bill_digitization/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

725
bill_digitization/static/description/index.html

@ -0,0 +1,725 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Odoo App 3 Index</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap"
rel="stylesheet">
</head>
<body>
<section>
<div class="container"
style="font-family: 'Inter', sans-serif !important;background-color: #fff !important;">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between flex-wrap align-items-sm-center"
style="border-bottom:1px solid rgba(0, 0, 0, 0.22)">
<div class="my-3">
<img src="assets/misc/Cybrosys R.png"
style="width:auto !important; height:40px !important">
</div>
<div class="my-3 d-flex align-items-center">
<div class="text-center"
style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;">
Community
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 text-center d-flex align-items-center flex-column"
style="margin: 80px 0px !important;">
<h1 style="font-size: 2.8rem;font-weight: 700; color:
#1A202C;">
Bill Digitization</h1>
<p class="my-3 mb-4"
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;">
Creating Vendor Bill from Scanned Document.
</p>
<div style="width: 80%; margin-top: 3rem;">
<img src="assets/screenshots/hero.gif"
class="img-responsive" width="100%" height="auto">
</div>
</div>
</div>
<div class="container mt-5 mb-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#714b67 !important">
Key Highlights
</p>
</div>
<div class="row py-4">
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
Bill Digitization allows user to create vendor bill from scanned
documents.
User can read .jpg, .jpeg and .png scanned files.</p>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
Need to install the following python packages 1. PIL (pip3 install PIL) 2. pytesseract (pip3 install pytesseract) 3. tesseract-ocr (sudo apt-get install tesseract-ocr)
</p>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
Boolean Field on Configuration Settings to Choose Digitization Need</p>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
A Button on Vendor Bill Tree View to Read Documents.</p>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 p-3">
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px;
background: #FFF;
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); ">
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67;
display: flex; justify-content: center; align-items: center;
margin-right: 10px; flex-shrink: 0;">
<i class="fa-solid fa-star "
style="color: #fff;font-size:14px;"></i>
</div>
<div>
<p style="color: #1A202C;font-weight: 600;
font-size: 1.2rem; margin-bottom: 2px;">
A View that Shows the Vendor Bill with All the Fetched Data.</p>
</div>
</div>
</div>
</div>
</div>
<div class="container rounded">
<ul class="nav nav-tabs d-flex"
style="width: fit-content;margin: 0 auto;gap: 1rem;">
<li class="col text-center py-2 text-nowrap "
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;">
<a
class="active show" data-toggle="tab" href="#tab1"
style="color: #fff;font-weight: 500; background-color: #714B67; text-decoration: none;">
<i class="fa-regular fa-image pr-2"
style="color: #fff;"></i>
Screenshots</a></li>
<li class="col text-center py-2 text-nowrap "
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;">
<a
data-toggle="tab" href="#tab2"
style="color: #fff;font-weight: 500; text-decoration: none;"><i
class="fa-solid fa-star pr-2"
style="color: #fff;"></i>Features</a></li>
<li class="col text-center py-2 text-nowrap "
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;">
<a
data-toggle="tab" href="#tab3"
style="color: #fff;font-weight: 500; text-decoration: none; background-color: #714B67;"><i
class="fa-solid fa-book-open pr-2"
style="color: #fff;"></i>Released Notes</a></li>
</ul>
<div class="tab-content"
style="background-color: rgba(121, 113, 119, 0.04);">
<div id="tab1" class="tab-pane fade in active show">
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/bill-1.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
This allows the user to choose digitization.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/bill-2.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Button to read scanned documents.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/bill-3.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
A wizard that allows to read document.</h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/sample_bill.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Sample bill </h4>
</div>
</div>
</div>
<div class="col-lg-12 py-2"
style="padding: 1rem 4rem !important;">
<div
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="row justify-content-center p-3 w-100 m-0">
<img src="assets/screenshots/vendor_bill.png"
class="img-responsive" width="100%"
height="auto">
</div>
<div class="px-3">
<h4 class="mt-2"
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
Vendor bill with scanned document data.(The example format for scanned document is added in the
module.)</h4>
</div>
</div>
</div>
</div>
<div id="tab3" class="tab-pane fade">
<div class="col-mg-12 active" style="padding: 1rem 4rem;">
<div class="py-3"
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="d-flex mb-3"
style="font-size: 0.8rem; font-weight: 500;"><span>Version
17.0.1.0.0</span><span
class="px-2">|</span><span
style="color: #714B67;font-weight: 600;">Released on:15th January 2024</span>
</div>
<p class="m-0"
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;">
Initial Commit for Hide Create|Delete|Archive|Export Options - Model Wise.</p>
</div>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Related Products</p>
</div>
</div>
<div id="myCarousel" class="carousel slide py-3" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<div class="row p-4">
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/base_account_budget/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/1.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Base Account Budget</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/base_accounting_kit/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/banner.gif"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Base Accounting Kit</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/dynamic_accounts_report/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/3.png
"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Dynamic Accounts Report</p>
</div>
</a>
</div>
</div>
</div>
</div>
<div class="carousel-item">
<div class="row p-4">
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/hr_payroll_account_community/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px; ">
<img src="assets/modules/4.jpg"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Payroll Account Community</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/account_payment_approval/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px;">
<img src="assets/modules/5.png"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Account Payment Approvals</p>
</div>
</a>
</div>
</div>
<div class="col">
<div class="p-3">
<a href="https://apps.odoo.com/apps/modules/17.0/progress_billing/"
style="color: #000; text-decoration: none;">
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;">
<div style="width: 300px;">
<img src="assets/modules/6.png"
alt="" width="100%"
height="auto">
</div>
<p class="text-center pt-2 text-black font-weight-bold">
Customer Progress Billing</p>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#myCarousel"
data-slide="prev" style="width: 35px; color: #000;">
<span class="carousel-control-prev-icon">
<i class="fa fa-chevron-left"
style="font-size: 24px;"></i>
</span>
</a>
<a class="carousel-control-next" href="#myCarousel"
data-slide="next" style="width: 35px; color: #000;">
<span class="carousel-control-next-icon">
<i class="fa fa-chevron-right"
style="font-size: 24px;"></i>
</span>
</a>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Our Services</p>
</div>
</div>
<div class="container my-5">
<div class="row py-3">
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#13EA36 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/cogs.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Customization</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#DBC711; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/wrench.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Implementation</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#FF6B6B ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/lifebuoy.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Support</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#FFA801 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/user.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Hire
Odoo Developer</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#54A0FF; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/puzzle.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Integration</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#6D7680 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/update.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Migration</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#786FA6 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/consultation.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Consultancy</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#F8A5C2 ; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/training.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Implementation</p>
</div>
</div>
<div class="col-md-4 col-sm-6 px-4 py-4">
<div
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;">
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);">
<div style="background-color:#E6BE26; border-radius: 50%; padding: 15px; width: 68px;
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);">
<img src="assets/icons/license.png"
alt="service-icon" width="38px"
height="auto">
</div>
</div>
<p style="margin-top: 20px; font-weight: bold;">Odoo
Licensing Consultancy</p>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Our Industries</p>
</div>
</div>
<div class="container">
<div class="row my-5 py-4">
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100 "
style="border-right: 1px solid rgb(209, 209, 209); border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; box-shadow: 6px 0 10px rgba(228, 227, 227, 0.373);">
<img src="assets/icons/trading-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">Trading</p>
<p>Easily procure and sell your products</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgb(209, 209, 209); padding: 30px;">
<img src="assets/icons/pos-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">POS</p>
<p>Easy configuration and convivial experience</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgba(0, 0, 0, 0.2); padding: 30px; box-shadow: 0 5px 10px rgba(228, 227, 227, 0.373)">
<img src="assets/icons/education-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">
Education</p>
<p>A platform for educational management</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; ">
<img src="assets/icons/manufacturing-black.png"
width="42px" height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">
Manufacturing</p>
<p>Plan, track and schedule your operations</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;">
<img src="assets/icons/ecom-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">E-commerce &
Website</p>
<p>Mobile friendly, awe-inspiring product pages</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;box-shadow: 0 -5px 10px rgba(228, 227, 227, 0.373);">
<img src="assets/icons/service-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">Service
Management</p>
<p>Keep track of services and invoice</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px; ">
<img src="assets/icons/restaurant-black.png"
width="42px" height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">
Restaurant</p>
<p>Run your bar or restaurant methodically</p>
</div>
</div>
<div class="col-md-3 col-sm-6 p-0">
<div class="d-flex flex-column h-100"
style=" padding: 30px;box-shadow: -5px 0 10px rgba(228, 227, 227, 0.373);">
<img src="assets/icons/hotel-black.png" width="42px"
height="auto" alt="">
<p style="color: #714B67;font-weight: 600; margin-top: 10px;
font-size: 1.2rem; margin-bottom: 2px;">Hotel
Management</p>
<p>An all-inclusive hotel management application</p>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5">
<p class="m-0"
style="font-weight: 600; font-size: 24px; color:#000 !important">
Support</p>
</div>
</div>
<div class="container my-5">
<div class="row" style="background-color: #FFFAFE;">
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center"
style="border-right: 1px solid #D9D9D9;">
<div style="padding: 30px;">
<div class="d-flex align-items-center">
<img src="assets/misc/support (1) 1.svg" alt=""
width="60px" style="margin-right: 12px;">
<div style="padding: 0px 8px;">
<span
style="color: #714B67;font-size: 24px;font-weight: 600;padding-bottom: 1rem;">Need
Help?</span>
<p class="m-0" style="color:#718096;">Got
questions or need help? Get in touch.</p>
<div style="font-weight: 400;"><span><img
src="assets/misc/support-email.svg"
alt=""
width="18px"
style="filter: invert(1);margin-right: 0.8rem;"></span>odoo@cybrosys.com
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center">
<div style="padding: 30px;">
<div class="d-flex align-items-center">
<img src="assets/misc/whatsapp 1.svg" alt=""
width="60px" style="margin-right: 12px;">
<div>
<span style="color: #714B67;font-size: 24px;font-weight: 600;">WhatsApp</span>
<p class="m-0" style="color:#718096;">Say hi to
us on WhatsApp!</p>
<div style="font-weight: 400; font-size: 16px;"><span><img
src="assets/misc/phone.svg"
alt="" width="14px"
style="filter: invert(1); margin-right: 0.8rem;"></span>+91
99456767686
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>

37
bill_digitization/static/src/js/list_controller.js

@ -0,0 +1,37 @@
/** @odoo-module */
import { ListController } from '@web/views/list/list_controller';
import { useService } from "@web/core/utils/hooks";
import { patch } from "@web/core/utils/patch";
import { useState } from "@odoo/owl";
import { _t } from "@web/core/l10n/translation";
patch(ListController.prototype, {
/**
* This function will used to hide the selected options from the list view
*/
async setup() {
super.setup(...arguments);
this.state = useState({
button_state : false
})
this.actionService = useService("action");
this.orm = useService("orm");
const digitizeBillParam = await this.env.services.orm.silent.call(
'ir.config_parameter',
'get_param',
["bill_digitization.digitize_bill"],
);
this.state.button_state = digitizeBillParam
},
/* Opening a wizard on button click */
onClickDigitize() {
this.actionService.doAction({
name: _t("Upload Bill"),
type: "ir.actions.act_window",
res_model: "digitize.bill",
view_type : 'form',
view_mode : 'form',
views: [[false, "form"]],
target: 'new',
});
},
});

26
bill_digitization/static/src/xml/list_controller.xml

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<!-- Extension template for adding buttons in the listview -->
<t t-inherit="web.ListView.Buttons" t-inherit-mode="extension">
<!-- Add buttons after the 'Digitize Bill' button -->
<xpath expr="//div[hasclass('o_list_buttons')]"
position="inside">
<!-- Add button for digitize the bill-->
<t t-if="this.props.context.default_move_type == 'in_invoice'">
<button type="button" class="btn btn-secondary " t-if="this.state.button_state"
t-on-click="onClickDigitize" data-tooltip="Print PDF">Digitize Bill</button>
</t>
</xpath>
</t>
<t t-inherit="account.ListView.Buttons" t-inherit-mode="extension">
<!-- Add buttons after the 'Digitize Bill' button -->
<xpath expr="//div[hasclass('o_list_buttons')]"
position="inside">
<!-- Add button for digitize the bill-->
<t t-if="this.props.context.default_move_type == 'in_invoice'">
<button type="button" class="btn btn-secondary" t-if="this.state.button_state"
t-on-click="onClickDigitize" data-tooltip="Print PDF">Digitize Bill</button>
</t>
</xpath>
</t>
</templates>

28
bill_digitization/views/res_config_settings_views.xml

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Inheriting the view of res_config_setting -->
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.bill.digitization</field>
<field name="model">res.config.settings</field>
<field name="inherit_id"
ref="account.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//block[@id='account_vendor_bills']"
position="inside">
<div class="col-xs-12 col-md-6 o_setting_box"
id="digitize_bill">
<div class="o_setting_left_pane">
<field name="digitize_bill"/>
</div>
<div class="o_setting_right_pane"
name="digitize_bill_right_pane">
<label for="digitize_bill"/>
<div class="text-muted">
Digitize bill from scanned documents with .jpg, .jpeg or .png extension using OCR and Artificial Intelligence
</div>
</div>
</div>
</xpath>
</field>
</record>
</odoo>

22
bill_digitization/wizard/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Dhanya Babu (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
from . import digitize_bill

395
bill_digitization/wizard/digitize_bill.py

@ -0,0 +1,395 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Dhanya Babu (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# (AGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
import io
import pytesseract
import re
from PIL import Image
from odoo import Command, fields, models, _
from odoo.exceptions import ValidationError
class DigitizeBill(models.TransientModel):
""" To read documents and to convert into vendor bills """
_name = "digitize.bill"
_description = "Digitize Bill"
bill = fields.Binary(string="Document", required=True,
help="Choose a scanned document")
file_name = fields.Char(string="File Name", help="Name of the file")
def record_lines(self, product_lines_newline_name_qty_price_amount,
product_lines_name_qty_amount,
product_lines_qty_name_amount,
product_lines_name_qty_price_amount1,
product_lines_name_price_qty_amount_with_dollar,
product_lines_name_price_qty_amount,
product_lines_name_amount,
product_lines_name_qty_price_amount2,
product_lines_double_line_name,
product_lines_code_name,
product_lines_quantity_part,
product_lines_vendor_bill_pattern,
product_lines_quantity_price_amount_pattern,
product_lines_quantity_price_amount_pattern2,
product_line_name_with_extra_line):
""" Function to extract bill data from text read by pytesseract """
products = []
price = []
subtotal = []
quantity = []
if (product_lines_newline_name_qty_price_amount or
product_lines_name_qty_price_amount1 or
product_lines_name_qty_price_amount2):
if product_lines_name_qty_price_amount1:
product_lines_newline_name_qty_price_amount = (
product_lines_name_qty_price_amount1)
if product_lines_name_qty_price_amount2:
product_lines_newline_name_qty_price_amount = (
product_lines_name_qty_price_amount2)
# Fetching products and create new ones
products = [self.env['product.product'].search(
[('name', '=', line[0])], limit=1) or
self.env['product.product'].create(
{'name': line[0]})
for line in
product_lines_newline_name_qty_price_amount]
# Creating lists for prices and subtotals
price = [line[2] for line in
product_lines_newline_name_qty_price_amount]
subtotal = [line[3] for line in
product_lines_newline_name_qty_price_amount]
elif product_lines_name_qty_amount:
# Fetching products and create new ones
products = [
self.env['product.product'].search([('name', '=', line[0])],
limit=1) or
self.env['product.product'].create({'name': line[0]})
for line in product_lines_name_qty_amount]
# Calculating unit prices
price = [
float(line[2]) / float(line[1]) if float(line[1]) != 0 else 0
for line in product_lines_name_qty_amount]
# Creating a list for subtotals
subtotal = [line[2] for line in product_lines_name_qty_amount]
elif product_lines_qty_name_amount:
# Fetching products and create new ones
products = [
self.env['product.product'].search([('name', '=', line[1])],
limit=1) or
self.env['product.product'].create({'name': line[1]})
for line in product_lines_qty_name_amount]
# Calculating unit prices
price = [
float(line[2]) / float(line[0]) if float(line[0]) != 0 else 0
for line in product_lines_qty_name_amount]
# Creating a list for subtotals
subtotal = [line[2] for line in product_lines_qty_name_amount]
elif (product_lines_name_price_qty_amount_with_dollar or
product_lines_name_price_qty_amount):
if product_lines_name_price_qty_amount:
product_lines_name_price_qty_amount_with_dollar = (
product_lines_name_price_qty_amount)
# Fetching products and create new ones
products = [
self.env['product.product'].search([('name', '=', line[0])],
limit=1) or
self.env['product.product'].create({'name': line[0]})
for line in product_lines_name_price_qty_amount_with_dollar]
# Extracting item prices and amounts
price = [line[1].replace('$', '') if '$' in line[1] else line[1]
for line in
product_lines_name_price_qty_amount_with_dollar]
subtotal = [line[3].replace('$', '') if '$' in line[3] else line[3]
for line in
product_lines_name_price_qty_amount_with_dollar]
elif product_lines_name_amount:
# Fetching products and create new ones
products = [
self.env['product.product'].search([('name', '=', line[0])],
limit=1) or
self.env['product.product'].create({'name': line[0]})
for line in product_lines_name_amount]
# Extracting item amounts and create a list for subtotals
subtotal = [line[1].replace('$', '') if '$' in line[1] else line[1]
for line in product_lines_name_amount]
elif product_lines_code_name:
name_list_one = []
if product_line_name_with_extra_line:
for code, name in product_line_name_with_extra_line:
product_info = f"{code} {name}"
name_list_one.append(product_info)
names = [item.strip() for item in
product_lines_code_name[0].split('\n') if item.strip()]
if name_list_one and len(name_list_one) > len(names):
names = name_list_one
if product_lines_quantity_part:
order_lines = [line.strip() for line in
product_lines_quantity_part[0].split('\n') if
line.strip()]
elif product_lines_quantity_price_amount_pattern:
order_lines = [line.strip() for line in
product_lines_quantity_price_amount_pattern[
0].split('\n') if
line.strip()]
elif product_lines_quantity_price_amount_pattern2:
order_lines = [line.strip() for line in
product_lines_quantity_price_amount_pattern2[
0].split('\n') if
line.strip()]
else:
order_lines = []
# Create the 'products' list
products = [
self.env['product.product'].search([('name', '=', name)],
limit=1) or
self.env['product.product'].create({'name': name})
for name in names]
# Creating the unit price list
price = [float(line.split()[1].replace(',', '')) if line else 0 for
line in order_lines]
# Calculating and Creating the 'subtotal' list
subtotal = [float(line.split()[1].replace(',', '')) * float(
line.split()[0]) if line else 0 for line in order_lines]
# Creating the quantity list
quantity = [float(line.split()[0]) if line else 0 for line in
order_lines]
elif product_lines_vendor_bill_pattern:
products = [
self.env['product.product'].search([('name', '=', item[0])],
limit=1) or
self.env['product.product'].create({'name': item[0]})
for item in product_lines_vendor_bill_pattern]
quantity = [float(item[1]) for item in
product_lines_vendor_bill_pattern]
price = [float(item[2]) for item in
product_lines_vendor_bill_pattern]
subtotal = [float(item[2]) * float(item[1]) for item in
product_lines_vendor_bill_pattern]
if product_lines_double_line_name:
for line in product_lines_double_line_name:
product_name = line[0] + ' ' + line[1]
product = self.env['product.product'].search(
[('name', '=', product_name)], limit=1)
if not product:
product = self.env['product.product'].create({
'name': product_name
})
products.append(product)
if '$' in line[5]:
line[5] = line[5].replace('$', '')
subtotal.append(line[5])
item_price = line[4].replace('$', '') if '$' in line[4] else \
line[4]
price.append(item_price)
if bool(quantity):
# Looping lists to create product line values
move_line_vals = [
(0, 0, {
'product_id': product.id,
'name': 'Outside Bill',
'price_unit': price_amount,
'price_subtotal': total_amount,
'quantity': qty,
'tax_ids': [Command.set([])],
'move_id': self.id,
})
for product, price_amount, total_amount, qty in
zip(products, price, subtotal, quantity)
]
elif bool(price):
# Looping three lists to create product line values
move_line_vals = [
(0, 0, {
'product_id': product.id,
'name': 'Outside Bill',
'price_unit': price_amount,
'price_subtotal': total_amount,
'tax_ids': [Command.set([])],
'move_id': self.id,
})
for product, price_amount, total_amount in
zip(products, price, subtotal)
]
else:
move_line_vals = [
(0, 0, {
'product_id': product.id,
'name': 'Outside Bill',
'price_subtotal': total_amount,
'tax_ids': [Command.set([])],
'move_id': self.id,
})
for product, total_amount in zip(products, subtotal)
]
return move_line_vals
def create_record(self, text):
""" Function to create vendor bill """
# Different patterns or regular expressions to identify the data
# from the text
newline_name_qty_price_amount = \
r'\n([A-Za-z ]+) (\d+) (\d+\.\d{2}) (\d+\.\d{2})'
name_qty_amount = r'\n([A-Za-z ]+) (\d+) (\d+\.\d{2})'
qty_name_amount = r'\n(\d+) ([A-Za-z ]+) (\d+\.\d{2})'
name_qty_price_amount1 = r'\s*([A-Za-z() \d]+) (\d+) (\d+) (\d+)'
name_price_qty_amount_with_dollar = \
r'\n(\$?\w+(?: \w+)*) (\$[\d.]+) (\d+) (\$[\d.]+)'
name_price_qty_amount = \
r'\n(\$?\w+(?: \w+)*) (\[\d.]+) (\d+) (\[\d.]+)'
name_amount = r'\n(\$?\w+(?: \w+)*) (\d+\.\d{2})'
name_qty_price_amount2 = r"([\w\s]+)\s+(\d+)\s+(\d+)\s+\$(\d+)"
double_line_name = \
r'([\w\s]+)\s([\w\s]+)\s*([\w\s]+)\s*(\d+)\s*(\$\d+' \
r'\.\d{2})\s*(\d+\.\d{2})'
code_name = r'Description\n([\s\S]*?)(?=\n\n)'
quantity_price_pattern = r'Quantity Unit Price Taxes\n([\s\S]*?)(?=\n\n)'
vendor_bill_pattern = r'\[[A-Z0-9-]+\] (.+?) (\d+\.\d+) (\d+\.\d+) (\d+\.\d+%?) \$ (\d+\.\d+)'
quantity_price_amount_pattern = r'Quantity Unit Price Taxes Amount\n((?:\d+\.\d+\s+\d+\.\d+\s+\d+\.\d+% \$\s+\d+\.\d+\n)+)'
quantity_price_amount_pattern2 = r'Quantity Unit Price Taxes Amount([\s\S]*?)(?:Untaxed Amount|Tax|Total|$)'
name_with_extra_line = r'\[([A-Z0-9-]+)\] (.+)'
# Pattern to match date and bill number from the text
date_pattern = r'\d{1,2}/\d{1,2}/\d{2,4}'
bill_no_pattern = r'Bill\sNo\.: (\d{4})'
# Pattern to match the year format of date
# (two digit or four digit format)
year_pattern = re.compile(r'\d{2}')
# Matching each pattern with the text and fetching the matching
# data from it
try:
product_lines_newline_name_qty_price_amount = re.findall(
newline_name_qty_price_amount, text)
product_lines_name_qty_amount = re.findall(name_qty_amount, text)
product_lines_qty_name_amount = re.findall(qty_name_amount, text)
product_lines_name_qty_price_amount1 = re.findall(
name_qty_price_amount1, text)
product_lines_name_price_qty_amount_with_dollar = re.findall(
name_price_qty_amount_with_dollar,
text)
product_lines_name_price_qty_amount = re.findall(
name_price_qty_amount, text)
product_lines_name_amount = re.findall(name_amount, text)
product_lines_name_qty_price_amount2 = re.findall(
name_qty_price_amount2, text)
product_lines_double_line_name = re.findall(double_line_name, text)
date_match = re.search(date_pattern, text)
bill_no_match = re.search(bill_no_pattern, text)
product_lines_code_name = re.findall(code_name, text)
product_lines_quantity_part = re.findall(
quantity_price_pattern, text)
product_lines_vendor_bill_pattern = re.findall(
vendor_bill_pattern, text)
product_lines_quantity_price_amount_pattern = re.findall(
quantity_price_amount_pattern, text)
product_lines_quantity_price_amount_pattern2 = re.findall(
quantity_price_amount_pattern2, text)
product_line_name_with_extra_line = re.findall(
name_with_extra_line, text)
except Exception:
raise ValidationError(_("Cannot find the pattern"))
date_object = ''
if date_match:
# Reading the date value if the date pattern match any data
date_value = date_match.group()
match = year_pattern.search(date_value)
if date_value == '%d/%m/%y' or date_value == '%d/%m/%Y':
date_object = fields.datetime.strptime(
date_value, '%d/%m/%y') if match and len(
date_value.split('/')[
-1]) == 2 else fields.datetime.strptime(
date_value, '%d/%m/%Y')
elif date_value == '%m/%d/%y' or date_value == '%m/%d/%Y':
date_object = fields.datetime.strptime(
date_value, '%m/%d/%y') if match and len(
date_value.split('/')[
-1]) == 2 else fields.datetime.strptime(
date_value, '%m/%d/%Y')
date = date_object.strftime(
'%Y-%m-%d') if date_object else fields.Date.today()
else:
date = fields.Date.today()
# Fetching the bill number if te pattern matches
bill_no = bill_no_match.group(1) if bill_no_match else ''
# Calling the function to get the product lines of the bill
move_line_vals = self.record_lines(
product_lines_newline_name_qty_price_amount,
product_lines_name_qty_amount,
product_lines_qty_name_amount,
product_lines_name_qty_price_amount1,
product_lines_name_price_qty_amount_with_dollar,
product_lines_name_price_qty_amount,
product_lines_name_amount, product_lines_name_qty_price_amount2,
product_lines_double_line_name,
product_lines_code_name,
product_lines_quantity_part,
product_lines_vendor_bill_pattern,
product_lines_quantity_price_amount_pattern,
product_lines_quantity_price_amount_pattern2,
product_line_name_with_extra_line)
# After getting all the data, creating a record in the
# vendor bill
bill_record = self.env['account.move'].create([{
'move_type': 'in_invoice',
'ref': bill_no,
'date': date,
'invoice_date': date,
'invoice_line_ids': move_line_vals,
}])
return bill_record
def action_add_document(self):
""" Function that reading the file in the format .jpg, .jpeg and .png
and converting into text using OCR python package """
try:
file_attachment = self.env["ir.attachment"].search(
['|', ('res_field', '!=', False), ('res_field', '=', False),
('res_id', '=', self.id),
('res_model', '=', 'digitize.bill')],
limit=1)
file_path = file_attachment._full_path(file_attachment.store_fname)
with open(file_path, mode='rb') as file:
binary_data = file.read()
img = Image.open(io.BytesIO(binary_data))
# Resizing the image to improve the clarity
resized_img = img.resize((img.width * 2, img.height * 2),
resample=Image.BICUBIC)
except Exception:
raise ValidationError(_("Cannot identify data"))
# Converting the image into text using OCR python package
# pytesseract
try:
text = pytesseract.image_to_string(resized_img)
except Exception:
raise ValidationError(_("Data cannot read"))
# Calling the function to create vendor bill
bill_record = self.create_record(text)
# Opening the vendor bill using its id
return {
'name': "Invoice",
'type': 'ir.actions.act_window',
'view_type': 'form',
'view_mode': 'form',
'res_model': 'account.move',
'res_id': bill_record.id,
'view_id': self.env.ref('account.view_move_form').id,
'target': 'current',
}

36
bill_digitization/wizard/digitize_bill_views.xml

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Wizard view to upload files -->
<record id="digitize_bill_view_form" model="ir.ui.view">
<field name="name">digitize.bill.view.form</field>
<field name="model">digitize.bill</field>
<field name="arch" type="xml">
<form>
<sheet>
<p><center><i>Upload images or pdf file format</i></center>
</p>
<group>
<group>
<field name="bill" filename="file_name"/>
<field name="file_name" invisible="1"/>
</group>
</group>
<footer>
<button name="action_add_document" class="oe_highlight"
string="ADD" type="object"
help="Add a bill document"/>
</footer>
</sheet>
</form>
</field>
</record>
<!-- Record for wizard action -->
<record id="digitize_bill_action" model="ir.actions.act_window">
<field name="name">Digitize Bill</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">digitize.bill</field>
<field name="view_mode">form</field>
<field name="view_id" ref="digitize_bill_view_form"/>
<field name="target">new</field>
</record>
</odoo>
Loading…
Cancel
Save