Browse Source

July 17: [FIX] Bug Fixed 'custom_receipts_for_pos'

pull/313/merge
Cybrosys Technologies 2 months ago
parent
commit
f47fa15f82
  1. 2
      custom_receipts_for_pos/__manifest__.py
  2. 11
      custom_receipts_for_pos/data/pos_receipt_design1_data.xml
  3. 11
      custom_receipts_for_pos/data/pos_receipt_design2_data.xml
  4. 8
      custom_receipts_for_pos/doc/RELEASE_NOTES.md
  5. 66
      custom_receipts_for_pos/static/description/index.html
  6. 2
      custom_receipts_for_pos/static/src/xml/order_receipt.xml

2
custom_receipts_for_pos/__manifest__.py

@ -22,7 +22,7 @@
################################################################################ ################################################################################
{ {
'name': 'POS Receipt Design', 'name': 'POS Receipt Design',
'version': '17.0.3.1.6', 'version': '17.0.3.1.7',
'category': 'Point of Sale', 'category': 'Point of Sale',
'summary': "POS Receipt, Receipt Design, POS Receipt Template, Design " 'summary': "POS Receipt, Receipt Design, POS Receipt Template, Design "
"Report, Custom Receipt, POS Report, Customise Receipt, Odoo17, " "Report, Custom Receipt, POS Report, Customise Receipt, Odoo17, "

11
custom_receipts_for_pos/data/pos_receipt_design1_data.xml

@ -50,6 +50,7 @@
</colgroup> </colgroup>
<tr style="border-bottom:1px dashed black;"> <tr style="border-bottom:1px dashed black;">
<th style="text-align:left;">Product</th> <th style="text-align:left;">Product</th>
<th style="text-align:left;">Unit Price</th>
<th style="text-align:right;">Qty</th> <th style="text-align:right;">Qty</th>
<th style="text-align:right;">Amount</th> <th style="text-align:right;">Amount</th>
</tr> </tr>
@ -66,12 +67,15 @@
<t t-if="orderline.customerNote"> <t t-if="orderline.customerNote">
<div style="font-size:14px;" t-esc="orderline.customerNote"/> <div style="font-size:14px;" t-esc="orderline.customerNote"/>
</t> </t>
</td>
<td style="text-align:right; font-size:14px;">
<t t-esc="orderline.unitPrice"/>
</td> </td>
<td style="text-align:right; font-size:14px;"> <td style="text-align:right; font-size:14px;">
<t t-esc="orderline.qty "/> <t t-esc="orderline.qty "/>
</td> </td>
<td style="text-align:right; font-size:14px;"> <td style="text-align:right; font-size:14px;">
<t t-esc="orderline.unitPrice"/> <t t-esc="orderline.price"/>
</td> </td>
</tr> </tr>
</t> </t>
@ -89,12 +93,15 @@
<t t-if="orderline.customerNote"> <t t-if="orderline.customerNote">
<div style="font-size:14px;" t-esc="orderline.customerNote"/> <div style="font-size:14px;" t-esc="orderline.customerNote"/>
</t> </t>
</td>
<td style="text-align:right; font-size:14px;">
<t t-esc="orderline.unitPrice"/>
</td> </td>
<td style="text-align:right; font-size:14px;"> <td style="text-align:right; font-size:14px;">
<t t-esc="orderline.qty"/> <t t-esc="orderline.qty"/>
</td> </td>
<td style="text-align:right; font-size:14px;"> <td style="text-align:right; font-size:14px;">
<t t-esc="orderline.unitPrice"/> <t t-esc="orderline.price"/>
</td> </td>
</tr> </tr>
</t> </t>

11
custom_receipts_for_pos/data/pos_receipt_design2_data.xml

@ -47,6 +47,7 @@
</colgroup> </colgroup>
<tr style="border-bottom:1px dashed black;"> <tr style="border-bottom:1px dashed black;">
<th style="text-align:left;">Product</th> <th style="text-align:left;">Product</th>
<th style="text-align:left;">Unit Price</th>
<th style="text-align:right;">Qty</th> <th style="text-align:right;">Qty</th>
<th style="text-align:right;">Amount</th> <th style="text-align:right;">Amount</th>
</tr> </tr>
@ -64,11 +65,14 @@
<div style="font-size:14px;" t-esc="orderline.customerNote"/> <div style="font-size:14px;" t-esc="orderline.customerNote"/>
</t> </t>
</td> </td>
<td style="text-align:right; font-size:14px;">
<t t-esc="orderline.unitPrice"/>
</td>
<td style="text-align:right; font-size:14px;"> <td style="text-align:right; font-size:14px;">
<t t-esc="orderline.qty"/> <t t-esc="orderline.qty"/>
</td> </td>
<td style="text-align:right; font-size:14px;"> <td style="text-align:right; font-size:14px;">
<t t-esc="orderline.unitPrice"/> <t t-esc="orderline.price"/>
</td> </td>
</tr> </tr>
</t> </t>
@ -86,12 +90,15 @@
<t t-if="orderline.customerNote"> <t t-if="orderline.customerNote">
<div style="font-size:14px;" t-esc="orderline.customerNote"/> <div style="font-size:14px;" t-esc="orderline.customerNote"/>
</t> </t>
</td>
<td style="text-align:right; font-size:14px;">
<t t-esc="orderline.unitPrice"/>
</td> </td>
<td style="text-align:right; font-size:14px;"> <td style="text-align:right; font-size:14px;">
<t t-esc="orderline.qty"/> <t t-esc="orderline.qty"/>
</td> </td>
<td style="text-align:right; font-size:14px;"> <td style="text-align:right; font-size:14px;">
<t t-esc="orderline.unitPrice"/> <t t-esc="orderline.unitprice"/>
</td> </td>
</tr> </tr>
</t> </t>

8
custom_receipts_for_pos/doc/RELEASE_NOTES.md

@ -50,4 +50,10 @@
#### Version 17.0.3.1.6 #### Version 17.0.3.1.6
#### BUGFIX #### BUGFIX
- Fixed the issue of not getting customer data in props. - Fixed the issue of not getting customer data in props.
#### 16.07.2025
#### Version 17.0.3.1.7
#### BUGFIX
- Updated the Unit price and Amount in the custom receipt designs.

66
custom_receipts_for_pos/static/description/index.html

@ -318,16 +318,78 @@
</div> </div>
</div> </div>
<div class="col-mg-12 active" style="padding: 1rem 4rem;"> <div class="col-mg-12 active" style="padding: 1rem 4rem;">
<div class="py-3" style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="d-flex mb-3" style="font-size: 0.8rem; font-weight: 500;">
<span>Version 17.0.1.0.4</span><span class="px-2">|</span>
<span style="color: #714B67;font-weight: 600;">Released on: August 20, 2024</span>
</div>
<p class="m-0" style=" color:#718096!important; font-size:1rem !important;line-height: 28px;">
Fixed the missing products and amount details in the pos receipts from ticket screen.
</p>
</div>
</div>
<div class="col-mg-12 active" style="padding: 1rem 4rem;">
<div class="py-3" style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="d-flex mb-3" style="font-size: 0.8rem; font-weight: 500;">
<span>Version 17.0.1.0.5</span><span class="px-2">|</span>
<span style="color: #714B67;font-weight: 600;">Released on: September 9, 2024</span>
</div>
<p class="m-0" style=" color:#718096!important; font-size:1rem !important;line-height: 28px;">
Fixed the missing company logo in the pos receipts when printing.
</p>
</div>
</div>
<div class="col-mg-12 active" style="padding: 1rem 4rem;">
<div class="py-3" style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="d-flex mb-3" style="font-size: 0.8rem; font-weight: 500;">
<span>Version 17.0.2.0.5</span><span class="px-2">|</span>
<span style="color: #714B67;font-weight: 600;">Released on: September 27, 2024</span>
</div>
<p class="m-0" style=" color:#718096!important; font-size:1rem !important;line-height: 28px;">
Fixed the receipt printing order issue.
</p>
</div>
</div>
<div class="col-mg-12 active" style="padding: 1rem 4rem;">
<div class="py-3" style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> <div class="py-3" style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="d-flex mb-3" style="font-size: 0.8rem; font-weight: 500;"> <div class="d-flex mb-3" style="font-size: 0.8rem; font-weight: 500;">
<span>Version 17.0.3.1.5</span><span class="px-2">|</span> <span>Version 17.0.3.1.5</span><span class="px-2">|</span>
<span style="color: #714B67;font-weight: 600;">Released on: Dec 03, 2024</span> <span style="color: #714B67;font-weight: 600;">Released on: October 7, 2024</span>
</div> </div>
<p class="m-0" style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> <p class="m-0" style=" color:#718096!important; font-size:1rem !important;line-height: 28px;">
Updated the tracking number to custom receipt screen and fixed the issues when tip is enabled. Fixed the receipt printing blank screen and Updated the tracking number to custom receipt screen and fixed the issues when tip is enabled.
</p>
</div>
</div>
<div class="col-mg-12 active" style="padding: 1rem 4rem;">
<div class="py-3" style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="d-flex mb-3" style="font-size: 0.8rem; font-weight: 500;">
<span>Version 17.0.3.1.6</span><span class="px-2">|</span>
<span style="color: #714B67;font-weight: 600;">Released on: January 27, 2024</span>
</div>
<p class="m-0" style=" color:#718096!important; font-size:1rem !important;line-height: 28px;">
Fixed the issue of not getting customer data in props.
</p> </p>
</div> </div>
</div> </div>
<div class="col-mg-12 active" style="padding: 1rem 4rem;">
<div class="py-3" style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
<div class="d-flex mb-3" style="font-size: 0.8rem; font-weight: 500;">
<span>Version 17.0.3.1.7</span><span class="px-2">|</span>
<span style="color: #714B67;font-weight: 600;">Released on: July 16, 2024</span>
</div>
<p class="m-0" style=" color:#718096!important; font-size:1rem !important;line-height: 28px;">
Updated the Unit price and Amount in the custom receipt designs.
</p>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>

2
custom_receipts_for_pos/static/src/xml/order_receipt.xml

@ -30,7 +30,7 @@
</Orderline> </Orderline>
</OrderWidget> </OrderWidget>
<!-- Total --> <!-- Total -->
<div class="pos-receipt-right-align">--------</div> <div class="pos-receipt-right-align">----********----</div>
<br/> <br/>
<div class="pos-receipt-amount"> <div class="pos-receipt-amount">
TOTAL TOTAL

Loading…
Cancel
Save