Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025594
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2014-01-29 14:522014-03-03 18:39
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in VersionRR14Q2
StatusclosedFix in branchFixed in SCM revisiona20541f3bf96
ProjectionnoneETAnoneTarget VersionRR14Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0025594: rearranging packs can cause lines to be applied with invalid discounts

DescriptionHaving a pack applied and adding a new line that makes this pack to be removed in order to apply a new one, products affected by the first pack but not by the second one are kept with first pack applied.
Steps To Reproduce1. Define these packs:
 *p1
   -priority 1
   -products:
     -Headlamp ultralight, qty:2
     -Avalanche transceiver, qty:1
 *p2
   -priority: 2
   -products:
     -Insect repellent, qty:1
     -Headlamp ultralight, qty:1

2. In POS create a ticket with
    Headlamp ultralight 1
    Avalanche transceiver 1
    Insect repellent 1
  At this point p2 is correctly applied

3. Add 1 unit of Headlamp ultralight
  Avalanche transceiver and Insect repellent are correctly in p2. Pack p1 should have been removed from Headlamp ultralight but it is still present
TagsNo tags attached.
Attached Files? file icon issue-25594.export [^] (1,922 bytes) 2014-01-29 15:42

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0063786)
alostale (manager)
2014-01-29 15:42

attached fix, not pushing it till repos are unfrozen
(0063788)
hgbot (developer)
2014-01-29 16:50

Repository: erp/pmods/org.openbravo.retail.posterminal.cirque
Changeset: 03b614663e4d1508d6084ff66eb0c3f1d4499610
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jan 29 15:41:38 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/03b614663e4d1508d6084ff66eb0c3f1d4499610 [^]

fixed bug 25594: rearranging packs causes lines to have invalid discounts

---
M web/org.openbravo.retail.posterminal/js/model/executor.js
---
(0063981)
hgbot (developer)
2014-02-06 14:30

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a20541f3bf964393535063bfb6da80940b780818
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jan 29 15:41:38 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a20541f3bf964393535063bfb6da80940b780818 [^]

fixed bug 25594: rearranging packs causes lines to have invalid discounts

---
M web/org.openbravo.retail.posterminal/js/model/executor.js
---
(0063995)
guilleaer (manager)
2014-02-06 17:00

In this case is not working fine:

1. Define these packs:
 *p1
   -priority 2
   -products:
     -Headlamp ultralight, qty:2
     -Avalanche transceiver, qty:1
 *p2
   -priority: 1
   -products:
     -Insect repellent, qty:1
     -Headlamp ultralight, qty:1

2. In POS create a ticket with
    Headlamp ultralight 1 + 1 = 2
    Avalanche transceiver 1
  At this point p1 is correctly applied to both lines

3. Add 1 unit of Insect Repellent
  expected:
  - Avalanche transceiver shouldn't be affected by any pack
  - 1 unit of headlamp ultralight and insect repellent -> p2
  result:
  - p1 is affecting to Headlamp ultralight (2 units) and Avalanche transceiver
  - nothing is affecting to the 3rd line (Insect repelent)

  Note: With the previous status, if I remove one unit of Headlamp ultralight and then I add 1 unit again all works fine. The same pressing f5
(0064407)
hgbot (developer)
2014-02-20 15:46

Repository: erp/pmods/org.openbravo.retail.posterminal.cirque
Changeset: a20541f3bf964393535063bfb6da80940b780818
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jan 29 15:41:38 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/a20541f3bf964393535063bfb6da80940b780818 [^]

fixed bug 25594: rearranging packs causes lines to have invalid discounts

---
M web/org.openbravo.retail.posterminal/js/model/executor.js
---
(0064545)
guilleaer (manager)
2014-02-24 18:41

related to the case that I raised in a previous note:

http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/818068f2cc7b7578d2e03210d2d07e8846eb232f [^]
(0064768)
guilleaer (manager)
2014-03-03 18:39

Verified

- Issue History
Date Modified Username Field Change
2014-01-29 14:52 alostale New Issue
2014-01-29 14:52 alostale Assigned To => alostale
2014-01-29 14:52 alostale Triggers an Emergency Pack => No
2014-01-29 14:57 alostale Review Assigned To => guilleaer
2014-01-29 15:42 alostale File Added: issue-25594.export
2014-01-29 15:42 alostale Note Added: 0063786
2014-01-29 15:59 alostale Target Version => RMP32
2014-01-29 16:00 alostale Steps to Reproduce Updated View Revisions
2014-01-29 16:50 hgbot Checkin
2014-01-29 16:50 hgbot Note Added: 0063788
2014-01-29 16:50 hgbot Status new => resolved
2014-01-29 16:50 hgbot Resolution open => fixed
2014-01-29 16:50 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/03b614663e4d1508d6084ff66eb0c3f1d4499610 [^]
2014-01-29 16:51 alostale Status resolved => new
2014-01-29 16:51 alostale Resolution fixed => open
2014-02-06 14:30 hgbot Checkin
2014-02-06 14:30 hgbot Note Added: 0063981
2014-02-06 14:30 hgbot Status new => resolved
2014-02-06 14:30 hgbot Resolution open => fixed
2014-02-06 14:30 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/03b614663e4d1508d6084ff66eb0c3f1d4499610 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a20541f3bf964393535063bfb6da80940b780818 [^]
2014-02-06 17:00 guilleaer Note Added: 0063995
2014-02-20 15:46 hgbot Checkin
2014-02-20 15:46 hgbot Note Added: 0064407
2014-02-20 15:46 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a20541f3bf964393535063bfb6da80940b780818 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/a20541f3bf964393535063bfb6da80940b780818 [^]
2014-02-24 18:41 guilleaer Note Added: 0064545
2014-03-03 18:39 guilleaer Note Added: 0064768
2014-03-03 18:39 guilleaer Status resolved => closed
2014-03-03 18:39 guilleaer Fixed in Version => RMP32


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker