Browse Source

Oct 30: [FIX] Bug Fixed 'report_attachment_preview'

pull/346/head
Cybrosys Technologies 6 months ago
parent
commit
1b473dbd10
  1. 2
      report_attachment_preview/__manifest__.py
  2. 5
      report_attachment_preview/doc/RELEASE_NOTES.md
  3. 263
      report_attachment_preview/static/description/index.html

2
report_attachment_preview/__manifest__.py

@ -21,7 +21,7 @@
############################################################################# #############################################################################
{ {
'name': 'Reports and Attachments Preview in Browser', 'name': 'Reports and Attachments Preview in Browser',
'version': '18.0.1.0.0', 'version': '1.3',
'category': 'Extra Tools', 'category': 'Extra Tools',
'summary': """Open PDF Reports and Attachments Preview in new Browser Tab""", 'summary': """Open PDF Reports and Attachments Preview in new Browser Tab""",
'description': """This module enables viewing PDF reports and attachments in 'description': """This module enables viewing PDF reports and attachments in

5
report_attachment_preview/doc/RELEASE_NOTES.md

@ -4,3 +4,8 @@
#### Version 18.0.1.0.0 #### Version 18.0.1.0.0
#### ADD #### ADD
- Initial Commit for Reports and Attachments Preview in Browser - Initial Commit for Reports and Attachments Preview in Browser
#### 29.10.2024
#### Version 18.0.1.0.0
#### Bug fixes
- Resolved the style issue of the related products

263
report_attachment_preview/static/description/index.html

@ -126,7 +126,8 @@
line-height: 15.96px; line-height: 15.96px;
text-transform: uppercase; text-transform: uppercase;
"> ">
Open PDF Reports and Attachments Preview in new Browser Tab. Open PDF Reports and Attachments Preview in new
Browser Tab.
</p> </p>
<h1 class="text-center text-uppercase my-0" <h1 class="text-center text-uppercase my-0"
style=" style="
@ -298,7 +299,8 @@
</span> </span>
<span style="font-weight: 500;">odoo@cybrosys.com</span> <span style="font-weight: 500;">odoo@cybrosys.com</span>
</a> </a>
<a href="https://wa.me/919074270811" target="_blank" class="shop-btn" <a href="https://wa.me/919074270811"
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 var(--DarkOverlayElement-DO20, rgba(255, 255, 255, 0.20));
background: linear-gradient(93deg, rgba(255, 255, 255, 0.08) 6.01%, rgba(255, 255, 255, 0.17) 90.83%); background: linear-gradient(93deg, rgba(255, 255, 255, 0.08) 6.01%, rgba(255, 255, 255, 0.17) 90.83%);
@ -490,7 +492,9 @@
style="color:#fff; font-size:14px"></i> style="color:#fff; font-size:14px"></i>
</div> </div>
<p style="color:#1A202C; font-weight:600; font-size:1.2rem; margin-bottom:2px"> <p style="color:#1A202C; font-weight:600; font-size:1.2rem; margin-bottom:2px">
Available in Odoo 18.0 Community, Enterprise and Odoo.sh .</p> Available in Odoo 17.0
Community, Enterprise and
Odoo.sh .</p>
</div> </div>
</div> </div>
@ -505,7 +509,9 @@
style="color:#fff; font-size:14px"></i> style="color:#fff; font-size:14px"></i>
</div> </div>
<p style="color:#1A202C; font-weight:600; font-size:1.2rem; margin-bottom:2px"> <p style="color:#1A202C; font-weight:600; font-size:1.2rem; margin-bottom:2px">
We can see a preview of attachments while downloading them. .</p> We can see a preview of
attachments while downloading
them. .</p>
</div> </div>
</div> </div>
</div> </div>
@ -519,7 +525,9 @@
style="color:#fff; font-size:14px"></i> style="color:#fff; font-size:14px"></i>
</div> </div>
<p style="color:#1A202C; font-weight:600; font-size:1.2rem; margin-bottom:2px"> <p style="color:#1A202C; font-weight:600; font-size:1.2rem; margin-bottom:2px">
Open PDF reports in a new browser tab without downloading. .</p> Open PDF reports in a new
browser tab without downloading.
.</p>
</div> </div>
</div> </div>
@ -711,7 +719,7 @@
Latest Release 18.0.1.0.0 Latest Release 18.0.1.0.0
</h4> </h4>
<span style="font-size:14px; color:#7A7979; display:block; margin-bottom:20px;"> <span style="font-size:14px; color:#7A7979; display:block; margin-bottom:20px;">
9th October, 2024 26th September, 2024
</span> </span>
</div> </div>
<div class="col-md-8"> <div class="col-md-8">
@ -738,136 +746,141 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<!-- --> <!-- -->
<!-- related post --> <!-- related post -->
<div class="" style="margin-top: 100px;"> <section class="oe_container mt32">
<div class="text-center mt-4"> <h2 style="color: #091E42;font-family: &quot;Montserrat&quot;;text-align: center;margin: 25px auto;text-transform: uppercase;"
<h3 class="mb-0" style="color: #000; class="oe_slogan">
text-align: center; <b>Related Products</b>
font-family: Montserrat; </h2>
font-size: 40px; <div id="demo" class="row carousel slide mt64 mb32"
font-style: normal; data-bs-ride="carousel">
font-weight: 700; <!-- The slideshow -->
line-height: normal; <div class="carousel-inner">
text-transform: uppercase; <div class="carousel-item active">
padding-bottom: 50px;" <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
>Related Modules</h3> style="float: left; padding: 10px;">
</div> <a href="https://apps.odoo.com/apps/modules/17.0/base_accounting_kit"
target="_blank"
<div class="owl-carousel owl-theme"> style="color: #000; text-decoration: none;">
<div class="item" <div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;"
style="border:1px solid #CBCBCB !important; border-radius: 6px;"> class="shadow-sm">
<div class="p-3"> <img class="img img-responsive center-block"
<a href="https://apps.odoo.com/apps/modules/17.0/base_accounting_kit" style=" max-width: 100%;"
style="color:#000; text-decoration:none"> src="./assets/modules/1.gif"/>
<div style=" border-radius:4px"> <h4 class="mt0 text-truncate"
<div> style="text-align:center;width:100&#37; margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px">
<img src="./assets/modules/1.gif" Odoo 17 Full Accounting Kit</h4>
alt="" width="100%"
height="auto">
</div> </div>
<p class="text-center mb-2 pb-0 text-black" </a>
style="font-weight: 600; padding-top: 16px;"> </div>
Odoo 17 Full Accounting Kit</p> <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
</div> style="float: left; padding: 10px;">
</a> <a href="https://apps.odoo.com/apps/modules/17.0/ohrms_core"
</div> target="_blank"
</div> style="color: #000; text-decoration: none;">
<div class="item" <div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;"
style="border:1px solid #CBCBCB !important; border-radius: 6px;"> class="shadow-sm">
<div class="p-3"> <img class="img img-responsive center-block"
<a href="https://apps.odoo.com/apps/modules/17.0/ohrms_core" style=" max-width: 100%;"
style="color:#000; text-decoration:none"> src="./assets/modules/2.gif"/>
<div style=" border-radius:4px"> <h4 class="mt0 text-truncate"
<div> style="text-align:center;width:100&#37; margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px">
<img src="./assets/modules/2.gif" Open HRMS Core</h4>
alt="" width="100%"
height="auto">
</div> </div>
<p class="text-center pb-0 mb-2 text-black" </a>
style="font-weight: 600; padding-top: 16px;"> </div>
Open HRMS Core</p> <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
</div> style="float: left; padding: 10px;">
</a> <a href="https://apps.odoo.com/apps/modules/17.0/invoice_format_editor"
</div> target="_blank"
</div> style="color: #000; text-decoration: none;">
<div class="item" <div style="border-radius: 6px;padding: 16px; border: 1px solid #cbcbcb;"
style="border:1px solid #CBCBCB !important; border-radius: 6px;"> class="shadow-sm">
<div class="p-3"> <img class="img img-responsive center-block"
<a href="https://apps.odoo.com/apps/modules/17.0/invoice_format_editor" style=" max-width: 100%;"
style="color:#000; text-decoration:none"> src="./assets/modules/3.png"/>
<div style=" border-radius:4px"> <h4 class="mt0 text-truncate"
<div> style="text-align:center;width:100&#37; margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px">
<img src="./assets/modules/3.png" Odoo17 Invoice Format
alt="" width="100%" Editor </h4>
height="auto">
</div> </div>
<p class="text-center pb-0 mb-2 text-black" </a>
style="font-weight: 600; padding-top: 16px;"> </div>
Odoo17 Invoice Format Editor</p>
</div>
</a>
</div> </div>
</div> <div class="carousel-item">
<div class="item" <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="border:1px solid #CBCBCB !important; border-radius: 6px;"> style="float: left; padding: 10px;">
<div class="p-3"> <a href="https://apps.odoo.com/apps/modules/17.0/login_user_detail"
<a href="https://apps.odoo.com/apps/modules/17.0/login_user_detail" target="_blank"
style="color:#000; text-decoration:none"> style="color: #000; text-decoration: none;">
<div style=" border-radius:4px"> <div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;"
<div> class="shadow-sm">
<img src="./assets/modules/4.png" <img class="img img-responsive center-block"
alt="" width="100%" style=" max-width: 100%;"
height="auto"> src="./assets/modules/4.png"/>
<h4 class="mt0 text-truncate"
style="text-align:center;width:100&#37; margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px">
User Log Details</h4>
</div> </div>
<p class="text-center pb-0 mb-2 text-black" </a>
style="font-weight: 600; padding-top: 16px;"> </div>
User Log Details</p> <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
</div> style="float: left; padding: 10px;">
</a> <a href="https://apps.odoo.com/apps/modules/17.0/product_barcode"
</div> target="_blank"
</div> style="color: #000; text-decoration: none;">
<div class="item" <div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;"
style="border:1px solid #CBCBCB !important; border-radius: 6px;"> class="shadow-sm">
<div class="p-3"> <img class="img img-responsive center-block"
<a href="https://apps.odoo.com/apps/modules/17.0/product_barcode" style=" max-width: 100%;"
style="color:#000; text-decoration:none"> src="./assets/modules/5.png"/>
<div style=" border-radius:4px"> <h4 class="mt0 text-truncate"
<div> style="text-align:center;width:100&#37; margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px">
<img src="./assets/modules/5.png" Odoo17 Product Barcode
alt="" width="100%" Generator </h4>
height="auto">
</div> </div>
<p class="text-center pb-0 mb-2 text-black" </a>
style="font-weight: 600; padding-top: 16px;"> </div>
Odoo17 Product Barcode Generator</p> <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
</div> style="float: left; padding: 10px;">
</a> <a href="https://apps.odoo.com/apps/modules/17.0/whatsapp_redirect"
</div> target="_blank"
</div> style="color: #000; text-decoration: none;">
<div class="item" <div style="border-radius: 6px; padding: 16px; border: 1px solid #cbcbcb;"
style="border:1px solid #CBCBCB !important; border-radius: 6px;"> class="shadow-sm">
<div class="p-3"> <img class="img img-responsive center-block"
<a href="https://apps.odoo.com/apps/modules/17.0/whatsapp_redirect" style=" max-width: 100%;"
style="color:#000; text-decoration:none"> src="./assets/modules/6.jpg"/>
<div style=" border-radius:4px"> <h4 class="mt0 text-truncate"
<div> style="text-align:center;width:100&#37; margin-bottom: 8px; font-weight: 600; padding-top: 16px; text-decoration:none;font-size: 18px; padding-bottom: 8px; margin-bottom: 0px">
<img src="./assets/modules/6.jpg" Send Whatsapp Message
alt="" width="100%" Odoo17</h4>
height="auto">
</div> </div>
<p class="text-center pb-0 mb-2 text-black" </a>
style="font-weight: 600; padding-top: 16px;"> </div>
Send Whatsapp Message Odoo17</p>
</div>
</a>
</div> </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> </div>
</div> </section>
<!-- -->
<!-- service-section -->
<section id="services" class="mt-5" style="border-radius: 16px; <section id="services" class="mt-5" style="border-radius: 16px;
border: 1px solid #EBEEF2; border: 1px solid #EBEEF2;
background: var(--Neutral-N0, #FFF); background: var(--Neutral-N0, #FFF);
@ -1026,7 +1039,7 @@
</div> </div>
</div> </div>
<!-- --> <!-- -->
</div> </div>
<!-- --> <!-- -->
</div> </div>
</div> </div>

Loading…
Cancel
Save