Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036514Retail ModulesStoreServerpublic2017-07-19 18:332017-09-04 11:32
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
RR17Q4RR17Q4 
marvintm
No
0036514: A shipment header gets created for a deleted ticket
A deleted ticket still creates a shipment header without lines. It shouldn't, no shipment header is needed.

Run the I35473_VerifyOrderDeleiveryWithDeleleTicket test [1]
Check that an empty shipment header is created. See the attached screenshot.

[1]
https://code.openbravo.com/tools/automation/pi-mobile/file/1598d38b2ff6/src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I35473_VerifyOrderDeleiveryWithDeleleTicket.java [^]
set the createShipment boolean to false in case of a deleted ticket [1]

    createShipment = !isQuotation && !notpaidLayaway && !paidReceipt && !isDeleted;


[1]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/ab11a97dbdbc/src/org/openbravo/retail/posterminal/OrderLoader.java#l207 [^]

No tags attached.
Issue History
2017-07-19 18:33mtaalNew Issue
2017-07-19 18:33mtaalAssigned To => mtaal
2017-07-19 18:33mtaalTriggers an Emergency Pack => No
2017-07-20 09:43hgbotCheckin
2017-07-20 09:43hgbotNote Added: 0098142
2017-07-20 09:43hgbotStatusnew => resolved
2017-07-20 09:43hgbotResolutionopen => fixed
2017-07-20 09:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/71f3e1aff90df467d72e0b69302195ddfad424c9 [^]
2017-07-20 09:44mtaalReview Assigned To => migueldejuana
2017-09-04 11:32marvintmReview Assigned Tomigueldejuana => marvintm
2017-09-04 11:32marvintmStatusresolved => closed
2017-09-04 11:32marvintmFixed in Version => RR17Q4

Notes
(0098142)
hgbot   
2017-07-20 09:43   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 71f3e1aff90df467d72e0b69302195ddfad424c9
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Jul 20 09:43:17 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/71f3e1aff90df467d72e0b69302195ddfad424c9 [^]

Fixes issue 36514: A shipment header gets created for a deleted ticket
When the ticket is being deleted do not create a shipment header

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---