Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040895Retail ModulesWeb POSpublic2019-05-17 10:292019-05-29 17:17
xabiermerino 
rqueralta 
urgentmajoralways
closedfixed 
5
 
RR19Q3 
marvintm
No
0040895: Invoices from Returns from Client should be in status Voided
Invoices from Returns from Client should be in status Voided. Now, these invoices are created in status Completed.
1.- Log into a terminal which Terminal Type is configured as 'Generate Invoice for Orders'
2.- Create a verified return
3.- Go to backoffice and realize that the invoice created is in status completed. It should be in Void status
No tags attached.
causes defect 0042554 closed ranjith_qualiantech_com The invoices create from verified returns have the Document Status as void 
Issue History
2019-05-17 10:29xabiermerinoNew Issue
2019-05-17 10:29xabiermerinoAssigned To => Retail
2019-05-17 10:29xabiermerinoResolution time => 1558562400
2019-05-17 10:29xabiermerinoTriggers an Emergency Pack => No
2019-05-17 23:49rqueraltaAssigned ToRetail => rqueralta
2019-05-17 23:49rqueraltaStatusnew => scheduled
2019-05-21 14:43hgbotCheckin
2019-05-21 14:43hgbotNote Added: 0111953
2019-05-21 14:43hgbotStatusscheduled => resolved
2019-05-21 14:43hgbotResolutionopen => fixed
2019-05-21 14:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d435d321074b568e7ea0fc845b8389c0caf1d741 [^]
2019-05-23 13:41marvintmNote Added: 0112092
2019-05-23 13:41marvintmStatusresolved => new
2019-05-23 13:41marvintmResolutionfixed => open
2019-05-23 17:45hgbotCheckin
2019-05-23 17:45hgbotNote Added: 0112104
2019-05-23 17:45hgbotStatusnew => resolved
2019-05-23 17:45hgbotResolutionopen => fixed
2019-05-23 17:45hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d435d321074b568e7ea0fc845b8389c0caf1d741 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ed52ab94c2a805a3d04fedc59484cc53a7474979 [^]
2019-05-23 18:26marvintmReview Assigned To => marvintm
2019-05-23 18:26marvintmStatusresolved => closed
2019-05-23 18:26marvintmFixed in Version => RR19Q3
2019-05-29 17:17hgbotCheckin
2019-05-29 17:17hgbotNote Added: 0112237
2019-12-16 07:27ranjith_qualiantech_comRelationship addedrelated to 0042554
2020-03-05 13:39ngarciaRelationship replacedcauses 0042554

Notes
(0111953)
hgbot   
2019-05-21 14:43   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d435d321074b568e7ea0fc845b8389c0caf1d741
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Mon May 20 11:01:46 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d435d321074b568e7ea0fc845b8389c0caf1d741 [^]

Fixed issue 40895: Invoices from Returns from Client should be in status Voided

- Seted Invoices from Returns from Client to "Voided" status

---
M src/org/openbravo/retail/posterminal/utility/InvoiceUtils.java
---
(0112092)
marvintm   
2019-05-23 13:41   
Fix is not correct. Instead of checking the isVerifiedReturn property in the lines, we should check the document type of the order. If the order is a return, then the invoice should be created as Voided.
(0112104)
hgbot   
2019-05-23 17:45   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ed52ab94c2a805a3d04fedc59484cc53a7474979
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Thu May 23 11:43:25 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ed52ab94c2a805a3d04fedc59484cc53a7474979 [^]

Fixed issue 40895: Invoices from Returns from Client should be in status Voided

- Seted Invoices to "Voided" status if Document Type is return

---
M src/org/openbravo/retail/posterminal/utility/InvoiceUtils.java
---
(0112237)
hgbot   
2019-05-29 17:17   
Repository: tools/automation/pi-mobile
Changeset: 42dd7ce6ee058a9079f7fae6c63a2094f2dc6f2b
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Tue May 21 14:58:46 2019 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/42dd7ce6ee058a9079f7fae6c63a2094f2dc6f2b [^]

Related to issue 40895: added automated test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I40895_VerifyInvoicesFromReturnsAreInVoidStatus.java
---