Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039251Retail ModulesWeb POSpublic2018-09-10 11:402018-10-16 20:14
Leyre 
rqueralta 
normalmajoralways
closedfixed 
5
 
RR18Q4 
marvintm
No
0039251: Price = 0 when you open a receipt in which the Price List field has been modified for the customer.
Price = 0 when you open a receipt in which the Price List field has been modified for the customer.
1. Create a new receipt.
2. Edit the Customer (or create a new one).
3. Modify the price list.
4. Assign the customer
5. Finish the receipt.
6. Open the previous receipt.

** Verify that the price appears with value = 0.

I reproduce this problem in livebuilds -> Terminal MPL1:
https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=MPL1 [^]
No tags attached.
Issue History
2018-09-10 11:40LeyreNew Issue
2018-09-10 11:40LeyreAssigned To => Retail
2018-09-10 11:40LeyreResolution time => 1538344800
2018-09-10 11:40LeyreTriggers an Emergency Pack => No
2018-09-10 14:36rqueraltaAssigned ToRetail => rqueralta
2018-09-10 14:36rqueraltaStatusnew => scheduled
2018-09-12 00:17hgbotCheckin
2018-09-12 00:17hgbotNote Added: 0106694
2018-09-12 00:17hgbotStatusscheduled => resolved
2018-09-12 00:17hgbotResolutionopen => fixed
2018-09-12 00:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4bdee349ec00f103ee37dd3f96162f5a7d277d48 [^]
2018-09-21 13:07marvintmReview Assigned To => marvintm
2018-09-21 13:07marvintmStatusresolved => closed
2018-09-21 13:07marvintmFixed in Version => RR18Q4
2018-10-16 20:14hgbotCheckin
2018-10-16 20:14hgbotNote Added: 0107347

Notes
(0106694)
hgbot   
2018-09-12 00:17   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 4bdee349ec00f103ee37dd3f96162f5a7d277d48
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Mon Sep 10 14:54:14 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4bdee349ec00f103ee37dd3f96162f5a7d277d48 [^]

Fixed issue 39251: Price = 0 when you open a receipt in which the Price List
field has been modified for the customer.

- If baseNetUnitPrice value is 0, the price value is set it to unitPrice value

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0107347)
hgbot   
2018-10-16 20:14   
Repository: tools/automation/pi-mobile
Changeset: 95789e4486a4a4e3b3708c3a7e91176bdaf4b0d5
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Mon Sep 10 16:06:12 2018 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/95789e4486a4a4e3b3708c3a7e91176bdaf4b0d5 [^]

Related to issue 39251: added automated test

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/customer/I39251_VerifyPriceWhenCustomerPriceListWasModified.java
---