Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028588Retail ModulesQuotationspublic2015-01-13 16:242015-01-20 14:41
aaroncalero 
aaroncalero 
lowminorhave not tried
closedfixed 
5
pi 
pi 
Orekaria
Production - QA Approved
RR14Q4
No
0028588: The time of a quotation is shown as null/undefined after switching to a ticket and back to the quotation
The hour displayed next to the quotation document number is displayed as null or undefined, if we create quotation and, after booking it, we switch to a different receipt and back to the quotation.
Login in the WebPOS
Create a quotation (it will be created in draft status)
Add some products
Book it (tap the total amount button). It will change to status 'under evaluation'. Do not close the quotation
Create an empty ticket
Switch back to the quotation using the receipt counter/switcher button.
The receipt header showing the creation time and document number will show null or undefined for the creation time.
No tags attached.
related to defect 0028589 closed aaroncalero Discounts applied to quotation lines are missing after booking a quotation, switching to a ticket and back to the quotation 
related to design defect 0028694 closed Orekaria The creationDate is not part of the receipt attributes 
related to defect 0028394RR15Q2 closed aaroncalero Cash up creation date is not properly set in the ERP when the cash up is synchronized 
Issue History
2015-01-13 16:24aaroncaleroNew Issue
2015-01-13 16:24aaroncaleroAssigned To => marvintm
2015-01-13 16:24aaroncaleroTriggers an Emergency Pack => No
2015-01-13 16:36aaroncaleroRelationship addedrelated to 0028589
2015-01-16 11:03hgbotCheckin
2015-01-16 11:03hgbotNote Added: 0073567
2015-01-16 11:03hgbotStatusnew => resolved
2015-01-16 11:03hgbotResolutionopen => fixed
2015-01-16 11:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/16dd2b0f6f087eb6087f7d146d13d1711360fb5f [^]
2015-01-16 11:03aaroncaleroAssigned Tomarvintm => aaroncalero
2015-01-19 11:05malsasuaRegression level => Production - Confirmed Stable
2015-01-19 14:51malsasuaRegression levelProduction - Confirmed Stable => Production - QA Approved
2015-01-19 14:51malsasuaRegression introduced in release => RR14Q4
2015-01-19 17:40hgbotCheckin
2015-01-19 17:40hgbotNote Added: 0073618
2015-01-19 18:44OrekariaReview Assigned To => Orekaria
2015-01-19 18:44OrekariaStatusresolved => closed
2015-01-19 18:44OrekariaFixed in Version => pi
2015-01-19 19:05OrekariaNote Added: 0073623
2015-01-19 19:05OrekariaStatusclosed => new
2015-01-19 19:05OrekariaResolutionfixed => open
2015-01-19 19:05OrekariaFixed in Versionpi =>
2015-01-20 10:11hgbotCheckin
2015-01-20 10:11hgbotNote Added: 0073639
2015-01-20 10:11hgbotStatusnew => resolved
2015-01-20 10:11hgbotResolutionopen => fixed
2015-01-20 10:11hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/16dd2b0f6f087eb6087f7d146d13d1711360fb5f [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8c81c60f619a5287b57edfa52babf4bd5b10da99 [^]
2015-01-20 14:41OrekariaStatusresolved => closed
2015-01-20 14:41OrekariaFixed in Version => pi
2015-01-20 14:47OrekariaRelationship addedrelated to 0028694
2015-01-20 19:46OrekariaRelationship addedrelated to 0028394

Notes
(0073567)
hgbot   
2015-01-16 11:03   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 16dd2b0f6f087eb6087f7d146d13d1711360fb5f
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Fri Jan 16 11:00:17 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/16dd2b0f6f087eb6087f7d146d13d1711360fb5f [^]

Fixed issue 28588: The time of a quotation is shown as undefined after switching to a ticket and back to the quotation

Added the creationDate attribute to the quotation when it is missing

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---
(0073618)
hgbot   
2015-01-19 17:40   
Repository: tools/automation/pi-mobile
Changeset: 78785377e56fd9fe23b1822866dcc39e258f5769
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Jan 19 10:45:14 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/78785377e56fd9fe23b1822866dcc39e258f5769 [^]

Related to issue 28588: Added the 'I28588_UndefinedQuotationDate' test

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/ReceiptSuite.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I28588_UndefinedQuotationDate.java
---
(0073623)
Orekaria   
2015-01-19 19:05   
The receipt should not be modified before this line:

    if (this.receipt.get('isbeingprocessed') === 'Y') {
(0073639)
hgbot   
2015-01-20 10:11   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8c81c60f619a5287b57edfa52babf4bd5b10da99
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Tue Jan 20 10:10:22 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8c81c60f619a5287b57edfa52babf4bd5b10da99 [^]

fixed issue 28588: the check if isbeingprocessed is done in the begin of process

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---