Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032701Retail ModulesWeb POSpublic2016-04-19 09:072016-04-22 16:06
jorge-garcia 
Retail 
urgentmajoralways
closedfixed 
5
 
RR16Q1.1RR16Q1.1 
marvintm
Production - QA Approved
2015-12-15
RR16Q1
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ed7f8734ef3bb2cd7eb6b310facea36835c6d9cb [^]
No
0032701: 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.
blocks defect 0032699 closed shivum039 Firm quotation doesn't work when creating a order from a quotation 
Issue History
2016-04-19 09:10jorge-garciaTypedefect => backport
2016-04-19 09:10jorge-garciaTarget Version => RR16Q1.1
2016-04-21 16:23marvintmTarget VersionRR16Q1.1 => RR16Q1.2
2016-04-22 13:20hgbotCheckin
2016-04-22 13:20hgbotNote Added: 0085895
2016-04-22 13:20hgbotStatusscheduled => resolved
2016-04-22 13:20hgbotResolutionopen => fixed
2016-04-22 13:20hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q1.1/org.openbravo.retail.posterminal/rev/798322ad50c313137bff86346aded3af55ffc5b9 [^]
2016-04-22 13:22marvintmTarget VersionRR16Q1.2 => RR16Q1.1
2016-04-22 16:06marvintmReview Assigned To => marvintm
2016-04-22 16:06marvintmStatusresolved => closed
2016-04-22 16:06marvintmFixed in Version => RR16Q1.1

Notes
(0085895)
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
---