Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031800Retail ModulesWeb POSpublic2015-12-30 14:032018-08-14 14:49
Orekaria 
mario_castello 
normalminoralways
closedfixed 
5
 
 
migueldejuana
No
0031800: Warning shown when a receipt is loaded
Warning shown when a receipt is loaded
Log into the WebPOS
In the menu, select Receipts
Try to retrieve a receipt

Verify that an error is shown in the console:

[checkBlocked][no-transaction] No result after getInTransaction for [068DCCBCB90F80C459DD7BA46E32C16B][VBS1/0000080]. This update doesnt make sense - Caller: Backbone.Model.extend.save (https://livebuilds.openbravo.com/retail_pi_oracle/web/js/gen/5cf2fc45a9de02be3d0d5273fc1cb565_WebPOS.js:20414:16 [^]) - callerInfo:
Object.OB.Dal.save (https://livebuilds.openbravo.com/retail_pi_oracle/web/js/gen/5cf2fc45a9de02be3d0d5273fc1cb565_WebPOS.js:3984:22 [^]);
Backbone.Model.extend.save (https://livebuilds.openbravo.com/retail_pi_oracle/web/js/gen/5cf2fc45a9de02be3d0d5273fc1cb565_WebPOS.js:20414:16 [^]);
saveAndTriggerEvents (https://livebuilds.openbravo.com/retail_pi_oracle/web/js/gen/5cf2fc45a9de02be3d0d5273fc1cb565_WebPOS.js:20625:14 [^]);
https://livebuilds.openbravo.com/retail_pi_oracle/web/js/gen/5cf2fc45a9de02be3d0d5273fc1cb565_WebPOS.js:20656:11; [^]
https://livebuilds.openbravo.com/retail_pi_oracle/web/js/gen/5cf2fc45a9de02be3d0d5273fc1cb565_WebPOS.js:29268:9; [^] line: https://livebuilds.openbravo.com/retail_pi_oracle/web/js/gen/5cf2fc45a9de02be3d0d5273fc1cb565_WebPOS.js:4242:18 [^] (*,+)
No tags attached.
depends on design defect 0031755 acknowledged Retail To rebuild a receipt, the amounts must be calculated 
caused by defect 0030963RR15Q4 closed guilleaer A mechanism should check wrong updates in c_order table which can cause problems 
related to defect 0034155 acknowledged Retail Warning shown when a receipt is loaded from pay open tickect 
blocks defect 0031801RR16Q1 closed mtaal [HGVOL] Cannot load a receipt when the Customers are remote 
causes defect 0033919 closed mario_castello The gross of the lines are not calculated when the user loads a ticket from the backend 
Not all the children of this issue are yet resolved or closed.
diff diffIssue31800Final_loadWithoutCalculateReceipt.diff (9,889) 2016-01-19 17:02
https://issues.openbravo.com/file_download.php?file_id=8945&type=bug
Issue History
2015-12-30 14:03OrekariaNew Issue
2015-12-30 14:03OrekariaAssigned To => Retail
2015-12-30 14:03OrekariaTriggers an Emergency Pack => No
2015-12-30 14:04OrekariaAssigned ToRetail => mtaal
2015-12-30 14:04OrekariaStatusnew => acknowledged
2015-12-30 14:09OrekariaStatusacknowledged => scheduled
2015-12-30 14:09OrekariaAssigned Tomtaal => Retail
2015-12-30 14:10OrekariaAssigned ToRetail => mtaal
2015-12-30 14:21OrekariaAssigned Tomtaal => Retail
2015-12-30 14:21OrekariaSummary[HGVOL] Cannot load a receipt when the Customers are remote => Warning shown when a receipt is loaded
2015-12-30 14:21OrekariaDescription Updatedbug_revision_view_page.php?rev_id=10561#r10561
2015-12-30 14:21OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=10563#r10563
2015-12-30 14:21OrekariaRelationship replacedblocks 0031801
2015-12-30 14:27OrekariaSeveritymajor => minor
2015-12-30 15:25OrekariaStatusscheduled => acknowledged
2015-12-30 23:08mtaalRelationship addedrelated to 0031806
2015-12-30 23:09mtaalRelationship deletedrelated to 0031806
2015-12-30 23:10mtaalRelationship addedcaused by 0030963
2015-12-30 23:11mtaalNote Added: 0083087
2016-01-11 11:06guilleaerAssigned ToRetail => guilleaer
2016-01-11 11:07guilleaerStatusacknowledged => scheduled
2016-01-19 17:02guilleaerFile Added: diffIssue31800Final_loadWithoutCalculateReceipt.diff
2016-01-19 17:04guilleaerNote Added: 0083409
2016-02-02 11:22OrekariaRelationship addeddepends on 0031755
2016-03-08 20:19OrekariaStatusscheduled => acknowledged
2016-03-08 20:19OrekariaAssigned Toguilleaer => Retail
2016-08-08 22:21mario_castelloAssigned ToRetail => mario_castello
2016-08-12 22:58hgbotCheckin
2016-08-12 22:58hgbotNote Added: 0089093
2016-08-12 22:58hgbotStatusacknowledged => resolved
2016-08-12 22:58hgbotResolutionopen => fixed
2016-08-12 22:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5bb4f21c107bfcf7e6c4ba77a63f3caae62c174d [^]
2016-08-29 11:49dmitry_mezentsevNote Added: 0089491
2016-08-30 12:21migueldejuanaReview Assigned To => migueldejuana
2016-08-30 12:21migueldejuanaNote Added: 0089546
2016-08-30 12:21migueldejuanaStatusresolved => closed
2016-09-20 15:12migueldejuanaRelationship addedcauses 0033919
2016-09-30 23:28mario_castelloRelationship addedrelated to 0034155
2018-08-14 14:49hgbotCheckin
2018-08-14 14:49hgbotNote Added: 0106345

Notes
(0083087)
mtaal   
2015-12-30 23:11   
See related issue 30963

Short analysis (quick/re-check):
When loading a receipt from the server it is not yet stored in the database so the update check tries to find it but can't and shows the console warning.
(0083409)
guilleaer   
2016-01-19 17:04   
Attached a fix which has not passed try.

Changesets :
ERP:
https://code.openbravo.com/erp/devel/pi/graph/165f2247f1d0 [^]

Retail Modules:
https://code.openbravo.com/retail/try/org.openbravo.mobile.core/graph/a80c3bfe52c4 [^]
https://code.openbravo.com/retail/try/org.openbravo.retail.config/graph/1649f7bc7865 [^]
https://code.openbravo.com/retail/try/org.openbravo.retail.discounts/graph/1ab09dd431c2 [^]
https://code.openbravo.com/retail/try/org.openbravo.retail.pack/graph/0d6cf80f6c3e [^]
https://code.openbravo.com/retail/try/org.openbravo.retail.poshwmanager/graph/27552193a757 [^]
https://code.openbravo.com/retail/try/org.openbravo.retail.posterminal/graph/9b2ceb8e700c [^]
https://code.openbravo.com/retail/try/org.openbravo.retail.returns/graph/953c5c5fb105 [^]
https://code.openbravo.com/retail/try/org.openbravo.retail.sampledata/graph/e69d165f8335 [^]

31800
Automation-repo : pi-mobile
PostgreSQL version : 9.3


FAILED:
        https://ci.openbravo.com//job/try-ret-test-pgsql-suite1/1276/ [^]
        https://ci.openbravo.com//job/try-ret-test-pgsql-suite2/1275/ [^]
        https://ci.openbravo.com//job/try-ret-test-pgsql-suite3/1272/ [^]
        https://ci.openbravo.com//job/try-ret-test-pgsql-suite4/930/ [^]
        https://ci.openbravo.com//job/try-ret-test-oracle-suite1/1271/ [^]
        https://ci.openbravo.com//job/try-ret-test-oracle-suite2/1271/ [^]
        https://ci.openbravo.com//job/try-ret-test-oracle-suite3/1271/ [^]
        https://ci.openbravo.com//job/try-ret-test-oracle-suite4/929/ [^]

SUCCESS:
        https://ci.openbravo.com//job/try-ret-modules-pgsql/2316/ [^]
        https://ci.openbravo.com//job/try-ret-modules-oracle/2314/ [^]
        https://ci.openbravo.com//job/try-ret-full-pgsql/2313/ [^]
        https://ci.openbravo.com//job/try-ret-full-oracle/2308/ [^]
        https://ci.openbravo.com//job/try-ret-checks-pgsql/2080/ [^]
        https://ci.openbravo.com//job/try-ret-checks-oracle/2078/ [^]
        https://ci.openbravo.com//job/try-ret-dbcons-pgsql/1914/ [^]
        https://ci.openbravo.com//job/try-ret-dbcons-oracle/1913/ [^]

The idea is to avoid CalculateReceipt when a paidreceipt is loaded.
(0089093)
hgbot   
2016-08-12 22:58   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5bb4f21c107bfcf7e6c4ba77a63f3caae62c174d
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Fri Aug 12 10:43:26 2016 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5bb4f21c107bfcf7e6c4ba77a63f3caae62c174d [^]

Fixed issue 31800: Avoid calculateReceipt function when loaded a paid receipt

---
M web/org.openbravo.retail.posterminal/js/components/modalpaidreceipts.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0089491)
dmitry_mezentsev   
2016-08-29 11:49   
Not closed for 17 days!
(0089546)
migueldejuana   
2016-08-30 12:21   
Tested and reviewed
(0106345)
hgbot   
2018-08-14 14:49   
Repository: tools/automation/pi-mobile
Changeset: 166e0cef91f5a4cca4e0d626dca0403580490337
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Mon Aug 13 11:25:04 2018 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/166e0cef91f5a4cca4e0d626dca0403580490337 [^]

Related to issue 31800: added automated test

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