Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0033527 | Retail Modules | Web POS | public | 2016-07-22 09:30 | 2016-08-01 00:14 |
Reporter | guillermogil | ||||
Assigned To | shivum039 | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | OBPS | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0033527: Save Delete Ticket functionality does not work if you delete an invoice | ||||
Description | Save Delete Ticket functionality does not work if you delete an invoice. It goes to errors while importing window while trying to create the invoice Caused by: java.lang.ArithmeticException: / by zero at java.math.BigDecimal.divideAndRound(BigDecimal.java:1424) at java.math.BigDecimal.divide(BigDecimal.java:1398) at java.math.BigDecimal.divide(BigDecimal.java:1513) at org.openbravo.retail.posterminal.OrderLoader.createInvoiceLine(OrderLoader.java:668) at org.openbravo.retail.posterminal.OrderLoader.createInvoiceLines(OrderLoader.java:834) at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:383) | ||||
Steps To Reproduce | * Go to the ERP / Preference Window * Create WEBPOS Save Removed Tickets with value Y * Login on WebPOS * Open the menu and select Invoice this receipt * Add a product * Remove the ticket * Go to the ERP / Errors While Importing You will see there a divide by 0 error | ||||
Proposed Solution | Do not Invoice deleted tickets. See attached diff | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=9648&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-07-22 09:30 | guillermogil | New Issue | |||
2016-07-22 09:30 | guillermogil | Assigned To | => Retail | ||
2016-07-22 09:30 | guillermogil | File Added: deleteline.diff | |||
2016-07-22 09:30 | guillermogil | OBNetwork customer | => Yes | ||
2016-07-22 09:30 | guillermogil | Resolution time | => 1469570400 | ||
2016-07-22 09:30 | guillermogil | Triggers an Emergency Pack | => No | ||
2016-07-22 09:31 | guillermogil | Summary | Delete Line functionality does not work if you delete an invoice => Save Delete Ticket functionality does not work if you delete an invoice | ||
2016-07-22 09:31 | guillermogil | Description Updated | bug_revision_view_page.php?rev_id=12731#r12731 | ||
2016-07-26 13:18 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2016-07-26 13:18 | ranjith_qualiantech_com | Status | new => scheduled | ||
2016-07-26 13:41 | ranjith_qualiantech_com | Assigned To | ranjith_qualiantech_com => shivum039 | ||
2016-07-28 10:16 | hgbot | Checkin | |||
2016-07-28 10:16 | hgbot | Note Added: 0088686 | |||
2016-07-28 10:16 | hgbot | Status | scheduled => resolved | ||
2016-07-28 10:16 | hgbot | Resolution | open => fixed | ||
2016-07-28 10:16 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/89c3e6d2156cb5d24cf988eb185a035591435c53 [^] | ||
2016-07-28 10:16 | hgbot | Checkin | |||
2016-07-28 10:16 | hgbot | Note Added: 0088687 | |||
2016-08-01 00:14 | marvintm | Review Assigned To | => marvintm | ||
2016-08-01 00:14 | marvintm | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|