Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027965Retail ModulesWeb POSpublic2014-10-23 14:412014-11-06 20:29
sureshbabu 
mtaal 
normaltrivialhave not tried
closedfixed 
5
 
RR14Q4RR15Q1 
migueldejuana
QA functional test
2014-09-05
pi
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6ca04f0a2a1e [^]
No
0027965: [RR14Q4] When suspended order is printed, in print copy time field shows NaN:NaN
When suspended order is printed, in print copy time field show value has NaN:NaN
     
Create preference for print suspended order...

Login to ERP system using below user credentials:

    "Username": Openbravo
    "Password": openbravo

Then change the role to “The White Valley Group Admin” role

Navigate to “Preference” window

Click Ctrl + D to add new record

Then enter the below details

    “Client”: The White Valley Group
    "Organization": Vall Blanca Store
    “Property List”: Checked
    “Property”: Web POS print suspended order
    “Value”:Y

Then In Visibility section, enter the below details

    “Visible at Client”: The White Valley Group
    "Visible at Organization": Vall Blanca Store
    “Visible at User”: Demo user

Click Ctrl + S to save the changes

Then change the role to “System Administrator” role

Navigate to “Preference” window

Verify record is present for property “Web POS print suspended order”

If the record is found, set the field "Value" as

    “Value”:N

If the record for property “Web POS print suspended order” is not found, then click Ctrl + D to add new record

Then enter the below details

    “Client”: System
    "Organization": *
    “Property List”: Checked
    “Property”: Web POS print suspended order
    “Value”:N

Then In Visibility section, enter the below details

    “Visible at Client”: <Blank>
    "Visible at Organization": <Blank>
    “Visible at User”: <Blank>



1) From WEBPOS, create a receipt before paying the receipt, click new button
2) Then verify suspended receipt details are rightly printed in the print copy


Defect: Time field shows value has NaN:NaN

Note: Refer screen shot for details.
No tags attached.
caused by defect 0027263 closed mtaal We are not displaying the time when we print a closed ticket 
png When suspended order is printerd, in print copy time field shows NaN NaN value.png (163,763) 2014-10-23 14:41
https://issues.openbravo.com/file_download.php?file_id=7425&type=bug
png
Issue History
2014-10-23 14:41sureshbabuNew Issue
2014-10-23 14:41sureshbabuAssigned To => marvintm
2014-10-23 14:41sureshbabuFile Added: When suspended order is printerd, in print copy time field shows NaN NaN value.png
2014-10-23 14:41sureshbabuTriggers an Emergency Pack => No
2014-10-23 15:06sureshbabuRegression level => QA functional test
2014-10-23 15:06sureshbabuTarget Version => RR14Q4
2014-10-27 10:05migueldejuanaAssigned Tomarvintm => migueldejuana
2014-10-27 10:06migueldejuanaRegression introduced in release => pi
2014-10-27 10:06migueldejuanaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6ca04f0a2a1e [^]
2014-10-27 12:06hgbotCheckin
2014-10-27 12:06hgbotNote Added: 0071190
2014-10-27 12:06hgbotStatusnew => resolved
2014-10-27 12:06hgbotResolutionopen => fixed
2014-10-27 12:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d308fc27eca97de0cf2e1f7b4c156abc4283aa77 [^]
2014-11-03 12:18migueldejuanaStatusresolved => new
2014-11-03 12:18migueldejuanaResolutionfixed => open
2014-11-03 12:19migueldejuanaRegression date => 2014-09-05
2014-11-04 14:45mtaalNote Added: 0071399
2014-11-04 16:23hgbotCheckin
2014-11-04 16:23hgbotNote Added: 0071401
2014-11-04 16:23hgbotStatusnew => resolved
2014-11-04 16:23hgbotResolutionopen => fixed
2014-11-04 16:23hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d308fc27eca97de0cf2e1f7b4c156abc4283aa77 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/bb4e4ae46883f5fbbd3cc67fc5084c3ab324dad1 [^]
2014-11-05 19:14migueldejuanaAssigned Tomigueldejuana => mtaal
2014-11-05 19:14migueldejuanaReview Assigned To => migueldejuana
2014-11-05 19:14migueldejuanaNote Added: 0071444
2014-11-05 19:14migueldejuanaStatusresolved => closed
2014-11-05 19:14migueldejuanaFixed in Version => RR15Q1
2014-11-06 20:29dmitry_mezentsevRelationship addedcaused by 0027263

Notes
(0071190)
hgbot   
2014-10-27 12:06   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d308fc27eca97de0cf2e1f7b4c156abc4283aa77
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Oct 27 12:05:55 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d308fc27eca97de0cf2e1f7b4c156abc4283aa77 [^]

Fixed issue 0027965: [RR14Q4] When suspended order is printed, in print copy time field shows NaN:NaN

We are trying to use created of the order to put time, but sometimes it still undefined (Draft orders), so in those cases we will put now.

---
M web/org.openbravo.retail.posterminal/res/printinvoice.xml
M web/org.openbravo.retail.posterminal/res/printlayaway.xml
M web/org.openbravo.retail.posterminal/res/printreceipt.xml
M web/org.openbravo.retail.posterminal/res/printreturn.xml
M web/org.openbravo.retail.posterminal/res/printreturninvoice.xml
---
(0071399)
mtaal   
2014-11-04 14:45   
This issue does not warrant an automated test:
- it is a corner case without any side effects, no data corruption
- it is easy to solve and probably not recurring
- it would be difficult to test as we would need to somehow parse/check pdf output

So automated test would be large effort with minimal benefit.
(0071401)
hgbot   
2014-11-04 16:23   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: bb4e4ae46883f5fbbd3cc67fc5084c3ab324dad1
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Nov 04 16:22:54 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/bb4e4ae46883f5fbbd3cc67fc5084c3ab324dad1 [^]

Fixes issue 27965: [RR14Q4] When suspended order is printed, in print copy time field shows NaN:NaN
Changed test for null of order.get('created') to also test undefined using the util OB.Util.isNullOrUndefined
function.

---
M web/org.openbravo.retail.posterminal/res/printinvoice.xml
M web/org.openbravo.retail.posterminal/res/printlayaway.xml
M web/org.openbravo.retail.posterminal/res/printreceipt.xml
M web/org.openbravo.retail.posterminal/res/printreturn.xml
M web/org.openbravo.retail.posterminal/res/printreturninvoice.xml
---
(0071444)
migueldejuana   
2014-11-05 19:14   
Tested and reviewed in 3519bbb1ce0a