Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0040932 | Retail Modules | Web POS | public | 2019-05-22 10:17 | 2019-06-06 20:01 |
Reporter | samuel_nicuesa | ||||
Assigned To | rqueralta | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR19Q3 | |||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | OBPS | ||||
Support ticket | 10024 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0040932: Doing verified return Draft status will be printed in the ticket if the invoice is generated although the ticket is paid | ||||
Description | Doing verified return Draft status will be printed in the ticket if the invoice is generated although the ticket is paid hasbeenpaid = 'Y' | ||||
Steps To Reproduce | [BO] - Navigate to channel touchpoint type (posterminal type) - Check Generate Invoice for Orders - Check Print Twice [POS] - Create a ticket , add a product and pay it - Go to Menu > Verified return and select the previous ticket - Do verified return - You will see in the Hardware Manager that 2 returns will be printed and also 2 invoices but in Draft status. Problem : Put a breakpoint here : var printProcess = function () { if (receipt.get('print')) { //Print option of order property OB.POS.hwserver.print(args.template, { order: receipt }, function (result, printedReceipt) { if (receipt.get('print')) { //Print option of order property Check the values of : receipt.attributes {hasbeenpaid: "N", isbeingprocessed: "N", id: "7659D1674E4EF455F26845B41003215C", client: "39363B0921BB4293B48383844325E84C", organization: "D270A5AC50874F8BA67A88EE977F8E3B", …} OB.MobileApp.model.receipt.attributes {hasbeenpaid: "Y", isbeingprocessed: "N", id: "CB5C74DC7507C73038ACE26CB22A00F9", client: "39363B0921BB4293B48383844325E84C", organization: "D270A5AC50874F8BA67A88EE977F8E3B", …} Draft Status won't be printed if hasbeenpaid = 'Y' but in this case receipt.attributes.hasbeenpaid = 'N' | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=12973&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=12974&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-05-22 10:17 | samuel_nicuesa | New Issue | |||
2019-05-22 10:17 | samuel_nicuesa | Assigned To | => Retail | ||
2019-05-22 10:17 | samuel_nicuesa | File Added: PrintInvoice.png | |||
2019-05-22 10:17 | samuel_nicuesa | OBNetwork customer | => OBPS | ||
2019-05-22 10:17 | samuel_nicuesa | Support ticket | => 10024 | ||
2019-05-22 10:17 | samuel_nicuesa | Resolution time | => 1560290400 | ||
2019-05-22 10:17 | samuel_nicuesa | Triggers an Emergency Pack | => No | ||
2019-05-22 10:19 | samuel_nicuesa | File Added: Draft.png | |||
2019-05-22 11:13 | Practics | Issue Monitored: Practics | |||
2019-05-28 04:58 | rqueralta | Assigned To | Retail => rqueralta | ||
2019-05-28 04:59 | rqueralta | Status | new => scheduled | ||
2019-06-03 02:34 | hgbot | Checkin | |||
2019-06-03 02:34 | hgbot | Note Added: 0112330 | |||
2019-06-03 02:34 | hgbot | Status | scheduled => resolved | ||
2019-06-03 02:34 | hgbot | Resolution | open => fixed | ||
2019-06-03 02:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/294471a2fce83e18cf7b849dad65642ee854741a [^] | ||
2019-06-06 20:01 | marvintm | Review Assigned To | => marvintm | ||
2019-06-06 20:01 | marvintm | Status | resolved => closed | ||
2019-06-06 20:01 | marvintm | Fixed in Version | => RR19Q3 |
Notes | |||||
|
|||||
|
|