Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035870Retail ModulesWeb POSpublic2017-04-27 17:242017-05-16 11:16
nataliag 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
 
migueldejuana
No
0035870: "Web POS Save Removed tickets" preference not working with invoiced receipts
If you activate the "Web POS Save Removed Tickets" preference and then you create an invoiced receipt and you delete a line on it, it is not well processed and is saved in the "Errors while importing POS data" window with the error:
java.lang.ArithmeticException: BigInteger divide by zero
1- Log in in backoffice and set the preference "Web POS Save Removed Tickets" to Y.
2- Then, go to a POS terminal and create a new ticket.
3- Select on the menu the option "Invoice this Receipt".
4- Add some products and delete one of the lines.
5- Complete the ticket paying it.
6- Go again to backoffice and your order is not in the sales order window but it is in the Errors while importing POS data.

No tags attached.
Issue History
2017-04-27 17:24nataliagNew Issue
2017-04-27 17:24nataliagAssigned To => Retail
2017-04-27 17:24nataliagResolution time => 1495058400
2017-04-27 17:24nataliagTriggers an Emergency Pack => No
2017-04-28 12:40ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-04-28 12:40ranjith_qualiantech_comStatusnew => scheduled
2017-05-03 07:40hgbotCheckin
2017-05-03 07:40hgbotNote Added: 0096325
2017-05-03 07:40hgbotStatusscheduled => resolved
2017-05-03 07:40hgbotResolutionopen => fixed
2017-05-03 07:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/89454f824c0406b79ef194496e14f0d0677857ff [^]
2017-05-03 07:48hgbotCheckin
2017-05-03 07:48hgbotNote Added: 0096326
2017-05-03 13:21migueldejuanaNote Added: 0096343
2017-05-03 13:21migueldejuanaStatusresolved => new
2017-05-03 13:21migueldejuanaResolutionfixed => open
2017-05-04 07:40ranjith_qualiantech_comStatusnew => scheduled
2017-05-04 07:40hgbotCheckin
2017-05-04 07:40hgbotNote Added: 0096361
2017-05-04 07:40hgbotStatusscheduled => resolved
2017-05-04 07:40hgbotResolutionopen => fixed
2017-05-04 07:40hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/89454f824c0406b79ef194496e14f0d0677857ff [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/de1e76f7e93faea43c5abd0485548c73ab2e9b9b [^]
2017-05-04 07:40hgbotCheckin
2017-05-04 07:40hgbotNote Added: 0096362
2017-05-04 10:53migueldejuanaReview Assigned To => migueldejuana
2017-05-04 10:53migueldejuanaNote Added: 0096375
2017-05-04 10:53migueldejuanaStatusresolved => closed
2017-05-15 12:05nataliagNote Added: 0096587
2017-05-15 12:05nataliagStatusclosed => new
2017-05-15 12:05nataliagResolutionfixed => open
2017-05-16 11:15migueldejuanaStatusnew => scheduled
2017-05-16 11:15migueldejuanaStatusscheduled => resolved
2017-05-16 11:15migueldejuanaResolutionopen => fixed
2017-05-16 11:16migueldejuanaNote Added: 0096617
2017-05-16 11:16migueldejuanaStatusresolved => closed

Notes
(0096325)
hgbot   
2017-05-03 07:40   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 89454f824c0406b79ef194496e14f0d0677857ff
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed May 03 11:09:34 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/89454f824c0406b79ef194496e14f0d0677857ff [^]

Fixed issue 35870 : Deleted line should not be included for invoices

* If pref "save deleted tickets" enabled, deleted line should not be added in invoices

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0096326)
hgbot   
2017-05-03 07:48   
Repository: tools/automation/pi-mobile
Changeset: 86742187d91299535faa147f190b8e16de2ca803
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed May 03 11:09:42 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/86742187d91299535faa147f190b8e16de2ca803 [^]

Verifies issue 35870 : Added automated test 'I35870_VerifyInvoiceLinesWithSaveDeletePref'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I35870_VerifyInvoiceLinesWithSaveDeletePref.java
---
(0096343)
migueldejuana   
2017-05-03 13:21   
1- Log in in backoffice and set the preference "Web POS Save Removed Tickets" to Y.
2- Then, go to a POS terminal and create a new ticket.
3- Select on the menu the option "Invoice this Receipt".

(NEW STEP)3.1- Select on the menu the option "Return this Receipt".

4- Add some products and delete one of the lines.
5- Complete the ticket paying it.
6- Go again to backoffice and your order is not in the sales order window but it is in the Errors while importing POS data.
(0096361)
hgbot   
2017-05-04 07:40   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: de1e76f7e93faea43c5abd0485548c73ab2e9b9b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu May 04 11:09:23 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/de1e76f7e93faea43c5abd0485548c73ab2e9b9b [^]

Fixed issue 35870 : Deleted line should not be included for invoices. if receipt is return receipt

* If pref "save deleted tickets" enabled, line should not be added in invoices

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0096362)
hgbot   
2017-05-04 07:40   
Repository: tools/automation/pi-mobile
Changeset: 9ac4887d901f68b99a35578c1a98821dae8fddab
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu May 04 11:09:29 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/9ac4887d901f68b99a35578c1a98821dae8fddab [^]

Verifies issue 35870 : Modified automated test 'I35870_VerifyInvoiceLinesWithSaveDeletePref'

* Added condition for return receipt

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I35870_VerifyInvoiceLinesWithSaveDeletePref.java
---
(0096375)
migueldejuana   
2017-05-04 10:53   
Tested and reviewed
(0096587)
nataliag   
2017-05-15 12:05   
We have tested and the problem is still happening following the same steps reported.
(0096617)
migueldejuana   
2017-05-16 11:16   
It has been reopened by error.