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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027862
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementmajoralways2014-10-14 13:102018-01-18 11:51
ReporterlorenzofidalgoView Statuspublic 
Assigned Todmiguelez 
PrioritynormalResolutionfixedFixed in Version3.0PR18Q2
StatusclosedFix in branchFixed in SCM revision7f73f128fec8
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Todmiguelez
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027862: Trying to separate discounts using different organizations that are not in the same branch DOES NOT separate these discounts. RR

DescriptionThis problem has been found in RR14Q4.
Trying to separate discounts using different organizations that are not in the same branch DOES NOT separate these discounts. (Using "Discounts and Promotions" window).
All these discounts appear for all the users when they should be separated.
Steps To ReproduceLogIn to RR14Q4 ERP as Openbravo/openbravo.
Using the default role, go to "Discounts and Promotions" window.
--
Create a new record and set the following data:
Organization: Vall Blanca Store
Discount/Promotion Type *: Fixed Percentage Discount
Name: Test 1%
Printed Name: Test 1%
Starting date: 01-01-2013
Included Products: Only those defined
Discount: 1.
Save.
--
Go to Products tab.
Create new record.
Product: Alpine poles
Active: Enabled.
Save.
--
Then, let's create a second record:
Go to "Discounts and Promotions" window.
--
Create a new record and set the following data:
Organization: Central Mountains Store
Discount/Promotion Type *: Fixed Percentage Discount
Name: Test 2%
Printed Name: Test 2%
Starting date: 01-01-2013
Included Products: Only those defined
Discount: 2.
Save.
--
Go to Products tab.
Create new record.
Product: Alpine poles
Active: Enabled.
Save.

Then go to POS and login as centralmountains/openbravo.
Go to Seach then write "alpine" and click "Alpine Poles". You will see that Alpine Poles product has "Test 1%" and "Test 2%" applied. This should not happend because centralmountain's organization is "Central Mountains Store" and "Vall Blanca Store" is in other branch.
TagsNo tags attached.
Attached Filespng file icon Discounts.png [^] (284,802 bytes) 2014-10-14 13:10

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0037640 closedAtulOpenbravo Trying to separate discounts using different organizations that are not in the same branch DOES NOT separate these discounts 

-  Notes
(0071347)
lorenzofidalgo (developer)
2014-11-03 11:58

It seems that Organizations tree does not matter in discounts topic but what discounts affects to is based only in "Discounts and promotions" window - "Organization" tab.
It is strange that Organizations tree is ignored for this performance.
(0101770)
dmiguelez (developer)
2018-01-18 11:50

Resolved by commit: https://code.openbravo.com/erp/devel/pi/rev/7f73f128fec8ab03189bcdda3d1392c0ee152370 [^]
(0101771)
dmiguelez (developer)
2018-01-18 11:51

Code Review + Testing Ok

- Issue History
Date Modified Username Field Change
2014-10-14 13:10 lorenzofidalgo New Issue
2014-10-14 13:10 lorenzofidalgo Assigned To => dmiguelez
2014-10-14 13:10 lorenzofidalgo File Added: Discounts.png
2014-10-14 13:10 lorenzofidalgo Web browser => Google Chrome
2014-10-14 13:10 lorenzofidalgo Modules => Core
2014-10-14 13:10 lorenzofidalgo Triggers an Emergency Pack => No
2014-11-03 11:58 lorenzofidalgo Note Added: 0071347
2018-01-12 13:12 martinsdan File Added: patch27862.patch
2018-01-12 13:13 martinsdan Note Added: 0101679
2018-01-13 09:19 martinsdan Note Edited: 0101679 View Revisions
2018-01-13 09:28 martinsdan Issue Monitored: martinsdan
2018-01-15 17:29 samuel_nicuesa Relationship added blocks 0037640
2018-01-15 17:55 samuel_nicuesa File Deleted: patch27862.patch
2018-01-15 17:56 samuel_nicuesa Note Deleted: 0101679
2018-01-18 11:49 dmiguelez Status new => scheduled
2018-01-18 11:50 dmiguelez Note Added: 0101770
2018-01-18 11:50 dmiguelez Status scheduled => resolved
2018-01-18 11:50 dmiguelez Fixed in Version => 3.0PR18Q2
2018-01-18 11:50 dmiguelez Fixed in SCM revision => https://code.openbravo.com/erp/devel/pi/rev/7f73f128fec8ab03189bcdda3d1392c0ee152370 [^]
2018-01-18 11:50 dmiguelez Resolution open => fixed
2018-01-18 11:51 dmiguelez Review Assigned To => dmiguelez
2018-01-18 11:51 dmiguelez Note Added: 0101771
2018-01-18 11:51 dmiguelez Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker