Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039816Retail ModulesWeb POSpublic2018-12-17 12:282018-12-20 15:08
samuel_nicuesa 
ranjith_qualiantech_com 
immediatemajoralways
closedfixed 
5
pi 
RR19Q1 
marvintm
Pre packaging ( pi )
2018-08-20
pi
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0324c98060985d8b99360391c63145aa25feddb4 [^]
No
0039816: Sales order are missing using press Generate invoice for order
Sales order are missing pressing Generate invoice for order flag and deleting the current ticket because receipt id has been assigned but there isn't any receipt in the chrome database.
[BO]

Configure Generate invoice for Orders (Posterminal type)

[POS]

-Login
-Check in OB.MobileApp.model.receipt.attributes id is null
{hasbeenpaid: "N", isbeingprocessed: "N", id: null, client: "8A3CC658963A4B7D8DA2490A3C1A7C9A", organization: "C6F92278638D491795274800D9D371DF", …}

-Disable Invoice check and now an id is assigned

OB.MobileApp.model.receipt.attributes
{hasbeenpaid: "N", isbeingprocessed: "N", id: "D157E0C72B9A91D1AAA080C65FFEFBAD", client: "8A3CC658963A4B7D8DA2490A3C1A7C9A", organization: "C6F92278638D491795274800D9D371DF", …}

-Delete the ticket

-Check that chorme database is empty but the current receipt has the previous id

OB.MobileApp.model.receipt.attributes
{hasbeenpaid: "N", isbeingprocessed: "N", id: "D157E0C72B9A91D1AAA080C65FFEFBAD", client: "8A3CC658963A4B7D8DA2490A3C1A7C9A", organization: "C6F92278638D491795274800D9D371DF", …}


After this, you can add products and complete the ticket, but the order will never reach the server, and it will be lost.
No tags attached.
caused by defect 0039113 closed ranjith_qualiantech_com Logout stuck if a draft ticket with products exists in background 
causes defect 0039872 closed ranjith_qualiantech_com Javascript error is displayed when trying to close pending documents when opening store from a terminal - Cannot read 'models' 
Issue History
2018-12-17 12:28samuel_nicuesaNew Issue
2018-12-17 12:28samuel_nicuesaAssigned To => Retail
2018-12-17 12:28samuel_nicuesaResolution time => 1545260400
2018-12-17 12:28samuel_nicuesaRegression level => Pre packaging ( pi )
2018-12-17 12:28samuel_nicuesaRegression introduced in release => pi
2018-12-17 12:28samuel_nicuesaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0324c98060985d8b99360391c63145aa25feddb4 [^]
2018-12-17 12:28samuel_nicuesaTriggers an Emergency Pack => No
2018-12-17 12:47ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-12-17 12:47marvintmAssigned Toranjith_qualiantech_com => Retail
2018-12-17 12:47marvintmSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18043#r18043
2018-12-17 12:47ranjith_qualiantech_comStatusnew => scheduled
2018-12-17 12:49marvintmRegression date => 2018-08-20
2018-12-17 12:51marvintmAssigned ToRetail => ranjith_qualiantech_com
2018-12-17 13:03rafarodaRelationship addedcaused by 0039113
2018-12-17 13:03rafarodaIssue Monitored: rafaroda
2018-12-18 10:45hgbotCheckin
2018-12-18 10:45hgbotNote Added: 0108664
2018-12-18 10:45hgbotStatusscheduled => resolved
2018-12-18 10:45hgbotResolutionopen => fixed
2018-12-18 10:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7c3c0cb548f66a4bd5fb0b7e80fd9d9d23a9fb66 [^]
2018-12-18 10:45hgbotCheckin
2018-12-18 10:45hgbotNote Added: 0108665
2018-12-20 15:08marvintmReview Assigned To => marvintm
2018-12-20 15:08marvintmStatusresolved => closed
2018-12-20 15:08marvintmFixed in Version => RR19Q1
2019-01-03 12:57gorka_gilRelationship addedcauses 0039872

Notes
(0108664)
hgbot   
2018-12-18 10:45   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7c3c0cb548f66a4bd5fb0b7e80fd9d9d23a9fb66
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Dec 18 15:15:10 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7c3c0cb548f66a4bd5fb0b7e80fd9d9d23a9fb66 [^]

Fixed issue 39816 : Receipt should be removed from the orderList even if receipt is not saved

* OrderList should be updated when receipt generateInvoice is updated

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0108665)
hgbot   
2018-12-18 10:45   
Repository: tools/automation/pi-mobile
Changeset: be042c04b24ef028c9a55273ed5480d3b0a9de5d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Dec 18 15:15:27 2018 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/be042c04b24ef028c9a55273ed5480d3b0a9de5d [^]

Verifies issue 39816 : Added Test 'I39816_VerifyReceiptOnDelete'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I39816_VerifyReceiptOnDelete.java
---