Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033009Retail ModulesWeb POSpublic2016-04-08 12:452016-06-08 09:05
xabiermerino 
jorge-garcia 
urgentmajoralways
closedfixed 
5
 
RR16Q2RR16Q2 
guilleaer
OBPS
No
0033009: [Services] [SER-QA 866] The amount of the ticket is not calculated if there is a service included in a pack
The amount of the ticket is not calculated if there is a service included in a pack
- Log into bacoffice
- Create a new Product:
  * Product category: Backpacks & Travel
  * Product type: Service
  * Linked to product: check
  * Included products: all excluding defined
  * Is price Rule based, checked
  * Proposal type: Mandatory proposal
- Add a price list: The White Valley Group Sale Price List Version
- Go to the assortment White Valley Group Product List and add the product
- Go to Discount and promotions windows and select Camping Pack
- Go to Products tab and add the new product created
- Log into WebPOS
- Select Camping Pack
- Realize that the amount is still 0.00

The attached patch implements the restriction of not allowing to add services configured as linked to product in the pack definition. This configuration does not make sense and it is how it is forced this issue.
No tags attached.
blocks defect 0032632 closed jorge-garcia [Services] [SER-QA 866] The amount of the ticket is not calculated if there is a service included in a pack 
Issue History
2016-05-20 09:33marvintmTypedefect => backport
2016-05-20 09:33marvintmTarget Version => RR16Q2
2016-06-02 20:29hgbotCheckin
2016-06-02 20:29hgbotNote Added: 0086962
2016-06-02 20:29hgbotStatusscheduled => resolved
2016-06-02 20:29hgbotResolutionopen => fixed
2016-06-02 20:29hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/9eace9bf1a4ba6460c9ffcbce4b5ac32ca62d386 [^] => http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.discounts/rev/d6a690b7292dbbbc60d3f50db4face6218b56b80 [^]
2016-06-02 20:29hgbotCheckin
2016-06-02 20:29hgbotNote Added: 0086963
2016-06-08 09:05guilleaerReview Assigned Tomarvintm => guilleaer
2016-06-08 09:05guilleaerStatusresolved => closed
2016-06-08 09:05guilleaerFixed in Version => RR16Q2

Notes
(0086962)
hgbot   
2016-06-02 20:29   
Repository: retail/backports/3.0RR16Q2/org.openbravo.retail.discounts
Changeset: d6a690b7292dbbbc60d3f50db4face6218b56b80
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Jun 02 20:27:44 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.discounts/rev/d6a690b7292dbbbc60d3f50db4face6218b56b80 [^]

Fixed issue 33009: The amount of the ticket is not calculated if there is a
service included in a pack

The solution is to not to allow the user add a product of type service in the
pack type discounts.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
A src/org/openbravo/retail/discounts/event/MOfferProductEventHandler.java
---
(0086963)
hgbot   
2016-06-02 20:29   
Repository: retail/backports/3.0RR16Q2/org.openbravo.retail.discounts
Changeset: cc0896a278242b75947d722b402dc44352e89943
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Jun 02 20:28:39 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.discounts/rev/cc0896a278242b75947d722b402dc44352e89943 [^]

Related to issue 33009:: The amount of the ticket is not calculated if there is a
service included in a pack

Change license of file MOfferProductEventHandler.

---
M src/org/openbravo/retail/discounts/event/MOfferProductEventHandler.java
---