Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040191 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | always | 2019-02-11 18:31 | 2019-03-05 17:31 | |||
Reporter | aaroncalero | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | c4f8121f3070 | ||||
Projection | none | ETA | none | Target Version | RR19Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | jorge-garcia | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040191: Closed Invoice template is no longer used when reprinting invoices in Web POS | |||||||
Description | Closed Invoice template is no longer used when reprinting invoices in Web POS. When an invoice is printed, the Closed Receipt template is used. | |||||||
Steps To Reproduce | Login in Web POS Create a new ticket Go to the menu and click on Invoice this receipt Add a product to the ticket Pay and complete the receipt. Load the receipt again. Go to the menu > Print this receipt Select the invoice and click on Print Invoices Verify on the Network tab of devtools that the printclosedreceipt.xml file has been requested, instead of printclosedinvoice.xml | |||||||
Proposed Solution | When a ticket is printed, the code looks for an isInvoice flag to see if the printed model is an invoice. This flag only exists when an invoice is generated for the first time (during the synchronization of the receipt). When the OpenInvoices process is called to load the invoices to be printed, and the invoice models are generated, the isInvoice flag needs to be set. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0110194) hgbot (developer) 2019-03-04 15:00 |
Repository: retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal Changeset: c4f8121f30707fed7a68ebb2d5bdb8bfb133020a Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Mon Mar 04 08:59:44 2019 -0500 URL: http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal/rev/c4f8121f30707fed7a68ebb2d5bdb8bfb133020a [^] Fixed issue 40191: Closed Invoice template is no longer used when reprinting invoices in Web POS - isInvoice property was seted into OpenInvoices process --- M web/org.openbravo.retail.posterminal/js/components/modalinvoices.js --- |
(0110238) jorge-garcia (viewer) 2019-03-05 17:31 |
Code reviewed and tested |
![]() |
|||
Date Modified | Username | Field | Change |
2019-02-13 15:32 | marvintm | Type | defect => backport |
2019-02-13 15:32 | marvintm | Target Version | => RR19Q1 |
2019-03-04 15:00 | hgbot | Checkin | |
2019-03-04 15:00 | hgbot | Note Added: 0110194 | |
2019-03-04 15:00 | hgbot | Status | scheduled => resolved |
2019-03-04 15:00 | hgbot | Resolution | open => fixed |
2019-03-04 15:00 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a67707bed965a7471bd4277a2e21d56058f7f3cd [^] => http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal/rev/c4f8121f30707fed7a68ebb2d5bdb8bfb133020a [^] |
2019-03-05 17:31 | jorge-garcia | Review Assigned To | => jorge-garcia |
2019-03-05 17:31 | jorge-garcia | Note Added: 0110238 | |
2019-03-05 17:31 | jorge-garcia | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |