Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032115Retail ModulesWeb POSpublic2016-02-03 21:412016-03-14 13:31
malsasua 
jorge-garcia 
highmajoralways
closedfixed 
20Community Appliance
 
RR16Q2 
marvintm
No
0032115: [Multipricelist] multiprice is not working when pricelist is not selected in the store
if the store (organization window) has not selected one pricelist, the multiprice does not work
in backoffice
. go to window organization
 . record: Multiprice store
   pricelist: null
 . record: North East Zone
   pricelist: The White Valley Group Sale Price List

in webpos, terminal MPL1
. do login
. open console development
 check the table m_pricelist: is empty
 check the table m_productprice: is empty
No tags attached.
related to defect 0032217 closed jorge-garcia [RR15Q4] [Multipricelist] discretionary discounts are removed when business partner is changed (with multiprice list) 
Issue History
2016-02-03 21:41malsasuaNew Issue
2016-02-03 21:41malsasuaAssigned To => Retail
2016-02-03 21:41malsasuaResolution time => 1457478000
2016-02-03 21:41malsasuaTriggers an Emergency Pack => No
2016-02-05 11:37OrekariaStatusnew => acknowledged
2016-02-12 15:05OrekariaSummarymultiprice is not working when pricelist is not selected in the store => [Multipricelist] multiprice is not working when pricelist is not selected in the store
2016-02-12 18:03OrekariaRelationship addedrelated to 0032217
2016-03-10 11:09jorge-garciaStatusacknowledged => scheduled
2016-03-10 11:09jorge-garciaAssigned ToRetail => jorge-garcia
2016-03-14 08:49hgbotCheckin
2016-03-14 08:49hgbotNote Added: 0084931
2016-03-14 08:49hgbotStatusscheduled => resolved
2016-03-14 08:49hgbotResolutionopen => fixed
2016-03-14 08:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/afa00ffadf04b63fbf859a2c03acea9b30900449 [^]
2016-03-14 08:50hgbotCheckin
2016-03-14 08:50hgbotNote Added: 0084932
2016-03-14 13:10hgbotCheckin
2016-03-14 13:10hgbotNote Added: 0084947
2016-03-14 13:31marvintmReview Assigned To => marvintm
2016-03-14 13:31marvintmStatusresolved => closed
2016-03-14 13:31marvintmFixed in Version => RR16Q2

Notes
(0084931)
hgbot   
2016-03-14 08:49   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: afa00ffadf04b63fbf859a2c03acea9b30900449
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Mar 14 08:49:11 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/afa00ffadf04b63fbf859a2c03acea9b30900449 [^]

Fixed issue 32115: Multiprice is not working when pricelist is not selected
in the store.

The problem was the query that is retrieve from the backend the pricelists
and the product prices.

The problem is fixed by adding a better filter in the hql query.

It is necessary to give access to the Terminal object even if the user doesn't
have access.

---
M src/org/openbravo/retail/posterminal/master/PriceList.java
M src/org/openbravo/retail/posterminal/master/ProductPrice.java
---
(0084932)
hgbot   
2016-03-14 08:50   
Repository: tools/automation/pi-mobile
Changeset: 8d72b13ea40de5042ce0e456fada6ebcdffc454a
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Mar 14 08:45:38 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/8d72b13ea40de5042ce0e456fada6ebcdffc454a [^]

Verifies issue 32115: Multiprice is not working when pricelist is not selected
in the store.

Added test I32115_PriceListDefinedInParentOrganization

---
A src-test/org/openbravo/test/mobile/quarantine/pack/JGA/multipricelist/I32115_PriceListDefinedInParentOrganization.java
---
(0084947)
hgbot   
2016-03-14 13:10   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 568515bf77461391d9582af77d16160217705419
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Mar 14 11:12:35 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/568515bf77461391d9582af77d16160217705419 [^]

Related to issue 32115: Multiprice is not working when pricelist is not selected
in the store

Change named parameter name to be more clear.

---
M src/org/openbravo/retail/posterminal/master/PriceList.java
M src/org/openbravo/retail/posterminal/master/ProductPrice.java
---