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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032655
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorsometimes2016-04-12 16:552016-04-26 13:18
ReporteraaroncaleroView Statuspublic 
Assigned Tomario_castello 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision87c579f53d5d
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032655: [SER QA 892] Use Credit doesn't work after locking screen or reloading the application

DescriptionIf the application is refreshed or the user locks the screen and logs in again, it is not possible to pay a ticket with credit unless the business partner is reassigned to the ticket.
Steps To ReproduceLogin in a terminal which allows to pay using credit[1]
Create an empty ticket, add any product, and assign a customer who can use credit[2]
Click on the total amount button and verify that the Use Credit button is visible.
Go to the Menu > Online > Lock Screen
Login again with the same user and verify that the previous receipt is loaded.
Click on the total amount button to pay again
Click on the Use Credit button
On the 'Credit will be used' popup, click on 'Yes, use credit'
Verify that the receipt is not synchronized.
Verify on the browser console that the following error is logged:
2394a1a…_WebPOS.js:2605 ; line: Object.OB.UTIL.showError (https://livebuilds.openbravo.com/retail_pi_pgsql/web/js/gen/2394a1abb2535563cf2cf2d539f89724_WebPOS.js:10434:6 [^]) (*,+)processConsoleLevel @ 2394a1a…_WebPOS.js:2605
2394a1a…_WebPOS.js:3689 Uncaught OB.Dal.getTableName: the model has not been initialized

[1] It can be configured on the POS Terminal Type window, checking the "Allow Pay on Credit" checkbox.
[2] Credit usage can be allowed in the Business Partner window, setting the Credit Line Limit value to something greater that 0

The customer Carl Studson on the following terminal:
https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=CMS-1#retail.pointofsale [^]
is preconfigured to use credit.
TagsSER-QA
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0085839)
hgbot (developer)
2016-04-21 16:24

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 87c579f53d5d1921c951d6e4d96822cd25917662
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Mon Apr 18 11:16:39 2016 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/87c579f53d5d1921c951d6e4d96822cd25917662 [^]

Fixed issue 32655: Replaced Backbone.Model by OB.Model.BusinessPartner in order.js

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0085840)
mario_castello (developer)
2016-04-21 16:41

When the order set the attributes use Backbone.Model to create the Business Partner object.
Sometimes this object loses the reference to the modelName and can not save the information in Web Pos.
(0085937)
hgbot (developer)
2016-04-23 17:18

Repository: tools/automation/pi-mobile
Changeset: e04303c03e8bce002221e14977225dcf424194d7
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Sat Apr 23 09:18:27 2016 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/e04303c03e8bce002221e14977225dcf424194d7 [^]

Related to issue 32655: Added automated test

---
A src-test/org/openbravo/test/mobile/quarantine/pack/MCA/receipts/I32655_ReceiptChangeBPPayWithCredit.java
---
(0085985)
migueldejuana (developer)
2016-04-26 13:18

Tested and reviewed in a003f89753a6

- Issue History
Date Modified Username Field Change
2016-04-12 16:55 aaroncalero New Issue
2016-04-12 16:55 aaroncalero Assigned To => Retail
2016-04-12 16:55 aaroncalero Triggers an Emergency Pack => No
2016-04-12 18:33 Orekaria Status new => acknowledged
2016-04-12 18:33 Orekaria Status acknowledged => scheduled
2016-04-12 18:34 Orekaria Status scheduled => resolved
2016-04-12 18:34 Orekaria Resolution open => fixed
2016-04-12 18:34 Orekaria Status resolved => new
2016-04-12 18:34 Orekaria Resolution fixed => open
2016-04-15 11:09 VictorVillar Resolution time => 1461621600
2016-04-15 11:33 Orekaria Status new => acknowledged
2016-04-15 14:48 VictorVillar Tag Attached: SER-QA
2016-04-15 14:51 VictorVillar Summary Use Credit doesn't work after locking screen or reloading the application => [SER QA 892] Use Credit doesn't work after locking screen or reloading the application
2016-04-18 18:11 mario_castello Assigned To Retail => mario_castello
2016-04-18 18:11 mario_castello Status acknowledged => scheduled
2016-04-21 16:24 hgbot Checkin
2016-04-21 16:24 hgbot Note Added: 0085839
2016-04-21 16:24 hgbot Status scheduled => resolved
2016-04-21 16:24 hgbot Resolution open => fixed
2016-04-21 16:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/87c579f53d5d1921c951d6e4d96822cd25917662 [^]
2016-04-21 16:41 mario_castello Note Added: 0085840
2016-04-23 17:18 hgbot Checkin
2016-04-23 17:18 hgbot Note Added: 0085937
2016-04-26 13:18 migueldejuana Review Assigned To => migueldejuana
2016-04-26 13:18 migueldejuana Note Added: 0085985
2016-04-26 13:18 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker