Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027965
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POStrivialhave not tried2014-10-23 14:412014-11-06 20:29
ReportersureshbabuView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in VersionRR15Q1
StatusclosedFix in branchFixed in SCM revisionbb4e4ae46883
ProjectionnoneETAnoneTarget VersionRR14Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression levelQA functional test
Regression date2014-09-05
Regression introduced in releasepi
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6ca04f0a2a1e [^]
Triggers an Emergency PackNo
Summary

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

DescriptionWhen suspended order is printed, in print copy time field show value has NaN:NaN
Steps To Reproduce     
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.
TagsNo tags attached.
Attached Filespng file icon When suspended order is printerd, in print copy time field shows NaN NaN value.png [^] (163,763 bytes) 2014-10-23 14:41

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0027263 closedmtaal We are not displaying the time when we print a closed ticket 

-  Notes
(0071190)
hgbot (developer)
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 (manager)
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 (developer)
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 (developer)
2014-11-05 19:14

Tested and reviewed in 3519bbb1ce0a

- Issue History
Date Modified Username Field Change
2014-10-23 14:41 sureshbabu New Issue
2014-10-23 14:41 sureshbabu Assigned To => marvintm
2014-10-23 14:41 sureshbabu File Added: When suspended order is printerd, in print copy time field shows NaN NaN value.png
2014-10-23 14:41 sureshbabu Triggers an Emergency Pack => No
2014-10-23 15:06 sureshbabu Regression level => QA functional test
2014-10-23 15:06 sureshbabu Target Version => RR14Q4
2014-10-27 10:05 migueldejuana Assigned To marvintm => migueldejuana
2014-10-27 10:06 migueldejuana Regression introduced in release => pi
2014-10-27 10:06 migueldejuana Regression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6ca04f0a2a1e [^]
2014-10-27 12:06 hgbot Checkin
2014-10-27 12:06 hgbot Note Added: 0071190
2014-10-27 12:06 hgbot Status new => resolved
2014-10-27 12:06 hgbot Resolution open => fixed
2014-10-27 12:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d308fc27eca97de0cf2e1f7b4c156abc4283aa77 [^]
2014-11-03 12:18 migueldejuana Status resolved => new
2014-11-03 12:18 migueldejuana Resolution fixed => open
2014-11-03 12:19 migueldejuana Regression date => 2014-09-05
2014-11-04 14:45 mtaal Note Added: 0071399
2014-11-04 16:23 hgbot Checkin
2014-11-04 16:23 hgbot Note Added: 0071401
2014-11-04 16:23 hgbot Status new => resolved
2014-11-04 16:23 hgbot Resolution open => fixed
2014-11-04 16:23 hgbot Fixed in SCM revision http://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:14 migueldejuana Assigned To migueldejuana => mtaal
2014-11-05 19:14 migueldejuana Review Assigned To => migueldejuana
2014-11-05 19:14 migueldejuana Note Added: 0071444
2014-11-05 19:14 migueldejuana Status resolved => closed
2014-11-05 19:14 migueldejuana Fixed in Version => RR15Q1
2014-11-06 20:29 dmitry_mezentsev Relationship added caused by 0027263


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker