Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028455Retail ModulesCash uppublic2014-12-18 19:012015-01-08 16:27
sureshbabu 
malsasua 
urgentmajoralways
closedfixed 
5
 
RR15Q1 
Orekaria
QA functional test
No
0028455: [RR14Q3.3] Created quotation details appear in cash up at Step 1 of 5: Review pending receipts
Created quotation details appear in cash up at "Step 1 of 5: Review pending receipts" as pending receipts.
Precondition:
navigate to POS terminal type window and check the option
 Generate invoice for orders: checked


1) Create a Quotation and click total amount to complete the Quotation.
2) Then click close button to close the quotation.
3) Then click Cash up process,

Defect:

one can find the above created Quotation details appear as pending receipts at "Step 1 of 5: Review pending receipts"

Note: At cash up process at "Step 1 of 5: Review pending receipts" click cancel button to cancel the cash up process, at webpos screen one can find a new receipt is created automatically using Quotation details.



No tags attached.
related to defect 0028457 closed malsasua [RR14Q3.3] Receipt line item details are missing once the user selects the cashup process and cancels twice. 
Issue History
2014-12-18 19:01sureshbabuNew Issue
2014-12-18 19:01sureshbabuAssigned To => malsasua
2014-12-18 19:01sureshbabuRegression level => QA functional test
2014-12-18 19:01sureshbabuTriggers an Emergency Pack => No
2014-12-18 19:03sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7298#r7298
2014-12-18 19:28sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7299#r7299
2014-12-28 19:05malsasuaRelationship addedrelated to 0028457
2014-12-28 19:05malsasuaStatusnew => scheduled
2014-12-28 19:05malsasuafix_in_branch => pi
2014-12-28 19:05malsasuaNote Added: 0072844
2014-12-28 19:05malsasuaStatusscheduled => resolved
2014-12-28 19:05malsasuaFixed in Version => RR15Q1
2014-12-28 19:05malsasuaResolutionopen => fixed
2014-12-28 19:06malsasuaNote Edited: 0072844bug_revision_view_page.php?bugnote_id=0072844#r7352
2015-01-07 09:59malsasuaNote Edited: 0072844bug_revision_view_page.php?bugnote_id=0072844#r7383
2015-01-08 15:57OrekariaReview Assigned To => Orekaria
2015-01-08 15:57OrekariaNote Added: 0073367
2015-01-08 15:57OrekariaStatusresolved => closed
2015-01-08 16:27hgbotCheckin
2015-01-08 16:27hgbotNote Added: 0073370

Notes
(0072844)
malsasua   
2014-12-28 19:05   
(edited on: 2015-01-07 09:59)
fixed by the next changesets:
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 856bc3acf7cb39f542a266088c88ae0e31844d9f
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Fri Dec 19 12:59:13 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/856bc3acf7cb39f542a266088c88ae0e31844d9f [^] [^]

fixed issue 28457: disabled promotions and function taxIdValidation when the receipt is cloning

---
M web/org.openbravo.retail.posterminal/js/components/menu.js
M web/org.openbravo.retail.posterminal/js/components/modalcreateorderfromquotation.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js

************************************************************************

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 4d538f3c920baaf9e6e5336624f85fe44fd6aecd
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Mon Dec 22 10:41:24 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4d538f3c920baaf9e6e5336624f85fe44fd6aecd [^] [^]

fixed issue 28457: when clone receipt, disable promotions with cloningReceipt property, and calculateGross is done

---
M web/org.openbravo.retail.posterminal/js/components/modalcreateorderfromquotation.js
M web/org.openbravo.retail.posterminal/js/model/discounts.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js

************************************************************************

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8025ce5cca0848c721d2680d1cbfe32e285b3c12
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Mon Dec 22 14:11:40 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8025ce5cca0848c721d2680d1cbfe32e285b3c12 [^] [^]

fixed issue 28457: enabled applyPromotions when cloning and added idExecution property to enable/disable property cloningReceipt

---
M web/org.openbravo.retail.posterminal/js/model/discounts.js
M web/org.openbravo.retail.posterminal/js/model/order.js

The fix does that the taxIdValidation function only is executed if the receipt is not cloning. This function calls to save receipt function, but if the receipt is cloning, the receipt is not consistent, and it should not be saved in this status.

(0073367)
Orekaria   
2015-01-08 15:57   
Verified
Also added test 'I28455_InvoicedReceiptsWronglyPending'
(0073370)
hgbot   
2015-01-08 16:27   
Repository: tools/automation/pi-mobile
Changeset: d3bc359f075705bbaa0b106ed9eb20c92426d2cc
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu Jan 08 15:51:36 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/d3bc359f075705bbaa0b106ed9eb20c92426d2cc [^]

Related to issue 28455 and issue 28457. Added new test 'I28455_InvoicedReceiptsWronglyPending'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/CashupSuite.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I28455_InvoicedReceiptsWronglyPending.java
---