Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031028Retail ModulesWeb POSpublic2015-10-02 12:412015-10-13 19:31
aaroncalero 
mario_castello 
highmajoralways
closedfixed 
5
 
 
marvintm
No
0031028: Orders loaded from the backend have an incorrect documentType assigned
When you load an order to the pos from the backend (either quotations, paid receipts, or layaways), the document type assigned to the order model is incorrect.
The document type loaded is the name of the document type, instead of the document type id.
Create a ticket in web pos.
Before paying it, verify its document type (OB.MobileApp.model.receipt.get('documentType')).
As an example, a ticket created in livebuilds gives the following result: "511A9371A0F74195AA3F6D66C722729D"
Pay the ticket, and load it from the backend (Menu > Receipts).
Once the document has loaded, verify the document type again.
Now the result is "VBS POS Order"
No tags attached.
Issue History
2015-10-02 12:41aaroncaleroNew Issue
2015-10-02 12:41aaroncaleroAssigned To => Retail
2015-10-02 12:41aaroncaleroResolution time => 1444341600
2015-10-02 12:41aaroncaleroTriggers an Emergency Pack => No
2015-10-02 15:53OrekariaStatusnew => acknowledged
2015-10-07 11:00avicenteIssue Monitored: avicente
2015-10-07 12:12ageteIssue Monitored: agete
2015-10-07 16:48mario_castelloAssigned ToRetail => mario_castello
2015-10-07 16:48mario_castelloStatusacknowledged => scheduled
2015-10-10 17:58hgbotCheckin
2015-10-10 17:58hgbotNote Added: 0080931
2015-10-10 17:58hgbotStatusscheduled => resolved
2015-10-10 17:58hgbotResolutionopen => fixed
2015-10-10 17:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4958151a373c540500f3d601f55395d77e076d2f [^]
2015-10-10 18:01hgbotCheckin
2015-10-10 18:01hgbotNote Added: 0080932
2015-10-13 10:30OrekariaReview Assigned To => marvintm
2015-10-13 19:31marvintmStatusresolved => closed

Notes
(0080931)
hgbot   
2015-10-10 17:58   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 4958151a373c540500f3d601f55395d77e076d2f
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Sat Oct 10 09:57:43 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4958151a373c540500f3d601f55395d77e076d2f [^]

Fixed issue 31028: Load the documentTypeId for paid receipts

---
M src/org/openbravo/retail/posterminal/PaidReceiptProperties.java
---
(0080932)
hgbot   
2015-10-10 18:01   
Repository: tools/automation/pi-mobile
Changeset: fde2e2ba56c03d063f954a013bb5051d2f6821e8
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Sat Oct 10 10:01:22 2015 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/fde2e2ba56c03d063f954a013bb5051d2f6821e8 [^]

Related to issue 31028: Automation test to verify the documentType

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