Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032699Retail ModulesWeb POSpublic2016-04-19 09:072016-05-18 10:43
jorge-garcia 
shivum039 
urgentmajoralways
closedfixed 
5
 
RR16Q3 
guilleaer
Production - QA Approved
2015-12-15
RR16Q1
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ed7f8734ef3bb2cd7eb6b310facea36835c6d9cb [^]
No
0032699: Firm quotation doesn't work when creating a order from a quotation
Firm quotation doesn't work when creating a order from a quotation.
1 - Login in the WEBPOS
 1.1 - Go to the menu and click on Create Quotation
 1.2 - Go to the search tap and serach Crampons 10 points.
 1.3 - Add three units of that product and check a discount price_adjust_chrampons_30_eur is applied.
 1.4 - Go to the menu and click on Receipt discounts. Apply a disc_fixed_5_euro discount to the line.
 1.5 - Check both discounts are applied, one of -5€ and the other one -24.69
 1.6 - Click the pay button and check the quotation status is Under Evaluation
 1.7 - Close the ticket and search the Quotation from the menu
 1.8 - Go to the menu and click on the Create Sales Order. A popup is shown:
   1.8.1 - If Firm Quotation is checked, when the Create Order button is clicked, promotions don't have to change. See attached image[1].
   1.8.2 - If Firm Quotation is uncheked, when the Create Order button is clicked, promotions and prices must be updated (only automatic promotions for the products must be shown). See attached image[2].
A diff is attached with the propose solution.
No tags attached.
related to defect 0032674 closed ranjith_qualiantech_com [SER-QA 911] Discounts are not properly obtained when loading a ticket with discounts from the backend 
depends on backport 0032700RR16Q2 closed jorge-garcia Firm quotation doesn't work when creating a order from a quotation 
depends on backport 0032701RR16Q1.1 closed Retail Firm quotation doesn't work when creating a order from a quotation 
caused by defect 0030771RR16Q1 closed jorge-garcia CalculateTaxes should not be executed when the receipt is being closed 
png [1]FirmQuotationChecked.png (304,751) 2016-04-19 09:07
https://issues.openbravo.com/file_download.php?file_id=9277&type=bug
png [2]FirmQuotationUnchecked.png (301,326) 2016-04-19 09:08
https://issues.openbravo.com/file_download.php?file_id=9278&type=bug
diff quotationFix.diff (1,295) 2016-04-19 09:10
https://issues.openbravo.com/file_download.php?file_id=9279&type=bug
Issue History
2016-04-19 09:07jorge-garciaNew Issue
2016-04-19 09:07jorge-garciaAssigned To => Retail
2016-04-19 09:07jorge-garciaFile Added: [1]FirmQuotationChecked.png
2016-04-19 09:07jorge-garciaResolution time => 1461621600
2016-04-19 09:07jorge-garciaRegression level => Production - QA Approved
2016-04-19 09:07jorge-garciaRegression date => 2015-12-15
2016-04-19 09:07jorge-garciaRegression introduced in release => RR16Q1
2016-04-19 09:07jorge-garciaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ed7f8734ef3bb2cd7eb6b310facea36835c6d9cb [^]
2016-04-19 09:07jorge-garciaTriggers an Emergency Pack => No
2016-04-19 09:08jorge-garciaFile Added: [2]FirmQuotationUnchecked.png
2016-04-19 09:10jorge-garciaFile Added: quotationFix.diff
2016-04-19 09:10jorge-garciaStatusnew => scheduled
2016-04-19 09:11jorge-garciaRelationship addedrelated to 0032674
2016-04-20 12:17shivum039Assigned ToRetail => shivum039
2016-04-21 18:05dmitry_mezentsevRelationship addedcaused by 0030771
2016-04-22 13:20hgbotCheckin
2016-04-22 13:20hgbotNote Added: 0085894
2016-04-28 07:07hgbotCheckin
2016-04-28 07:07hgbotNote Added: 0086034
2016-04-28 07:11hgbotCheckin
2016-04-28 07:11hgbotNote Added: 0086035
2016-04-28 13:12OrekariaStatusscheduled => resolved
2016-04-28 13:12OrekariaResolutionopen => fixed
2016-05-18 10:43guilleaerReview Assigned To => guilleaer
2016-05-18 10:43guilleaerStatusresolved => closed
2016-05-18 10:43guilleaerFixed in Version => RR16Q3

Notes
(0085894)
hgbot   
2016-04-22 13:20   
Repository: retail/backports/3.0RR16Q1.1/org.openbravo.retail.posterminal
Changeset: 798322ad50c313137bff86346aded3af55ffc5b9
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Apr 22 13:19:39 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1.1/org.openbravo.retail.posterminal/rev/798322ad50c313137bff86346aded3af55ffc5b9 [^]

Fixed issue 32701: Firm quotation doesn't work when creating a order from a
quotation

Backport for the issue 32699.

---
M web/org.openbravo.retail.posterminal/js/model/discounts.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0086034)
hgbot   
2016-04-28 07:07   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ca42e3b839ee4fc3b544fdf321f4dfb7b8aa722b
Author: Shivanand Madiwalar <shivanand.madiwalar <at> promantia.com>
Date: Thu Apr 28 10:33:08 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ca42e3b839ee4fc3b544fdf321f4dfb7b8aa722b [^]

Related To Issue 32699 : Verify Firm Quotation Imbalanced Cases Resolved .

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0086035)
hgbot   
2016-04-28 07:11   
Repository: tools/automation/pi-mobile
Changeset: 7d731501850f1485f31368eb8af3f8ed6ae41c46
Author: Shivanand Madiwalar <shivanand.madiwalar <at> promantia.com>
Date: Thu Apr 28 10:32:55 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/7d731501850f1485f31368eb8af3f8ed6ae41c46 [^]

Related To Issue 32699 : Automated test Created .

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