Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032482Retail ModulesWeb POSpublic2016-03-15 14:592016-06-30 10:22
prakashmurugesan88 
SoftwareFactory 
highmajoralways
closedno change required 
5
pi 
 
No
0032482: [SERQA 769] Service icon and quantity of service is not working properly when a discount is applied
When a new line is created automatically after applying discount,
1). Service icon does not appear in the newly created line.
2). Though qty is increased, quantity of the service is not increased. But it should increase as 'Qty Rule' is defined as 'As per product'.
Prerequisite:
1. Install "Two Families Discount" module

Create new product:
1. Log into Openbravo backend
2. Goto the window "Product" and add new record with following information,
- Search Key : defa000
- Name : GPS Mini
- UOM : Unit
- Product Category : Lighting & Electronics
- Tax Category : IVA Normal
- Product Type : Item
3. Under "Price" tab add the following,
- Price List Version : The White Valley Group Sale Price List Version
- Unit Price : 100
- List Price : 100

Create new service and associate to product:
1. Goto the window "Product" and add new record with following information,
- Search Key : defa050
- Name : Warranty (deferrable -4 days)
- UOM : Unit
- Product Category : Lighting & Electronics
- Tax Category : IVA Normal
- Product Type : Service
- Under Service Product Field Group:
- Linked to Product : Y
- Included Products : Only those defined
- Quantity Rule : As per product
- Proposal Type : Mandatory Proposal
2. Under "Price" tab add the following,
- Price List Version : The White Valley Group Sale Price List Version
- Unit Price : 100
- List Price : 100
3.Click Related Products Button and select "GPS Mini" and click done.
4.Goto "Assortment" window,
add "GPS Mini" and "Warranty (deferrable -4 days)" under "White Valley Group Product List".

Setup Discounts and Promotions:
1.Goto "Discounts and Promotions" window and create new records with following information,
- Organization : Vall Blanca Store
- Discount and Promotion Type : Two Families Discount
- Name : Buy 2 and get 50% discount in the second unit
- Starting Date : First of the current month
2. Under "Families" tab create 2 records with following information,
i).
- Name : 1
- Quantity : 1
- Discount Type : Percentage
- Percentage : 0
ii).
- Name : 2
- Quantity : 1
- Discount Type : Percentage
- Percentage : 50
3. Under "Family Products" tab add "GPS Mini" for both Families 1 and 2.

Issue:
1. Log into WEB POS and search for product "GPS Mini" and add to receipt.
2. Select "Warranty (deferrable -4 days)" in services and click continue.
3. Now increase the quantity of "GPS Mini" to 2, promotion of 50% discount in the second unit is applied, so that, split line is done automatically.

ERROR 1: Service icon does not appear in the second line of the product 'GPS Mini'.
ERROR 2: Quantity of the service 'Warranty (deferrable -4 days)' does not increase to 2 units. But it should increase because Qty Rule is defined as 'As per product'.

Refer attachment IssueScreenShot.png
Refer ProposedSolution.patch
SER-QA
related to defect 0032421 closed jorge-garcia [SERQA 770] Adding more units to a product with discount line using 2 families discount, an extranche split is done 
depends on defect 0032528 closed mario_castello The split done by combo discounts doesn't propagate changes done to lines 
png IssueScreenShot.png (135,384) 2016-03-15 14:59
https://issues.openbravo.com/file_download.php?file_id=9163&type=bug
png

patch ProposedSolution.patch (2,419) 2016-03-15 15:00
https://issues.openbravo.com/file_download.php?file_id=9164&type=bug
Issue History
2016-03-15 14:59prakashmurugesan88New Issue
2016-03-15 14:59prakashmurugesan88Assigned To => Retail
2016-03-15 14:59prakashmurugesan88File Added: IssueScreenShot.png
2016-03-15 14:59prakashmurugesan88Triggers an Emergency Pack => No
2016-03-15 15:00prakashmurugesan88File Added: ProposedSolution.patch
2016-03-15 21:53OrekariaSummaryService icon and quantity of service is not working properly when a discount is applied => [Services] Service icon and quantity of service is not working properly when a discount is applied
2016-03-15 21:56OrekariaAssigned ToRetail => eduardo_Argal
2016-03-16 10:44ageteSummary[Services] Service icon and quantity of service is not working properly when a discount is applied => [SERQA 769] Service icon and quantity of service is not working properly when a discount is applied
2016-03-16 10:45ageteTag Attached: SER-QA
2016-03-16 12:40ageteRelationship addedrelated to 0032421
2016-03-22 10:20aaroncaleroRelationship addedrelated to 0032528
2016-03-29 19:09OrekariaAssigned Toeduardo_Argal => SoftwareFactory
2016-04-06 11:29OrekariaRelationship replaceddepends on 0032528
2016-04-11 17:12OrekariaStatusnew => acknowledged
2016-06-30 10:21aaroncaleroStatusacknowledged => scheduled
2016-06-30 10:22aaroncaleroNote Added: 0088090
2016-06-30 10:22aaroncaleroStatusscheduled => closed
2016-06-30 10:22aaroncaleroResolutionopen => no change required

Notes
(0088090)
aaroncalero   
2016-06-30 10:22   
Discounts no longer split lines when calculated.
No change required.