Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037562Retail ModulesWeb POSpublic2017-12-27 13:092017-12-28 17:38
guilleaer 
guilleaer 
urgentmajoralways
closedfixed 
5
 
RR17Q4 
gorka_gil
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5e9b5ad79256 [^]
No
0037562: Products using attributes are not updating prices when a receipt is created from a not firmed quotation
Products using attributes are not updating prices when a receipt is created from a not firmed quotation.

This problem is happening even when preferences to work with attributes are not enabled.
Login in web POS
Create a quotation adding "Balaclava Cap" product
save the quotation
Go to backend and change the price from 169 to 120
return to web POS and refresh
Open the quotation (Open receipts (18Q1) or Quotations (17Q4)
Using the menu -> Create sales order
Uncheck "firm quotation"

Product price should be change tho the current price (120) but it is not working.
No tags attached.
blocks defect 0037552 closed guilleaer Products using attributes are not updating prices when a receipt is created from a not firmed quotation 
Issue History
2017-12-28 08:54guilleaerTypedefect => backport
2017-12-28 08:54guilleaerTarget Version => RR18Q1
2017-12-28 10:01guilleaerTarget VersionRR18Q1 => RR17Q4
2017-12-28 17:16guilleaerAssigned Torqueralta => guilleaer
2017-12-28 17:36hgbotCheckin
2017-12-28 17:36hgbotNote Added: 0101282
2017-12-28 17:36hgbotStatusscheduled => resolved
2017-12-28 17:36hgbotResolutionopen => fixed
2017-12-28 17:36hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR17Q4/org.openbravo.retail.posterminal/rev/1150978aada9cb30f812f9a183394a180ac9d967 [^]
2017-12-28 17:37guilleaerNote Edited: 0101282bug_revision_view_page.php?bugnote_id=0101282#r16501
2017-12-28 17:38gorka_gilReview Assigned To => gorka_gil
2017-12-28 17:38gorka_gilStatusresolved => closed

Notes
(0101282)
hgbot   
2017-12-28 17:36   
(edited on: 2017-12-28 17:37)
Repository: retail/backports/3.0RR17Q4/org.openbravo.retail.posterminal
Changeset: 1150978aada9cb30f812f9a183394a180ac9d967
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Dec 28 16:59:45 2017 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q4/org.openbravo.retail.posterminal/rev/1150978aada9cb30f812f9a183394a180ac9d967 [^]

Fixed issue 37562: Update price when creating SO from QT is working fine

- A piece of code which adds a new behavior for products with attributes has been removed
- Update prices flow should be executed always. Doesn't matter if products have or not attributes

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