Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041393Retail ModulesWeb POSpublic2019-07-18 09:562019-07-19 16:11
francisco 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q4 
guilleaer
No
0041393: [POS]Wrong price when canceling authorization
[POS]Wrong price when canceling authorization
Tested in retail_pi:

In BackOffice:
Enable the preference Web POS Enable Multi Price List
Enable the preference Web POS Delete Line Approval
Create a new pricelist test with a product adhesive warmer price 10
Assign the pricelist to the bussiness partner customer 2

In POS
Load with full refresh
Make an order with customer 2 adding the adhesive warmer
Click the price to make the payment
Without getting rid of the paynment, Change new customer
Cancel the Pop up for the aproval
Edit the lines adding quantity, it is visible how the quantity is updating but not the price

You can see a video example here: https://drive.google.com/open?id=1sPjosA89kt_aKXc1SDoNh1kh7iayElf6 [^]
No tags attached.
patch issue 41393 source posterminal.patch (7,512) 2019-07-18 13:08
https://issues.openbravo.com/file_download.php?file_id=13149&type=bug
patch issue 41393 source posterminal 2.patch (1,745) 2019-07-19 15:31
https://issues.openbravo.com/file_download.php?file_id=13156&type=bug
Issue History
2019-07-18 09:56franciscoNew Issue
2019-07-18 09:56franciscoAssigned To => Retail
2019-07-18 09:56franciscoResolution time => 1565215200
2019-07-18 09:56franciscoTriggers an Emergency Pack => No
2019-07-18 11:59ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-07-18 11:59ranjith_qualiantech_comStatusnew => scheduled
2019-07-18 13:08ranjith_qualiantech_comFile Added: issue 41393 source posterminal.patch
2019-07-19 04:23hgbotCheckin
2019-07-19 04:23hgbotNote Added: 0113538
2019-07-19 04:23hgbotStatusscheduled => resolved
2019-07-19 04:23hgbotResolutionopen => fixed
2019-07-19 04:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eb1f74b5892adfc38e20a510cec600e887a5b880 [^]
2019-07-19 15:15guilleaerNote Added: 0113551
2019-07-19 15:15guilleaerStatusresolved => new
2019-07-19 15:15guilleaerResolutionfixed => open
2019-07-19 15:31ranjith_qualiantech_comFile Added: issue 41393 source posterminal 2.patch
2019-07-19 15:31ranjith_qualiantech_comStatusnew => scheduled
2019-07-19 15:36hgbotCheckin
2019-07-19 15:36hgbotNote Added: 0113552
2019-07-19 16:10guilleaerStatusscheduled => resolved
2019-07-19 16:10guilleaerFixed in Version => RR19Q4
2019-07-19 16:10guilleaerResolutionopen => fixed
2019-07-19 16:11guilleaerReview Assigned To => guilleaer
2019-07-19 16:11guilleaerStatusresolved => closed

Notes
(0113538)
hgbot   
2019-07-19 04:23   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: eb1f74b5892adfc38e20a510cec600e887a5b880
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Jul 19 07:52:54 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eb1f74b5892adfc38e20a510cec600e887a5b880 [^]

Fixed issue 41393 : Reciept Customer should be reset when receipt line deletion fails

* If MultiPricelist and Delete Line approval is enabled, when changing receipt customer,
  if line deletion approval fails, old customer and pricelist should be restored to receipt

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0113551)
guilleaer   
2019-07-19 15:15   
The problem is still reproducible. Line qty is changing but price is not updated after cancel the approval
(0113552)
hgbot   
2019-07-19 15:36   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 180cccadafedba2c29151338ed61122122ddc9fe
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Jul 19 18:58:53 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/180cccadafedba2c29151338ed61122122ddc9fe [^]

Related to issue 41393 : Receipt Calculation should be skipped when lines are deleted successfully

* When Customer is changed in MultiPriceList, receipt lines will be deleted and added based on new priceList.
  Receipt calculation should be enabled again when deletion process is failed.

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