Browse Source

Nov 28: [FIX] Bug Fixed 'advanced_vat_invoice'

pull/358/head
Cybrosys Technologies 5 months ago
parent
commit
329e305c0f
  1. 6
      advanced_vat_invoice/doc/RELEASE_NOTES.md
  2. 73
      advanced_vat_invoice/report/vat_invoice_report_templates.xml
  3. 80
      advanced_vat_invoice/static/description/index.html

6
advanced_vat_invoice/doc/RELEASE_NOTES.md

@ -5,3 +5,9 @@
##### ADD ##### ADD
- Initial Commit for Advanced VAT Invoice - Initial Commit for Advanced VAT Invoice
#### 26.11.2024
#### Version 18.0.1.0.0
##### Bug fixes
- Added Total section on the VAT invoice report and updated the index

73
advanced_vat_invoice/report/vat_invoice_report_templates.xml

@ -31,7 +31,7 @@
<br/> <br/>
</table> </table>
</div> </div>
<br/> <br/><br/>
<div class="row mt32 mb32"> <div class="row mt32 mb32">
<div class="col-9" style="color:black; "> <div class="col-9" style="color:black; ">
<table style="border:2pt solid grey;width:100%;padding:10pt;color:black;" <table style="border:2pt solid grey;width:100%;padding:10pt;color:black;"
@ -69,6 +69,7 @@
</div> </div>
</div> </div>
<br/> <br/>
<br/>
<table style="border:2pt solid grey;width:100%;color:black; margin-top:0pt; color:black;" <table style="border:2pt solid grey;width:100%;color:black; margin-top:0pt; color:black;"
class="table-condensed"> class="table-condensed">
<thead> <thead>
@ -260,20 +261,15 @@
</td> </td>
</tr> </tr>
</table> </table>
<br/> <br/><br/>
<table style="border:2pt solid grey;width:100%; height: 23px;color:black; margin-top:10pt;"
class="table-condensed table-sm">
<tr>
<td style="padding:2pt;margin:0pt;font-weight: bold;text-align:center;">
<span class="text-right arabic">Order Line
Items/البنود
</span>
</td>
</tr>
</table>
<table style="border:2pt solid grey;width:100%;color:black; margin-top:0pt; color:black;" <table style="border:2pt solid grey;width:100%;color:black; margin-top:0pt; color:black;"
class="table-condensed"> class="table-condensed">
<thead> <thead>
<tr>
<td colspan="8" style="border:2pt solid grey;text-align:center;padding:2pt;">
<span class="text-right arabic">Order Line Items/البنود</span>
</td>
</tr>
<tr style="background-color:#DCDCDC"> <tr style="background-color:#DCDCDC">
<td width="20%" <td width="20%"
style="border:2pt solid grey;text-align:center;padding:2pt; "> style="border:2pt solid grey;text-align:center;padding:2pt; ">
@ -371,6 +367,59 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<br/>
<table style="border:2pt solid grey;width:100%;color:black;"
class="table table-bordered table-sm">
<thead>
<tr>
<td width="40%"
style="font-weight: bold;text-align:left;padding:2pt">
Total Taxable
Amount (excl. VAT)
</td>
<td class="amount" width="40%"
style="text-align:right;padding:2pt">إجمالي
المبلغ
الخاضع للضريبة (غير شامل ضريبة القيمة
المضافة)
</td>
<td width="40%"
style="text-align:right;padding:2pt"
class="text-right">
<span t-esc="doc.currency_id.symbol"/>
<span t-esc="doc.amount_untaxed"/>
</td>
</tr>
<tr>
<td style="font-weight: bold;text-align:left;padding:3pt">
Total VAT
</td>
<td class="total"
style="text-align:right;padding:3pt">مجموع
ضريبة القيمة المضافة
</td>
<td style="text-align:right;padding:3pt"
class="text-right">
<span t-esc="doc.currency_id.symbol"/>
<span t-esc="tax_total"/>
</td>
</tr>
<tr>
<td style="font-weight: bold;text-align:left;padding:3pt">
Amount Due
</td>
<td class="due"
style="text-align:right;padding:3pt">اجمالي
المبلغ المستحق
</td>
<td style="text-align:right;padding:3pt"
class="text-right">
<span t-esc="doc.currency_id.symbol"/>
<span t-esc="doc.amount_residual"/>
</td>
</tr>
</thead>
</table>
</t> </t>
</t> </t>
</t> </t>

