Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033527 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2016-07-22 09:30 | 2016-08-01 00:14 | |||
Reporter | guillermogil | View Status | public | |||||
Assigned To | shivum039 | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 89c3e6d2156c | ||||
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 | 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0088686) hgbot (developer) 2016-07-28 10:16 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 89c3e6d2156cb5d24cf988eb185a035591435c53 Author: Shivanand Madiwalar <shivanand.madiwalar <at> promantia.com> Date: Thu Jul 28 13:45:36 2016 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/89c3e6d2156cb5d24cf988eb185a035591435c53 [^] FIxes Issue 33527 :The Proposed Approach (Attached patch) Applied To Verify "Delete Save Ticket " On Invoice . --- M src/org/openbravo/retail/posterminal/OrderLoader.java --- |
(0088687) hgbot (developer) 2016-07-28 10:16 |
Repository: tools/automation/pi-mobile Changeset: 6b8fcd570a1f52fc8847d9019ab044276f55009b Author: Shivanand Madiwalar <shivanand.madiwalar <at> promantia.com> Date: Thu Jul 28 13:45:29 2016 +0530 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/6b8fcd570a1f52fc8847d9019ab044276f55009b [^] Verifies issue 33527 :The Automated Test To Verify "Delete Save Ticket" on Invoice Action . --- A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I33527_SaveDeleteTicketOnInvoice.java --- |
![]() |
|||
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 | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |