Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0042227 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2019-11-07 17:42 | 2019-12-04 10:37 | |||
Reporter | aferraz | View Status | public | |||||
Assigned To | alekosmp86 | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR20Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 612eb5eb21e7 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0042227: Delete ticket is synchronized without id | |||||||
Description | When having "Web POS Save Removed Tickets" preference enabled and a ticket without lines is synchronized, an error is shown in browser console. Also the json sent from Web POS and the json received in the Import Entry have differences in two properties: hasbeenpaid and id: FrontEnd json (in OBPOS_PreSyncReceipt hook): "HASBEENPAID": "N", "ID": NULL BackEnd json (in ImportEntry jsoninfo): "HASBEENPAID": "Y", "ID": "8687652B612A396F5EE666CE8267EE81" This differences affect hash generation in French Fiscal module. | |||||||
Steps To Reproduce | - In BackEnd: Install French Fiscal module. Enable Web POS Save Removed Tickets preference. - In FrontEnd: Let's say active ticket documentno is VBS1/0000001. Click on New Receipt. Now, current ticket should be VBS1/0000002. Add any line and complete the ticket VBS1/0000002. Now, current ticket should be VBS1/0000001. Click on Delete Receipt. Check following error is shown in browser console: [OB.Dal.save] Wrong model, it has no id. - Caller: Object.OB.Dal.saveInTransaction - In BackEnd: Realize ticket VBS1/0000002 appears in Sales Order window. Realize ticket VBS1/0000001 appears in Sales Order window as isDeleted and with no information in Lines and Taxes tab. Run Blockchain Verification process and check it fails for ticket VBS1/0000001. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0116063) hgbot (developer) 2019-12-03 15:31 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 612eb5eb21e73163f61bca43cd9876465c92305e Author: Alejandro <alekosmp86 <at> gmail.com> Date: Mon Dec 02 14:10:32 2019 -0500 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/612eb5eb21e73163f61bca43cd9876465c92305e [^] Fixed issue 42227: Deleted ticket is not synchronized without id when preference "Web POS Save Removed Tickets" is active --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
(0116080) hgbot (developer) 2019-12-04 10:37 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: d8bed576cdde09b5f4530947a755de66579e8c84 Author: Antonio Moreno Perez <antonio.moreno <at> openbravo.com> Date: Wed Dec 04 10:37:05 2019 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d8bed576cdde09b5f4530947a755de66579e8c84 [^] Related to issue 42227. It is not necessary (and in fact wrong) to check that the ticket has lines. This specific part of the flow is designed to handle the case of the ticket not having lines. In this case the relevant thing to check if the ticket has id or not. If it doesn't, then it was never saved, and therefore we should consider it a non-relevant ticket, and therefore should not be saved as a removed ticket. --- M web/org.openbravo.retail.posterminal/js/model/order.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-11-07 17:42 | aferraz | New Issue | |
2019-11-07 17:42 | aferraz | Assigned To | => Retail |
2019-11-07 17:42 | aferraz | OBNetwork customer | => No |
2019-11-07 17:42 | aferraz | Triggers an Emergency Pack | => No |
2019-11-07 18:01 | aferraz | Description Updated | View Revisions |
2019-11-07 18:04 | javietxe | Issue Monitored: javietxe | |
2019-11-07 18:04 | javietxe | OBNetwork customer | No => Gold |
2019-11-07 18:04 | javietxe | Resolution time | => 1574895600 |
2019-11-13 21:52 | alekosmp86 | Assigned To | Retail => alekosmp86 |
2019-11-13 21:53 | alekosmp86 | Status | new => scheduled |
2019-12-03 15:31 | hgbot | Checkin | |
2019-12-03 15:31 | hgbot | Note Added: 0116063 | |
2019-12-03 15:31 | hgbot | Status | scheduled => resolved |
2019-12-03 15:31 | hgbot | Resolution | open => fixed |
2019-12-03 15:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/612eb5eb21e73163f61bca43cd9876465c92305e [^] |
2019-12-04 10:37 | hgbot | Checkin | |
2019-12-04 10:37 | hgbot | Note Added: 0116080 | |
2019-12-04 10:37 | marvintm | Review Assigned To | => marvintm |
2019-12-04 10:37 | marvintm | Status | resolved => closed |
2019-12-04 10:37 | marvintm | Fixed in Version | => RR20Q1 |
Copyright © 2000 - 2009 MantisBT Group |