Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035134Retail ModulesDiscounts and Promotionspublic2017-02-02 10:142017-02-02 10:14
lorenzofidalgo 
Retail 
normalminoralways
newopen 
5
main 
 
No
0035134: [RR17Q1][Two families discount][Split Lines] Discount is not placed in the expected lines after split lines is executed
It is supposed certain discount has to be placed in different lines after Split Lines is executed, but that discount description stays in the original line. ("Camping Combo" in the attached image).
Execute this test case:
https://testlink.openbravo.com/testlink/ltx.php?item=exec&feature_id=23738&build_id=230 [^]

---------
Log in ERP using below login credentials

'Username': Openbravo
'Password': openbravo
Change the role to Group -Admin-The White Valley Group
1. Navigate to “Discount and Promotions” window
2. Create new record:
a. Organization: The White Valley Group
b. Discount/Promotion Type: Two Families Discount
c. Name: Camping Combo
d. Active: Yes
e. Starting Date: Today
f. Including Business Partners: Only those defined
g. Save record
3. Select Tab: Business Partner
a. Create a new record:
- Business Partner: Discount&Promos 2
- Active: Yes
- Save record
4. Select Tab: Families
a. Create new record:
- Name: Family 1
- Quantity: 1
- Discount Type: Fixed Discount
- Fixed Discount: 0
- Save record
b. Select Tab: Products in Family
- Create new record (Product: Down sleeping bag 500)
- Create new record (Product: Down sleeping bag 700)
5. Select Tab: Families
a. Create new record:
- Name: Family 2
- Quantity: 1
- Discount Type: Fixed Discount
- Fixed Discount: 50
- Save record
b. Select Tab: Products in Family
- Create new record (Product: Down sleeping bag 500)
- Create new record (Product: Compression sacks cordura)
---------

After that test case, execute the following and realise that exected result 17 is not correct:
https://testlink.openbravo.com/testlink/ltx.php?item=exec&feature_id=23739&build_id=230 [^]

---------
Login to POS terminal, go to the login URL: http://{server}/{context}/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]

Enter login credentials:
'Username': vallblanca
'Password': openbravo
1. Change receipt Customer
a. Push button (Receipt Customer): VBS Customer
b. Type 'WVG/DP002'
c. Click on 'Discount&Promos 2'
2. In right panel push a button SEARCH
3. Write 'WVG/M0019' item on search product filter
4. Click on 'Avalanche transceiver' item on search product result
5. In receipt panel, click item 'Avalanche transceiver'
6. In right panel change quantity
a. Push button '3'
b. Push button 'Quantity'
7. In receipt panel, click item 'Avalanche transceiver'
8. In right panel split line
a. Push button 'Split'
b. Push button 'Apply' to accept proposed split
9. In right panel push a button SEARCH
10. Write 'WVG/T0008' item on search product filter
11. Click on 'Down sleeping bag 700' item on search product result
12. Write 'WVG/T0012' item on search product filter
13. Click on 'Compression sacks cordura' item on search product result
14. In receipt panel, click item 'Compression sacks cordura'
15. In right panel change quantity
a. Push button '3'
b. Push button 'Quantity'
16. In receipt panel, click item 'Compression sacks cordura'
17. In right panel split line
a. Push button 'Split'
b. Push button 'Apply' to accept proposed split
~~~~~~~~~
Verify:

In step 1:
- Receipt Customer is 'Discount&Promos 2'
In step 8:
- Line: 'Avalanche transceiver' is splitted into 2 lines:
* Units: 2, Amount: 301.00
* Units: 1, Amount: 150.50
- Receipt amount: 451.50
- Tax amount: 78.36
In step 13:
- New lines added to receipt:
* Down sleeping bag 700, Units: 1, Amount: 185.50
* Compression sacks cordura, Units: 1, Amount: 31.50, Discount (Camping Combo): -50.00
- Receipt amount: 618.50
- Tax amount: 107.34
In step 15:
- Line 'Compression sacks cordura' is modified:
* Units: 3, Amount: 94.50, Discount (Camping Combo): -50.00
- Receipt amount: 681.50
- Tax amount: 118.28
In step 17:
- Line 'Compression sacks cordura' is splitted in 2 lines
* Units: 2, Amount: 63.00, Discount (Camping Combo): -33.33
* Units: 1, Amount: 31.50, Discount (Camping Combo): -16.67
- Receipt amount: 681.50
- Tax amount: 118.28
---------
No tags attached.
png DiscountPlacement.png (222,537) 2017-02-02 10:14
https://issues.openbravo.com/file_download.php?file_id=10376&type=bug
png
Issue History
2017-02-02 10:14lorenzofidalgoNew Issue
2017-02-02 10:14lorenzofidalgoAssigned To => Retail
2017-02-02 10:14lorenzofidalgoFile Added: DiscountPlacement.png
2017-02-02 10:14lorenzofidalgoTriggers an Emergency Pack => No

There are no notes attached to this issue.