Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0047433 | Retail Modules | Web POS | public | 2021-07-21 20:54 | 2021-08-16 07:38 |
|
Reporter | lbressan | |
Assigned To | prakashmurugesan88 | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR21Q4 | |
Merge Request Status | approved |
Review Assigned To | adrianromero |
OBNetwork customer | Gold |
Support ticket | 26354 |
Regression level | |
Regression date | 2021-08-10 |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0047433: Invoice reprint error on lines with discount |
Description | When a ticket whit a discount is completed and reopened to reprint the invoice, it has ZERO in the price and total.
Before start following the steps, it's needed to apply this patch:
https://issues.openbravo.com/view.php?id=47216 [^] |
Steps To Reproduce | Steps:
1- Apply the patch: https://issues.openbravo.com/view.php?id=47216 [^]
2- Make a Sales order.
3- Add a line with a discount with the same price as the product.
4- Mark it to invoice.
5- Complete it.
6- Open the last ticket.
7- Reprint the invoice.
8- Check the prices between the original print and the duplicated.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0045866 | | closed | ranjith_qualiantech_com | Print error when completing a ticket loaded from backoffice |
|
Attached Files | WhatsApp Image 2021-07-15 at 17.42.34 (2).jpeg (228,535) 2021-07-21 20:54 https://issues.openbravo.com/file_download.php?file_id=16028&type=bug

|
|
Issue History |
Date Modified | Username | Field | Change |
2021-07-21 20:54 | lbressan | New Issue | |
2021-07-21 20:54 | lbressan | Assigned To | => Retail |
2021-07-21 20:54 | lbressan | File Added: WhatsApp Image 2021-07-15 at 17.42.34 (2).jpeg | |
2021-07-21 20:54 | lbressan | OBNetwork customer | => No |
2021-07-21 20:54 | lbressan | Support ticket | => 26354 |
2021-07-21 20:54 | lbressan | Regression date | => 2021-08-10 |
2021-07-21 20:54 | lbressan | Triggers an Emergency Pack | => No |
2021-07-21 20:58 | lbressan | Description Updated | bug_revision_view_page.php?rev_id=22913#r22913 |
2021-07-21 20:58 | lbressan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=22915#r22915 |
2021-07-21 21:53 | Practics | Issue Monitored: Practics | |
2021-08-05 17:50 | dmitry_mezentsev | OBNetwork customer | No => Gold |
2021-08-06 11:00 | adrianromero | Resolution time | => 1628805600 |
2021-08-06 11:25 | adrianromero | Status | new => acknowledged |
2021-08-06 12:02 | adrianromero | Status | acknowledged => scheduled |
2021-08-06 12:02 | adrianromero | Assigned To | Retail => prakashmurugesan88 |
2021-08-06 12:20 | adrianromero | Relationship added | related to 0047510 |
2021-08-06 12:25 | adrianromero | Relationship deleted | related to 0047510 |
2021-08-10 14:30 | adrianromero | Relationship added | related to 0045866 |
2021-08-10 14:35 | adrianromero | Review Assigned To | => adrianromero |
2021-08-10 14:35 | adrianromero | Note Added: 0131055 | |
2021-08-10 14:35 | adrianromero | Status | scheduled => closed |
2021-08-10 14:35 | adrianromero | Resolution | open => no change required |
2021-08-10 16:53 | Practics | Note Added: 0131056 | |
2021-08-12 08:16 | marvintm | Status | closed => new |
2021-08-12 08:16 | marvintm | Resolution | no change required => open |
2021-08-12 14:14 | prakashmurugesan88 | Status | new => scheduled |
2021-08-13 14:12 | hgbot | Merge Request Status | => open |
2021-08-13 14:12 | hgbot | Note Added: 0131119 | |
2021-08-16 07:36 | hgbot | Merge Request Status | open => approved |
2021-08-16 07:37 | hgbot | Resolution | open => fixed |
2021-08-16 07:37 | hgbot | Status | scheduled => closed |
2021-08-16 07:37 | hgbot | Note Added: 0131126 | |
2021-08-16 07:37 | hgbot | Fixed in Version | => RR21Q4 |
2021-08-16 07:37 | hgbot | Note Added: 0131127 | |
2021-08-16 07:38 | marvintm | Note Added: 0131128 | |
Notes |
|
|
|
|
|
This solution it's not correct, our problem is that netUnitPrice it's not the same when reprint the invoice
View video
https://youtu.be/p28FfH6ceug [^] |
|
|
(0131119)
|
hgbot
|
2021-08-13 14:12
|
|
|
|
(0131126)
|
hgbot
|
2021-08-16 07:37
|
|
|
|
(0131127)
|
hgbot
|
2021-08-16 07:37
|
|
|
|
|
With our last change, both the netUnitPrice and the netUnitAmount should be correct even when reprinting the invoice.
It's important to note that these values should be used if you want to show the amounts with discounts applied. If you want to display amounts without the discounts (so that you show the discounts in a separate line, for example), then you should use "base*" properties (baseNetAmount, baseGrossAmount, ...) |
|