@ -0,0 +1,48 @@ |
|||||
|
.. 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 python packages PIL (pip3 install PIL),pytesseract (pip3 install pytesseract),tesseract-ocr (sudo apt-get install tesseract-ocr) |
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
* Developer: (V17) Dhanya Babu, |
||||
|
(V18) Nivedhya T , |
||||
|
* 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>`__ |
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-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 wizard |
@ -0,0 +1,57 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-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': 'Bill Digitization', |
||||
|
'version': '18.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/banner.jpg'], |
||||
|
'license': 'AGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': False |
||||
|
} |
@ -0,0 +1,6 @@ |
|||||
|
## Module <bill_digitization> |
||||
|
|
||||
|
#### 02.04.2025 |
||||
|
#### Version 18.0.1.0.0 |
||||
|
#### ADD |
||||
|
- Initial commit for Bill Digitization |
@ -0,0 +1,22 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-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 res_config_settings |
@ -0,0 +1,32 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-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 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") |
|
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 210 KiB |
After Width: | Height: | Size: 209 KiB |
After Width: | Height: | Size: 109 KiB |
After Width: | Height: | Size: 495 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 624 B |
After Width: | Height: | Size: 136 KiB |
After Width: | Height: | Size: 214 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 929 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 542 B |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 362 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 600 B |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 462 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 926 B |
After Width: | Height: | Size: 9.0 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 7.0 KiB |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 800 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 189 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 875 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 767 KiB |
After Width: | Height: | Size: 92 KiB |
After Width: | Height: | Size: 1.0 MiB |
After Width: | Height: | Size: 89 KiB |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 91 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 113 KiB |
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 72 KiB |
After Width: | Height: | Size: 141 KiB |
After Width: | Height: | Size: 676 KiB |
After Width: | Height: | Size: 34 KiB |
@ -0,0 +1,995 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
<html lang="en"> |
||||
|
<head> |
||||
|
<meta charset="UTF-8"/> |
||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
||||
|
<title>Bill Digitization</title> |
||||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" |
||||
|
rel="stylesheet"/> |
||||
|
<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=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" |
||||
|
rel="stylesheet"> |
||||
|
<link rel="stylesheet" |
||||
|
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"/> |
||||
|
<link rel="stylesheet" |
||||
|
href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css"/> |
||||
|
<style> |
||||
|
:root { |
||||
|
--primary-color: #7f54b3; |
||||
|
--bg-white: #fff; |
||||
|
--text-color: #121212; |
||||
|
--text-color-light: #64728f; |
||||
|
} |
||||
|
|
||||
|
body { |
||||
|
font-family: "Montserrat", sans-serif; |
||||
|
} |
||||
|
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active { |
||||
|
color: #121212; |
||||
|
font-family: Montserrat; |
||||
|
font-size: 16px !important; |
||||
|
font-weight: 500 !important; |
||||
|
border-radius: 30px; |
||||
|
line-height: normal; |
||||
|
text-transform: capitalize; |
||||
|
background-color: #F5F5F5; |
||||
|
border: none; |
||||
|
margin-bottom: 0; |
||||
|
padding: 12px 24px; |
||||
|
} |
||||
|
|
||||
|
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover { |
||||
|
border-color: transparent; |
||||
|
isolation: isolate; |
||||
|
} |
||||
|
|
||||
|
.nav-tabs .nav-link:focus-visible { |
||||
|
border-color: transparent; |
||||
|
box-shadow: none; |
||||
|
} |
||||
|
|
||||
|
/* owl-carosel */ |
||||
|
.owl-carousel .owl-nav { |
||||
|
position: absolute; |
||||
|
top: 42%; |
||||
|
width: 100%; |
||||
|
display: flex; |
||||
|
justify-content: space-between; |
||||
|
transform: translateY(-42%); |
||||
|
} |
||||
|
|
||||
|
.owl-carousel .owl-nav button.owl-prev { |
||||
|
position: absolute; |
||||
|
right: -36px; |
||||
|
font-size: 28px; |
||||
|
background-color: #e4e4e4; |
||||
|
border-radius: 20px; |
||||
|
width: 40px; |
||||
|
height: 40px; |
||||
|
display: flex; |
||||
|
justify-content: center; |
||||
|
align-items: center; |
||||
|
} |
||||
|
|
||||
|
.owl-carousel .owl-nav button.owl-next { |
||||
|
position: absolute; |
||||
|
left: -36px; |
||||
|
font-size: 28px; |
||||
|
background-color: #e4e4e4; |
||||
|
border-radius: 20px; |
||||
|
width: 40px; |
||||
|
height: 40px; |
||||
|
display: flex; |
||||
|
justify-content: center; |
||||
|
align-items: center; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
</style> |
||||
|
</head> |
||||
|
<body> |
||||
|
<!-- overview --> |
||||
|
<div class="container"> |
||||
|
<div class="my-5"> |
||||
|
<!-- button tab --> |
||||
|
<!-- --> |
||||
|
<!-- version support --> |
||||
|
<div class="my-3 d-flex align-items-center justify-content-end"> |
||||
|
<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 class="tab-content" id="myTabContent"> |
||||
|
<!-- description --> |
||||
|
<div class="tab-pane fade show active" id="home" role="tabpanel" |
||||
|
aria-labelledby="home-tab"> |
||||
|
<div class="position-relative" |
||||
|
style="border-radius: 16px; background: #f8f8f8; padding: 20px 0;"> |
||||
|
<div class="row " style=" |
||||
|
padding: 2rem 0rem 0 !important; |
||||
|
"> |
||||
|
<div class="col-lg-8 mx-auto gap-4 d-flex flex-column align-items-center"> |
||||
|
<p class="my-1 text-center text-uppercase" |
||||
|
style=" |
||||
|
letter-spacing: 4px !important; |
||||
|
color: #7f54b3; |
||||
|
font-weight: bold; |
||||
|
text-align: center; |
||||
|
font-size: 14px; |
||||
|
font-weight: 600; |
||||
|
line-height: 15.96px; |
||||
|
text-transform: uppercase; |
||||
|
"> |
||||
|
Creating Vendor Bill from Scanned Document. |
||||
|
</p> |
||||
|
<h1 class="text-center text-uppercase my-0" |
||||
|
style=" |
||||
|
color: #121212; |
||||
|
font-size: 46px; |
||||
|
font-weight: 700; |
||||
|
line-height: normal; |
||||
|
">Bill Digitization |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="col-lg-12 d-flex justify-content-center align-items-center" |
||||
|
style="margin: 3rem 0;"> |
||||
|
<img src="./assets/icons/brand-pair.svg" |
||||
|
width="100%" |
||||
|
height="auto" |
||||
|
style="width: 50%" |
||||
|
class="img-responsive"/> |
||||
|
</div> |
||||
|
<div class="col-md-12 text-center"> |
||||
|
<a href="mailto:odoo@cybrosys.com" |
||||
|
target="_blank" |
||||
|
style="background-color: transparent;border-radius: 35px; |
||||
|
font-family: Montserrat; |
||||
|
display: inline-block; |
||||
|
padding: 7px 33px; |
||||
|
border: 1px solid #7f54b3; |
||||
|
color: #7f54b3; |
||||
|
text-decoration: none; |
||||
|
" |
||||
|
class="mx-1 mb-2 deep-1 deep_hover"> |
||||
|
<img class="img" |
||||
|
style="width: 24px" |
||||
|
src="./assets/icons/mail.svg"/> |
||||
|
<span class="pl-2" |
||||
|
style=" font-size: 16px; vertical-align: middle" |
||||
|
>Email Us</span |
||||
|
> |
||||
|
</a> |
||||
|
<a href="skype:cybroopenerp?chat" |
||||
|
target="_blank" |
||||
|
style=" |
||||
|
background-color: #7f289b; |
||||
|
font-family: Montserrat; |
||||
|
display: inline-block; |
||||
|
padding: 7px 33px; |
||||
|
border: 1px solid #7f289b; |
||||
|
border-radius: 35px; |
||||
|
text-decoration: none; |
||||
|
" |
||||
|
class="mx-1 mb-2 deep-1 deep_hover"> |
||||
|
<img |
||||
|
class="img" |
||||
|
style="width: 24px" |
||||
|
src="./assets/icons/skype-fill.svg" |
||||
|
/> |
||||
|
<span |
||||
|
class="pl-2" |
||||
|
style="color: #fff; font-size: 16px; vertical-align: middle" |
||||
|
>Skype Us</span |
||||
|
> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="d-flex justify-content-center mt-2"> |
||||
|
<img src="./assets/icons/hero.gif" |
||||
|
class="w-100" |
||||
|
style="z-index: 3; height: auto;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="position-absolute bottom-0" |
||||
|
style="z-index: 1; width: 100%;"> |
||||
|
<img src="./assets/icons/banner-bg.svg" |
||||
|
class="img-fluid w-100"> |
||||
|
</div> |
||||
|
<div class="position-absolute bottom-0 end-0" |
||||
|
style=" z-index: 2;"> |
||||
|
<img src="./assets/icons/patter.svg"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- key-highlight --> |
||||
|
<div class="" style="border-radius: 16px; |
||||
|
padding: 60px 40px; |
||||
|
border: 1px solid #EBEEF2; |
||||
|
background: #F5F5F7; |
||||
|
box-shadow: 0px 5px 20px -11px rgba(0, 0, 0, 0.25); "> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> |
||||
|
<h2 style=" color: #121212; |
||||
|
text-align: center; |
||||
|
font-size: 40px; |
||||
|
font-weight: 700; |
||||
|
text-transform: uppercase; padding-bottom: 50px;">Key |
||||
|
Highlights</h2> |
||||
|
</div> |
||||
|
<div class="col-lg-4"> |
||||
|
<div class="mb-4 d-flex flex-column justify-content-center gap-3" |
||||
|
style="border-radius: 12px; border: 1px solid #B6BCCD; |
||||
|
background: #FFF;padding:32px "> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#7847D9 !important; border-radius:8px !important; height:42px; width:42px"> |
||||
|
<img src="./assets/icons/feature-icon.svg" |
||||
|
class="img-responsive" height="26px" |
||||
|
width="26px"> |
||||
|
</div> |
||||
|
<h5 class="m-0" |
||||
|
style="color:#000 !important; font-weight:bold"> |
||||
|
Bill Digitization allows user to create vendor bill from scanned documents. |
||||
|
</h5> |
||||
|
<p class="m-0" |
||||
|
style="font-size:0.9rem; color:#64728f; font-size: 16px; font-weight: 400;"> |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-4"> |
||||
|
<div class="mb-4 d-flex flex-column justify-content-center gap-3" |
||||
|
style="border-radius: 12px; border: 1px solid #B6BCCD; |
||||
|
background: #FFF;padding:32px "> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#7847D9 !important; border-radius:8px !important; height:42px; width:42px"> |
||||
|
<img src="./assets/icons/feature-icon.svg" |
||||
|
class="img-responsive" height="26px" |
||||
|
width="26px"> |
||||
|
</div> |
||||
|
<h5 class="m-0" |
||||
|
style="color:#000 !important; font-weight:bold"> |
||||
|
User can read .jpg, .jpeg and .png scanned files. |
||||
|
</h5> |
||||
|
<p class="m-0" |
||||
|
style="font-size:0.9rem; color:#64728f; font-size: 16px; font-weight: 400;"> |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-4"> |
||||
|
<div class="mb-4 d-flex flex-column justify-content-center gap-3" |
||||
|
style="border-radius: 12px; border: 1px solid #B6BCCD; |
||||
|
background: #FFF;padding:32px "> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#7847D9 !important; border-radius:8px !important; height:42px; width:42px"> |
||||
|
<img src="./assets/icons/feature-icon.svg" |
||||
|
class="img-responsive" height="26px" |
||||
|
width="26px"> |
||||
|
</div> |
||||
|
<h5 class="m-0" |
||||
|
style="color:#000 !important; font-weight:bold"> |
||||
|
A Button on Vendor Bill Tree View to Read Documents. |
||||
|
</h5> |
||||
|
<p class="m-0" |
||||
|
style="font-size:0.9rem; color:#64728f; font-size: 16px; font-weight: 400;"> |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-lg-4"> |
||||
|
<div class="mb-4 d-flex flex-column justify-content-center gap-3" |
||||
|
style="border-radius: 12px; border: 1px solid #B6BCCD; |
||||
|
background: #FFF;padding:32px "> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#7847D9 !important; border-radius:8px !important; height:42px; width:42px"> |
||||
|
<img src="./assets/icons/feature-icon.svg" |
||||
|
class="img-responsive" height="26px" |
||||
|
width="26px"> |
||||
|
</div> |
||||
|
<h5 class="m-0" |
||||
|
style="color:#000 !important; font-weight:bold"> |
||||
|
A View that Shows the Vendor Bill with All the Fetched Data. |
||||
|
</h5> |
||||
|
<p class="m-0" |
||||
|
style="font-size:0.9rem; color:#64728f; font-size: 16px; font-weight: 400;"> |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!--code --> |
||||
|
<div class="my-5"> |
||||
|
<div class="position-relative" style=" padding: 5rem 4rem 5rem 4rem; background-color: #0A1425; border-radius: 12px;"> |
||||
|
<div class="d-flex flex-column gap-4"> |
||||
|
<span class="wrapper-subtitle" |
||||
|
style="font-size: 40px; font-weight: 700; color: #fff;line-height: 60px; text-transform: capitalize; width: 450px; font-family: Montserrat;">Bill Digitization</span> |
||||
|
<h3 class="wrapper-details" |
||||
|
style="font-size: 20px; font-weight: 400; color: #fff; line-height: 32px; "> |
||||
|
Are you ready to make your business more |
||||
|
organized? |
||||
|
<br> Improve now! |
||||
|
</h3> |
||||
|
<div class="d-flex gap-3"> |
||||
|
<a href="mailto:odoo@cybrosys.com" |
||||
|
class="shop-btn" style="cursor: pointer; border-radius: 16px; display: flex; justify-content: center; align-items: center; gap: 7px; |
||||
|
border: 1px solid #ffffff33; |
||||
|
background-color: #ffffff14; |
||||
|
backdrop-filter: blur(10px); color: #fff; padding: 12px 16px 12px 16px; text-decoration: none;"> |
||||
|
<span style="border-radius: 12px; |
||||
|
background-color: #ffffff1a; |
||||
|
backdrop-filter: blur(6px);padding: 12px; "> |
||||
|
<img src="./assets/icons/banner-mail.svg"> |
||||
|
</span> |
||||
|
<span style="font-weight: 500;font-family: Montserrat;">odoo@cybrosys.com</span> |
||||
|
</a> |
||||
|
<a href="tel:+91 9074270811" class="shop-btn" |
||||
|
style="cursor: pointer; border-radius: 16px; display: flex; justify-content: center; align-items: center; gap: 7px; |
||||
|
border: 1px solid #ffffff33; |
||||
|
background-color: #ffffff14; |
||||
|
backdrop-filter: blur(10px); color: #fff; padding: 12px 22px 12px 18px; text-decoration: none;"> |
||||
|
<span style="border-radius: 12px; |
||||
|
background-color: #ffffff1a; |
||||
|
backdrop-filter: blur(6px);padding: 12px;"> |
||||
|
<img src="./assets/icons/banner-call.svg"> |
||||
|
</span> |
||||
|
<span style="font-weight: 500;font-family: Montserrat;">+91 9074270811</span> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="position-absolute bottom-0 end-0"> |
||||
|
<img src="./assets/icons/banner-pattern.svg" |
||||
|
style="width: 540px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- end-code --> |
||||
|
<!-- --> |
||||
|
<!-- screenshot and other --> |
||||
|
<div class="mb-4 bg-white" |
||||
|
style=" border: 1px solid #EBEEF2; border-radius: 6px; box-shadow: 0px 8px 20px -4px rgba(0, 0, 0, 0.10); border: 1px solid #EBEEF2;"> |
||||
|
<div> |
||||
|
<ul class="nav nav-tabs justify-content-center bg-white py-2" |
||||
|
id="myTab" role="tablist" |
||||
|
style="border-radius: 6px 6px 0 0;"> |
||||
|
<li class="nav-item"> |
||||
|
<a aria-controls="overview" |
||||
|
aria-bs-selected="true" |
||||
|
class="nav-link active" data-bs-toggle="tab" |
||||
|
href="#overview" id="overview-tab" role="tab" |
||||
|
style="color:#121212; font-weight:500; font-size:16px"> |
||||
|
Screenshots</a> |
||||
|
</li> |
||||
|
<li class="nav-item"> |
||||
|
<a aria-controls="feature" |
||||
|
aria-bs-selected="false" |
||||
|
class="nav-link py-2" data-bs-toggle="tab" |
||||
|
href="#feature" id="feature-tab" role="tab" |
||||
|
style="color:#121212; font-weight:500; font-size:16px">Features</a> |
||||
|
</li> |
||||
|
<li class="nav-item"> |
||||
|
<a aria-controls="faq" aria-bs-selected="false" |
||||
|
class="nav-link" data-bs-toggle="tab" |
||||
|
href="#faq" id="faq-tab" role="tab" |
||||
|
style="color:#121212; font-weight:500; font-size:16px"> |
||||
|
FAQs</a> |
||||
|
</li> |
||||
|
<li class="nav-item"> |
||||
|
<a aria-controls="releases" |
||||
|
aria-bs-selected="false" class="nav-link" |
||||
|
data-bs-toggle="tab" href="#releases" |
||||
|
id="releases-tab" role="tab" |
||||
|
style="color:#121212; font-weight:500; font-size:16px">Releases</a> |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> |
||||
|
<div class="tab-content p-md-5 p-2 py-3" id="myTabContent"> |
||||
|
<div aria-labelledby="overview-tab" |
||||
|
class="tab-pane fade show active" id="overview" |
||||
|
role="tabpanel"> |
||||
|
<div class="position-relative mb-4" |
||||
|
style="border-radius:10px"> |
||||
|
<img alt="acc_bg" |
||||
|
class="w-100 h-100 position-absolute img-fluid left_0" |
||||
|
loading="lazy" |
||||
|
src="//apps.odoocdn.com/apps/assets/17.0/ks_dashboard_ninja/ai-img/o3.png?007008f" |
||||
|
style=""> |
||||
|
</div> |
||||
|
<!-- screenshots section--> |
||||
|
<div class="position-relative mb-4" |
||||
|
style="border-radius:10px; background-color:#f4f4f4"> |
||||
|
<div class="p-md-5 p-3 position-relative"> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-12"> |
||||
|
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
||||
|
font-weight: 700;"> |
||||
|
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Enable |
||||
|
</span> |
||||
|
<span style="color: #7f54b3; font-size:calc(1.1rem + 1vw)">digitization bill</span> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="col-md-12 mb-4"> |
||||
|
<p style="font-weight:400; font-size:16px; line-height:150%; text-align:center; color:#64728f"> |
||||
|
This allows the user to choose digitization.</p> |
||||
|
</div> |
||||
|
<div class="col-md-12 text-center"> |
||||
|
<div class="d-inline-block p-3 shadow-sm" |
||||
|
style="background-color:#fff; border-radius:10px"> |
||||
|
<img alt="" class="img-fluid" |
||||
|
loading="lazy" |
||||
|
src="./assets/screenshots/screenshot1.png" |
||||
|
style="min-height: 1px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="position-relative mb-4" |
||||
|
style="border-radius:10px; background-color:#f4f4f4"> |
||||
|
<div class="p-md-5 p-3 position-relative"> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-12"> |
||||
|
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
||||
|
font-weight: 700;"> |
||||
|
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Button to read scanned |
||||
|
</span> |
||||
|
<span style="color: #7f54b3; font-size:calc(1.1rem + 1vw)">documents</span> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="col-md-12 mb-4"> |
||||
|
<p style="font-weight:400; font-size:16px; line-height:150%; text-align:center; color:#64728f"> |
||||
|
Button to read scanned documents. |
||||
|
</p> |
||||
|
</div> |
||||
|
<div class="col-md-12 text-center"> |
||||
|
<div class="d-inline-block p-3 shadow-sm" |
||||
|
style="background-color:#fff; border-radius:10px"> |
||||
|
<img alt="" class="img-fluid" |
||||
|
loading="lazy" |
||||
|
src="./assets/screenshots/screenshot2.png" |
||||
|
style="min-height: 1px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="position-relative mb-4" |
||||
|
style="border-radius:10px; background-color:#f4f4f4"> |
||||
|
<div class="p-md-5 p-3 position-relative"> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-12"> |
||||
|
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
||||
|
font-weight: 700;"> |
||||
|
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Wizard to upload |
||||
|
</span> |
||||
|
<span style="color: #7f54b3; font-size:calc(1.1rem + 1vw)">document</span> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="col-md-12 mb-4"> |
||||
|
<p style="font-weight:400; font-size:16px; line-height:150%; text-align:center; color:#64728f"> |
||||
|
A wizard that allows to read document. |
||||
|
</p> |
||||
|
</div> |
||||
|
<div class="col-md-12 text-center"> |
||||
|
<div class="d-inline-block p-3 shadow-sm" |
||||
|
style="background-color:#fff; border-radius:10px"> |
||||
|
<img alt="" class="img-fluid" |
||||
|
loading="lazy" |
||||
|
src="./assets/screenshots/screenshot3.png" |
||||
|
style="min-height: 1px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="position-relative mb-4" |
||||
|
style="border-radius:10px; background-color:#f4f4f4"> |
||||
|
<div class="p-md-5 p-3 position-relative"> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-12"> |
||||
|
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
||||
|
font-weight: 700;"> |
||||
|
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Sample |
||||
|
</span> |
||||
|
<span style="color: #7f54b3; font-size:calc(1.1rem + 1vw)">bill</span> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="col-md-12 mb-4"> |
||||
|
<p style="font-weight:400; font-size:16px; line-height:150%; text-align:center; color:#64728f"> |
||||
|
|
||||
|
</p> |
||||
|
</div> |
||||
|
<div class="col-md-12 text-center"> |
||||
|
<div class="d-inline-block p-3 shadow-sm" |
||||
|
style="background-color:#fff; border-radius:10px"> |
||||
|
<img alt="" class="img-fluid" |
||||
|
loading="lazy" |
||||
|
src="./assets/screenshots/sample_bill1.jpg" |
||||
|
style="min-height: 1px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="position-relative mb-4" |
||||
|
style="border-radius:10px; background-color:#f4f4f4"> |
||||
|
<div class="p-md-5 p-3 position-relative"> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-12"> |
||||
|
<h1 style="font-weight:bold; font-size:calc(1.1rem + 1vw); line-height:120%; text-align:center; text-transform:capitalize; font-size: 40px; |
||||
|
font-weight: 700;"> |
||||
|
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Vendor bill with |
||||
|
</span> |
||||
|
<span style="color: #7f54b3; font-size:calc(1.1rem + 1vw)">scanned document data</span> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<div class="col-md-12 mb-4"> |
||||
|
<p style="font-weight:400; font-size:16px; line-height:150%; text-align:center; color:#64728f"> |
||||
|
Vendor bill with scanned document data.(The example format for scanned document is added in the module.) |
||||
|
</p> |
||||
|
</div> |
||||
|
<div class="col-md-12 text-center"> |
||||
|
<div class="d-inline-block p-3 shadow-sm" |
||||
|
style="background-color:#fff; border-radius:10px"> |
||||
|
<img alt="" class="img-fluid" |
||||
|
loading="lazy" |
||||
|
src="./assets/screenshots/screenshot5.png" |
||||
|
style="min-height: 1px;"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div aria-labelledby="feature-tab" |
||||
|
class="tab-pane fade show py-1" id="feature" |
||||
|
role="tabpanel"> |
||||
|
<div class="row py-4"> |
||||
|
<!-- Features Section --> |
||||
|
<div class="col-md-6 col-sm-12 p-3"> |
||||
|
<div class="d-flex flex-column align-items-start h-100" |
||||
|
style="padding:30px; border-radius:12px; background-color:#faf8ff"> |
||||
|
<div class="d-flex align-items-center justify-content-center"> |
||||
|
<div class="d-flex align-items-center justify-content-center " |
||||
|
style="width:36px; height:36px; border-radius:50%; background-color:#7847D9 ; margin-right:10px"> |
||||
|
<i class="fa fa-star " |
||||
|
style="color:#fff; font-size:14px"></i> |
||||
|
</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 flex-column align-items-start h-100" |
||||
|
style="padding:30px; border-radius:12px; background-color:#faf8ff"> |
||||
|
<div class="d-flex align-items-center justify-content-center"> |
||||
|
<div class="d-flex align-items-center justify-content-center " |
||||
|
style="width:36px; height:36px; border-radius:50%; background-color:#7847D9 ; margin-right:10px"> |
||||
|
<i class="fa fa-star " |
||||
|
style="color:#fff; font-size:14px"></i> |
||||
|
</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 aria-labelledby="faq-tab" |
||||
|
class="tab-pane fade show" id="faq" |
||||
|
role="tabpanel"> |
||||
|
<div class="row" |
||||
|
style=" background-color:#fff !important"> |
||||
|
<div class="col-md-12" aria-labelledby="faq-tab" |
||||
|
id="faq" role="tabpanel"> |
||||
|
<div class="accordion mb-4" id="accordion6"> |
||||
|
<div style="background-color:#fff"> |
||||
|
<!-- accordian --> |
||||
|
<div class="accordion" |
||||
|
id="accordion_faq"> |
||||
|
<!-- Question 1 --> |
||||
|
<div class="" |
||||
|
style="margin:1rem 0rem"> |
||||
|
<div aria-expanded="false" |
||||
|
class=" card-header collapsed" |
||||
|
data-bs-toggle="collapse" |
||||
|
data-bs-target="#collapseFAQOne" |
||||
|
href="#collapseFAQOne" |
||||
|
aria-controls="collapseFAQOne" |
||||
|
style="cursor: pointer; background-color:#f8f8f8; border:none; border-top-right-radius:10px; border-top-left-radius:10px; padding: 12px 24px;"> |
||||
|
<a class="card-title text-decoration-none" |
||||
|
style=" font-size:18px; line-height:30px; font-weight:500; color:#040f3a"> |
||||
|
What is the Bill Digitization module in Odoo? |
||||
|
<img alt="" |
||||
|
class="float-end" |
||||
|
src="//apps.odoocdn.com/apps/assets/16.0/index_test_odoo/assets/icons/down.svg?6ef7fd7" |
||||
|
width="25px"> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="accordion-collapse collapse" |
||||
|
aria-labelledby="collapseFAQOne" |
||||
|
data-bs-parent="#accordion_faq" |
||||
|
id="collapseFAQOne" |
||||
|
style=" box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px; border: 1px solid #f8f8f8; border-bottom-right-radius:10px; border-bottom-left-radius:10px"> |
||||
|
<p style=" padding:0.75rem 1.25rem; font-size:16px; line-height:27px; color:#888; font-weight:normal; border-bottom-right-radius:10px; border-bottom-left-radius:10px"> |
||||
|
The Bill Digitization |
||||
|
module allows users to |
||||
|
scan and process vendor |
||||
|
bills from images (.jpg, .jpeg, .png) |
||||
|
using Optical Character Recognition (OCR) |
||||
|
technology, converting them into |
||||
|
editable text in Odoo. |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Question 2 --> |
||||
|
<div style="margin:1rem 0rem"> |
||||
|
<div aria-expanded="false" |
||||
|
class="cursor-pointer card-header collapsed" |
||||
|
data-bs-toggle="collapse" |
||||
|
aria-controls="collapseFAQTwo" |
||||
|
data-bs-target="#collapseFAQTwo" |
||||
|
style="cursor: pointer; background-color:#f8f8f8; border:1px solid #f8f8f8; border-top-right-radius:10px; border-top-left-radius:10px; padding: 12px 24px"> |
||||
|
<a class="card-title text-decoration-none" |
||||
|
style=" font-size:18px; line-height:30px; font-weight:500; color:#040f3a"> |
||||
|
How does the Bill Digitization module work? |
||||
|
<img alt="" |
||||
|
class="float-end" |
||||
|
src="//apps.odoocdn.com/apps/assets/16.0/index_test_odoo/assets/icons/down.svg?6ef7fd7" |
||||
|
width="25px"> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="accordion-collapse collapse" |
||||
|
aria-labelledby="collapseFAQTwo" |
||||
|
data-bs-parent="#accordion_faq" |
||||
|
id="collapseFAQTwo" |
||||
|
style="box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px; border: 1px solid #f8f8f8; border-bottom-right-radius:10px; border-bottom-left-radius:10px"> |
||||
|
<p style="padding:0.75rem 1.25rem; font-size:16px; line-height:27px; color:#888; font-weight:normal; border-bottom-right-radius:10px; border-bottom-left-radius:10px"> |
||||
|
The module uses OCR |
||||
|
technology to analyze |
||||
|
scanned bills, |
||||
|
extract relevant data such as |
||||
|
vendor details, amounts, and line items, |
||||
|
and automatically create vendor bills in Odoo. |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Question3 --> |
||||
|
<div style="margin:1rem 0rem"> |
||||
|
<div aria-expanded="false" |
||||
|
class="cursor-pointer card-header collapsed" |
||||
|
data-bs-toggle="collapse" |
||||
|
aria-controls="collapseFAQThree" |
||||
|
data-bs-target="#collapseFAQThree" |
||||
|
style="cursor: pointer; background-color:#f8f8f8; border:1px solid #f8f8f8; border-top-right-radius:10px; border-top-left-radius:10px; padding: 12px 24px"> |
||||
|
<a class="card-title text-decoration-none" |
||||
|
style=" font-size:18px; line-height:30px; font-weight:500; color:#040f3a"> |
||||
|
Does the module support PDF Bills? |
||||
|
<img alt="" |
||||
|
class="float-end" |
||||
|
src="//apps.odoocdn.com/apps/assets/16.0/index_test_odoo/assets/icons/down.svg?6ef7fd7" |
||||
|
width="25px"> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="accordion-collapse collapse" |
||||
|
aria-labelledby="collapseFAQThree" |
||||
|
data-bs-parent="#accordion_faq" |
||||
|
id="collapseFAQThree" |
||||
|
style="box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px; border: 1px solid #f8f8f8; border-bottom-right-radius:10px; border-bottom-left-radius:10px"> |
||||
|
<p style="padding:0.75rem 1.25rem; font-size:16px; line-height:27px; color:#888; font-weight:normal; border-bottom-right-radius:10px; border-bottom-left-radius:10px"> |
||||
|
No, this module specifically processes scanned images in .jpg, .jpeg, and .png formats. |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- --> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div aria-labelledby="releases-tab" |
||||
|
class="tab-pane fade show" id="releases" |
||||
|
role="tabpanel"> |
||||
|
<!-- Release Notes --> |
||||
|
<div class="row pt-5 m-0"> |
||||
|
<div class="col-md-3"> |
||||
|
<h4 style="font-size:16px; font-weight:600; color:#514F4F; margin:0; line-height:26px;"> |
||||
|
Latest Release 18.0.1.0.0 |
||||
|
</h4> |
||||
|
<span style="font-size:14px; color:#7A7979; display:block; margin-bottom:20px;"> |
||||
|
2nd April, 2025 |
||||
|
</span> |
||||
|
</div> |
||||
|
<div class="col-md-8"> |
||||
|
<div style="padding:0 0 40px"> |
||||
|
<div style="margin:0 0 10px"> |
||||
|
<div style="display:inline-block; padding:0px 8px; color:#514F4F; background-color:#FFD8D8; border-radius:20px"> |
||||
|
Add |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="d-flex m-0" |
||||
|
style="color:#7A7979;"> |
||||
|
<ul class="pl-3 mb-0"> |
||||
|
<li> |
||||
|
Initial Commit |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div style="padding:0 0 0; border-bottom:1px solid #E3E3E3"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- --> |
||||
|
<!-- related post --> |
||||
|
<!-- --> |
||||
|
<section class="oe_container mt32"> |
||||
|
<h2 style="color: #091E42;font-family: "Montserrat";text-align: center;margin: 25px auto;text-transform: uppercase;" class="oe_slogan"> |
||||
|
<b>Related Products</b> |
||||
|
</h2> |
||||
|
<div id="demo" class="row carousel slide mt64 mb32" data-bs-ride="carousel"> |
||||
|
<!-- The slideshow --> |
||||
|
<div class="carousel-inner"> |
||||
|
<div class="carousel-item active"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left; padding: 10px;"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/18.0/base_accounting_kit" target="_blank" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;" class="shadow-sm"> |
||||
|
<img class="img img-responsive center-block" style=" max-width: 100%;" src="./assets/modules/b1.png" /> |
||||
|
<h4 class="mt0 text-truncate" style="text-align:center;width:100% margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px"> |
||||
|
Odoo 18 Full Accounting Kit for Community</h4> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left; padding: 10px;"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/18.0/dynamic_accounts_report" target="_blank" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;" class="shadow-sm"> |
||||
|
<img class="img img-responsive center-block" style=" max-width: 100%;" src="./assets/modules/b2.png" /> |
||||
|
<h4 class="mt0 text-truncate" style="text-align:center;width:100% margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px"> |
||||
|
Odoo18 Dynamic Accounting Reports</h4> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left; padding: 10px;"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/18.0/invoice_format_editor" target="_blank" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border-radius: 6px;padding: 16px; border: 1px solid #cbcbcb;" class="shadow-sm"> |
||||
|
<img class="img img-responsive center-block" style=" max-width: 100%;" src="./assets/modules/b3.png"/> |
||||
|
<h4 class="mt0 text-truncate" style="text-align:center;width:100% margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px"> |
||||
|
Invoice Format Editor</h4> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="carousel-item"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left; padding: 10px;"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/18.0/base_account_budget" target="_blank" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;" class="shadow-sm"> |
||||
|
<img class="img img-responsive center-block" style=" max-width: 100%;" src="./assets/modules/b4.png" /> |
||||
|
<h4 class="mt0 text-truncate" style="text-align:center;width:100% margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px"> |
||||
|
Odoo 18 Budget Management</h4> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left; padding: 10px;"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/18.0/odoo_accounting_dashboard" target="_blank" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;" class="shadow-sm"> |
||||
|
<img class="img img-responsive center-block" style=" max-width: 100%;" src="./assets/modules/b5.png" /> |
||||
|
<h4 class="mt0 text-truncate" style="text-align:center;width:100% margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px"> |
||||
|
Accounting Dashboard Odoo18</h4> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float: left; padding: 10px;"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/18.0/advanced_excel_reports" target="_blank" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;" class="shadow-sm"> |
||||
|
<img class="img img-responsive center-block" style=" max-width: 100%;" src="./assets/modules/b6.png" /> |
||||
|
<h4 class="mt0 text-truncate" style="text-align:center;width:100% margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px"> |
||||
|
Advanced Excel Reports.</h4> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Left and right controls --> |
||||
|
<a class="carousel-control-prev" href="#demo" data-bs-slide="prev" style="margin-left: -30px;width: 35px;color: #000;"> |
||||
|
<span class="carousel-control-prev-icon"> |
||||
|
<i class="fa fa-chevron-left" style="font-size:24px"></i> |
||||
|
</span> |
||||
|
</a> |
||||
|
<a class="carousel-control-next" href="#demo" data-bs-slide="next" style="margin-right: -30px;width: 35px;color: #000;"> |
||||
|
<span class="carousel-control-next-icon"> |
||||
|
<i class="fa fa-chevron-right" style="font-size:24px"></i> |
||||
|
</span> |
||||
|
</a> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- service-section --> |
||||
|
<section id="services" class="mt-5" style="border-radius: 16px; |
||||
|
border: 1px solid #EBEEF2; |
||||
|
background: var(--Neutral-N0, #FFF); |
||||
|
padding: 60px 40px; |
||||
|
box-shadow: 0px 5px 20px -11px rgba(0, 0, 0, 0.25);"> |
||||
|
<div class="text-center mt-4"><h3 class="mb-0" style="color: #000; |
||||
|
text-align: center; |
||||
|
font-family: Montserrat; |
||||
|
font-size: 40px; |
||||
|
font-style: normal; |
||||
|
font-weight: 700; |
||||
|
line-height: normal; |
||||
|
text-transform: uppercase; |
||||
|
padding-bottom: 50px;"> |
||||
|
Our Services</h3></div> |
||||
|
<div class="row mt-3"> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#FFE2E5; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#FA5A7D; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/gear.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;"> Odoo Customization</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#FFF4DE; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#FF947A; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/wrench-icon.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;"> Odoo Implementation</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#DCFCE7; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#3CD856; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/life-ring-icon.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;">Odoo Support</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#F3E8FF; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#BF83FF; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/arrows-repeat.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;">Odoo Migration</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#F1F9FF; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#01649C; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/puzzle-piece-icon.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;">Odoo integration</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#EDF8ED; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
|
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#69CC70; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/odoo-consultancy.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;">Odoo Consultancy</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#F1F6FF; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
|
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#2E4556; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/odoo-licencing.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;">Odoo Licensing</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-lg-3 col-sm-12 mb-3"> |
||||
|
<a href="#" style="text-decoration:none"> |
||||
|
<div class="btn-lg btn-block p-4 mb-2 d-flex flex-column justify-content-center align-items-center" |
||||
|
style="font-size:25px; font-weight:bold;background-color:#FAF6EA; margin:auto; gap: 16px; border-radius: 8px;"> |
||||
|
|
||||
|
<div class="d-flex justify-content-center align-items-center" |
||||
|
style="background-color:#FCD12C; border-radius:50%; height:56px; width:56px"> |
||||
|
<img src="./assets/icons/hire-odoo.svg" |
||||
|
class="img-responsive" |
||||
|
height="28px" width="28px"> |
||||
|
</div> |
||||
|
<span style="font-size: 18px; |
||||
|
color: var(--text-color); |
||||
|
font-weight: 600;">Hire Odoo Developer</span> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- licence --> |
||||
|
<div class="tab-pane fade" id="profile" role="tabpanel" |
||||
|
aria-labelledby="profile-tab"> |
||||
|
<div class="px-5"> |
||||
|
.... |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- --> |
||||
|
</div> |
||||
|
<!-- --> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div></body> |
||||
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script> |
||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" |
||||
|
integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" |
||||
|
crossorigin="anonymous" referrerpolicy="no-referrer"></script> |
||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script> |
||||
|
<script> |
||||
|
$('.owl-carousel').owlCarousel({ |
||||
|
rtl: true, |
||||
|
loop: true, |
||||
|
margin: 10, |
||||
|
nav: true, |
||||
|
responsive: { |
||||
|
0: { |
||||
|
items: 1 |
||||
|
}, |
||||
|
600: { |
||||
|
items: 3 |
||||
|
}, |
||||
|
1000: { |
||||
|
items: 3 |
||||
|
} |
||||
|
} |
||||
|
}) |
||||
|
</script> |
||||
|
</html> |
@ -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', |
||||
|
}); |
||||
|
}, |
||||
|
}); |
||||
|
|
@ -0,0 +1,12 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<templates xml:space="preserve"> |
||||
|
<t t-inherit="account.AccountViewUploadButton" t-inherit-mode="extension"> |
||||
|
<xpath expr="//AccountFileUploader" position="after"> |
||||
|
<!-- 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="Digitize Bill">Digitize Bill</button> |
||||
|
</t> |
||||
|
</xpath> |
||||
|
</t> |
||||
|
</templates> |
@ -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> |
@ -0,0 +1,22 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-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 digitize_bill |
@ -0,0 +1,400 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2025-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/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
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] |
||||
|
quantity = [float(line[1]) if line[1] else 0 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': product.name, |
||||
|
'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': product.name, |
||||
|
'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': product.name, |
||||
|
'quantity':qty, |
||||
|
'price_subtotal': total_amount, |
||||
|
'tax_ids': [Command.set([])], |
||||
|
'move_id': self.id, |
||||
|
}) |
||||
|
|
||||
|
for product, total_amount,qty in zip(products, subtotal,quantity) |
||||
|
] |
||||
|
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', |
||||
|
} |
@ -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> |