80
advanced_vat_invoice/static/description/index.html

@ -21,11 +21,13 @@
--text-color: #121212; --text-color: #121212;
--text-color-light: #64728f; --text-color-light: #64728f;
} }
body { body {
font-family: "Montserrat", sans-serif; font-family: "Montserrat", sans-serif;
} }
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active { .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
color: var(--text-color); color: #121212;
font-family: Montserrat; font-family: Montserrat;
font-size: 16px !important; font-size: 16px !important;
font-weight: 500 !important; font-weight: 500 !important;
@ -37,14 +39,17 @@
margin-bottom: 0; margin-bottom: 0;
padding: 12px 24px; padding: 12px 24px;
} }
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover { .nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
border-color: transparent; border-color: transparent;
isolation: isolate; isolation: isolate;
} }
.nav-tabs .nav-link:focus-visible { .nav-tabs .nav-link:focus-visible {
border-color: transparent; border-color: transparent;
box-shadow: none; box-shadow: none;
} }
/* owl-carosel */ /* owl-carosel */
.owl-carousel .owl-nav { .owl-carousel .owl-nav {
position: absolute; position: absolute;
@ -100,10 +105,6 @@
style="background-color:#875A7B !important; color:#fff !important; font-size:0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width:120px !important"> style="background-color:#875A7B !important; color:#fff !important; font-size:0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width:120px !important">
Enterprise Enterprise
</div> </div>
<!-- <div class="text-center"-->
<!-- style="background-color:#7C7BAD !important; color:#fff !important; font-size:0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width:120px !important">-->
<!-- Odoo.sh-->
<!-- </div>-->
</div> </div>
<div class="tab-content" id="myTabContent"> <div class="tab-content" id="myTabContent">
<!-- description --> <!-- description -->
@ -118,7 +119,7 @@
<p class="my-1 text-center text-uppercase" <p class="my-1 text-center text-uppercase"
style=" style="
letter-spacing: 4px !important; letter-spacing: 4px !important;
color: var(--primary-color); color: #7f54b3;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
font-size: 14px; font-size: 14px;
@ -131,11 +132,12 @@
</p> </p>
<h1 class="text-center text-uppercase my-0" <h1 class="text-center text-uppercase my-0"
style=" style="
color: var(--text-color); color: #121212;
font-size: 46px; font-size: 46px;
font-weight: 700; font-weight: 700;
line-height: normal; line-height: normal;
">E-Invoicing For Saudi | Saudi Electronic Invoice.</span> ">
E-Invoicing For Saudi | Saudi Electronic Invoice.</span>
</h1> </h1>
</div> </div>
<div class="col-lg-12 d-flex justify-content-center align-items-center" <div class="col-lg-12 d-flex justify-content-center align-items-center"
@ -153,8 +155,8 @@
font-family: Montserrat; font-family: Montserrat;
display: inline-block; display: inline-block;
padding: 7px 33px; padding: 7px 33px;
border: 1px solid var(--primary-color); border: 1px solid #7f54b3;
color: var(--primary-color); color: #7f54b3;
text-decoration: none; text-decoration: none;
" "
class="mx-1 mb-2 deep-1 deep_hover"> class="mx-1 mb-2 deep-1 deep_hover">
@ -214,7 +216,7 @@
box-shadow: 0px 5px 20px -11px rgba(0, 0, 0, 0.25); "> box-shadow: 0px 5px 20px -11px rgba(0, 0, 0, 0.25); ">
<div class="row"> <div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style=" color: var(--text-color); <h2 style=" color: #121212;
text-align: center; text-align: center;
font-size: 40px; font-size: 40px;
font-weight: 700; font-weight: 700;
@ -289,11 +291,11 @@
</div> </div>
<!--code --> <!--code -->
<div class="my-5"> <div class="my-5">
<div style=" padding: 5rem 4rem 5rem 4rem; background-color: #0A1425; border-radius: 12px; position: relative;"> <div class="position-relative"
<div class="wrapper-info" style=" padding: 5rem 4rem 5rem 4rem; background-color: #0A1425; border-radius: 12px;">
style="display: flex; flex-direction: column; gap: 20px;"> <div class="d-flex flex-column gap-4">
<span class="wrapper-subtitle" <span class="wrapper-subtitle"
style="font-size: 40px; font-weight: 700; color: #fff;line-height: 60px; text-transform: capitalize; width: 450px;">e-Invoicing For Saudi | Saudi Electronic Invoice.</span> style="font-size: 40px; font-weight: 700; color: #fff;line-height: 60px; text-transform: capitalize; width: 450px; font-family: Montserrat;">Automatic Database Backup</span>
<h3 class="wrapper-details" <h3 class="wrapper-details"
style="font-size: 20px; font-weight: 400; color: #fff; line-height: 32px; "> style="font-size: 20px; font-weight: 400; color: #fff; line-height: 32px; ">
Are you ready to make your business more Are you ready to make your business more
@ -303,33 +305,31 @@
<div class="d-flex gap-3"> <div class="d-flex gap-3">
<a href="mailto:odoo@cybrosys.com" <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; class="shop-btn" style="cursor: pointer; border-radius: 16px; display: flex; justify-content: center; align-items: center; gap: 7px;
border: 1px solid var(--DarkOverlayElement-DO20, rgba(255, 255, 255, 0.20)); border: 1px solid #ffffff33;
background: linear-gradient(93deg, rgba(255, 255, 255, 0.08) 6.01%, rgba(255, 255, 255, 0.17) 90.83%); background-color: #ffffff14;
backdrop-filter: blur(10px); color: #fff; padding: 12px 16px 12px 16px; text-decoration: none;"> backdrop-filter: blur(10px); color: #fff; padding: 12px 16px 12px 16px; text-decoration: none;">
<span style="border-radius: 12px; <span style="border-radius: 12px;
background: var(--DarkOverlayElement-DO10, rgba(255, 255, 255, 0.10)); background-color: #ffffff1a;
backdrop-filter: blur(6px);padding: 12px; "> backdrop-filter: blur(6px);padding: 12px; ">
<img src="./assets/icons/banner-mail.svg"> <img src="./assets/icons/banner-mail.svg">
</span> </span>
<span style="font-weight: 500;">odoo@cybrosys.com</span> <span style="font-weight: 500;font-family: Montserrat;">odoo@cybrosys.com</span>
</a> </a>
<a href="https://wa.me/919074270811" <a href="tel:+91 9074270811" class="shop-btn"
target="_blank" class="shop-btn"
style="cursor: pointer; border-radius: 16px; display: flex; justify-content: center; align-items: center; gap: 7px; style="cursor: pointer; border-radius: 16px; display: flex; justify-content: center; align-items: center; gap: 7px;
border: 1px solid var(--DarkOverlayElement-DO20, rgba(255, 255, 255, 0.20)); border: 1px solid #ffffff33;
background: linear-gradient(93deg, rgba(255, 255, 255, 0.08) 6.01%, rgba(255, 255, 255, 0.17) 90.83%); background-color: #ffffff14;
backdrop-filter: blur(10px); color: #fff; padding: 12px 22px 12px 18px; text-decoration: none;"> backdrop-filter: blur(10px); color: #fff; padding: 12px 22px 12px 18px; text-decoration: none;">
<span style="border-radius: 12px; <span style="border-radius: 12px;
background: var(--DarkOverlayElement-DO10, rgba(255, 255, 255, 0.10)); background-color: #ffffff1a;
backdrop-filter: blur(6px);padding: 12px;"> backdrop-filter: blur(6px);padding: 12px;">
<img src="./assets/icons/banner-call.svg"> <img src="./assets/icons/banner-call.svg">
</span> </span>
<span style="font-weight: 500;">+91 9074270811</span> <span style="font-weight: 500;font-family: Montserrat;">+91 9074270811</span>
</a> </a>
</div> </div>
</div> </div>
<div class="" <div class="position-absolute bottom-0 end-0">
style="position: absolute; bottom: 0; right: 0;">
<img src="./assets/icons/banner-pattern.svg" <img src="./assets/icons/banner-pattern.svg"
style="width: 540px;"> style="width: 540px;">
</div> </div>
@ -338,6 +338,7 @@
<!-- end-code --> <!-- end-code -->
<!-- --> <!-- -->
<!-- screenshot and other --> <!-- screenshot and other -->
<div class="mb-4 bg-white" <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;"> 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> <div>
@ -388,9 +389,9 @@
<div class="col-md-12"> <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; <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;"> font-weight: 700;">
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Enable QR Code On <span style="color:#121212; font-size:calc(1.1rem + 1vw)">Database Backup Configuration
</span> </span>
<span style="color: var(--primary-color); font-size:calc(1.1rem + 1vw)"> Settings.</span> <span style="color: #7f54b3; font-size:calc(1.1rem + 1vw)"> Menu</span>
</h1> </h1>
</div> </div>
<div class="col-md-12 mb-4"> <div class="col-md-12 mb-4">
@ -421,9 +422,9 @@
<div class="col-md-12"> <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; <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;"> font-weight: 700;">
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Generate QR Code <span style="color:#121212; font-size:calc(1.1rem + 1vw)">Create New
</span> </span>
<span style="color: var(--primary-color); font-size:calc(1.1rem + 1vw)">Automatically.</span> <span style="color: #7f54b3; font-size:calc(1.1rem + 1vw)">Database Backup Configuration.</span>
</h1> </h1>
</div> </div>
<div class="col-md-12 mb-4"> <div class="col-md-12 mb-4">
@ -453,9 +454,9 @@
<div class="col-md-12"> <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; <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;"> font-weight: 700;">
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Generate QR Code <span style="color:#121212; font-size:calc(1.1rem + 1vw)">Store Backup to Remote
</span> </span>
<span style="color: var(--primary-color); font-size:calc(1.1rem + 1vw)">Manually.</span> <span style="color: #7f54b3; font-size:calc(1.1rem + 1vw)">Manually.</span>
</h1> </h1>
</div> </div>
<div class="col-md-12 mb-4"> <div class="col-md-12 mb-4">
@ -484,9 +485,10 @@
<div class="col-md-12"> <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; <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;"> font-weight: 700;">
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Download <span style="color:#121212; font-size:calc(1.1rem + 1vw)">
Download
</span> </span>
<span style="color: var(--primary-color); font-size:calc(1.1rem + 1vw)">PDF Reports.</span> <span style="color: #7f54b3; font-size:calc(1.1rem + 1vw)">PDF Reports.</span>
</h1> </h1>
</div> </div>
<div class="col-md-12 mb-4"> <div class="col-md-12 mb-4">
@ -519,7 +521,7 @@
font-weight: 700;"> font-weight: 700;">
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">VAT invoice <span style="color:#121212; font-size:calc(1.1rem + 1vw)">VAT invoice
</span> </span>
<span style="color: var(--primary-color); font-size:calc(1.1rem + 1vw)">Report.</span> <span style="color: #7f54b3; font-size:calc(1.1rem + 1vw)">Report.</span>
</h1> </h1>
</div> </div>
@ -544,7 +546,7 @@
font-weight: 700;"> font-weight: 700;">
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Simplified Tax invoice <span style="color:#121212; font-size:calc(1.1rem + 1vw)">Simplified Tax invoice
</span> </span>
<span style="color: var(--primary-color); font-size:calc(1.1rem + 1vw)">Report.</span> <span style="color: #7f54b3; font-size:calc(1.1rem + 1vw)">Report.</span>
</h1> </h1>
</div> </div>
<div class="col-md-12 text-center"> <div class="col-md-12 text-center">
@ -568,7 +570,7 @@
font-weight: 700;"> font-weight: 700;">
<span style="color:#121212; font-size:calc(1.1rem + 1vw)">Install E-invoice <span style="color:#121212; font-size:calc(1.1rem + 1vw)">Install E-invoice
</span> </span>
<span style="color: var(--primary-color); font-size:calc(1.1rem + 1vw)"> QR Reader KSA.</span> <span style="color: #7f54b3; font-size:calc(1.1rem + 1vw)"> QR Reader KSA.</span>
</h1> </h1>
</div> </div>
<div class="col-md-12 mb-4"> <div class="col-md-12 mb-4">
@ -687,6 +689,8 @@
</div> </div>
<!-- --> <!-- -->
<!-- related post --> <!-- related post -->
<div class="" style="margin-top: 100px;"> <div class="" style="margin-top: 100px;">
<div class="text-center mt-4"> <div class="text-center mt-4">
<h3 class="mb-0" style="color: #000; <h3 class="mb-0" style="color: #000;

Loading…
Cancel
Save