Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021821Openbravo ERP02. Master data managementpublic2012-10-01 18:272012-10-15 10:15
jecharri 
ioritzCia 
immediatemajoralways
closedfixed 
5
 
3.0MP17 
jecharri
Google Chrome
Core
No
0021821: Prices visible in product does not belong to role
Prices visible in product does not belong to role.

It is posible to have acces only to org US and be able to see prices from Spain prices lists.
As "Admin":
-go to "Product" window and create a product in org "*"
-go to tab "price" and insert a price in a spanish price list version "Tarifa de ventas"

After that, create a role and give acces only for "F&B US, Inc." organization.
-Assign an user and do the login.
-Go to window product and verify that you can see the price that it is included in spanish price list version.
No tags attached.
related to defect 0030735 closed AtulOpenbravo All price lists are displayed without check the organization role 
Issue History
2012-10-01 18:27jecharriNew Issue
2012-10-01 18:27jecharriAssigned To => dmiguelez
2012-10-01 18:27jecharriWeb browser => Google Chrome
2012-10-01 18:27jecharriModules => Core
2012-10-01 18:27jecharriResolution time => 1331420400
2012-10-01 18:47dmiguelezAssigned Todmiguelez => jonalegriaesarte
2012-10-01 18:58jonalegriaesarteWeb browserGoogle Chrome => Google Chrome
2012-10-01 18:58jonalegriaesartePrioritynormal => immediate
2012-10-01 18:58jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2012-10-04 09:24ioritzCiaStatusnew => scheduled
2012-10-04 09:24ioritzCiafix_in_branch => pi
2012-10-05 08:56hgbotCheckin
2012-10-05 08:56hgbotNote Added: 0053065
2012-10-05 08:56hgbotStatusscheduled => resolved
2012-10-05 08:56hgbotResolutionopen => fixed
2012-10-05 08:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0adac77c40631842e3f7b8a11f636fc04877daae [^]
2012-10-05 13:40hgbotCheckin
2012-10-05 13:40hgbotNote Added: 0053080
2012-10-05 15:16hgbotCheckin
2012-10-05 15:16hgbotNote Added: 0053083
2012-10-05 15:38hgbotCheckin
2012-10-05 15:38hgbotNote Added: 0053084
2012-10-11 07:50hudsonbotCheckin
2012-10-11 07:50hudsonbotNote Added: 0053247
2012-10-11 07:50hudsonbotCheckin
2012-10-11 07:50hudsonbotNote Added: 0053250
2012-10-11 07:50hudsonbotCheckin
2012-10-11 07:50hudsonbotNote Added: 0053252
2012-10-11 07:50hudsonbotCheckin
2012-10-11 07:50hudsonbotNote Added: 0053253
2012-10-15 09:54ioritzCiaNote Added: 0053343
2012-10-15 10:15jecharriNote Added: 0053344
2012-10-15 10:15jecharriReview Assigned To => jecharri
2012-10-15 10:15jecharriNote Added: 0053345
2012-10-15 10:15jecharriStatusresolved => closed
2015-09-04 10:22vmromanosRelationship addedrelated to 0030735

Notes
(0053065)
hgbot   
2012-10-05 08:56   
Repository: erp/devel/pi
Changeset: 0adac77c40631842e3f7b8a11f636fc04877daae
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Wed Oct 03 17:50:26 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0adac77c40631842e3f7b8a11f636fc04877daae [^]

Fixes issue 21821: Prices visible in product does not belong to role.

---
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
A src/org/openbravo/erpCommon/ad_callouts/SL_ProductPrice_PriceListVersion.java
---
(0053080)
hgbot   
2012-10-05 13:40   
Repository: erp/devel/pi
Changeset: f0a1ff1e85fb163ec48926b7f7241930844c11d9
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Fri Oct 05 13:18:27 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f0a1ff1e85fb163ec48926b7f7241930844c11d9 [^]

Related to issue 21821: Modulescript added.

---
A src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateProductPrice.class
A src-util/modulescript/src/org/openbravo/modulescript/UpdateProductPrice.java
---
(0053083)
hgbot   
2012-10-05 15:16   
Repository: erp/devel/pi
Changeset: 98d56090e439558046556fa827680389b710877f
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Fri Oct 05 15:08:07 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/98d56090e439558046556fa827680389b710877f [^]

Related to issue 21821: Modulescript added.

---
M src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateProductPrice.class
M src-util/modulescript/src/org/openbravo/modulescript/UpdateProductPrice.java
A src-util/modulescript/src/org/openbravo/modulescript/UpdateProductPrice_data.xsql
---
(0053084)
hgbot   
2012-10-05 15:38   
Repository: erp/devel/pi
Changeset: 71b64e0c40044615ca6b0cf1ad65d0144e5534e8
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Fri Oct 05 15:25:04 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/71b64e0c40044615ca6b0cf1ad65d0144e5534e8 [^]

Related to issue 21821: Data .class missing.

---
A src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateProductPriceData.class
---
(0053247)
hudsonbot   
2012-10-11 07:50   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/63dfc135f2a1 [^]

Maturity status: Test
(0053250)
hudsonbot   
2012-10-11 07:50   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/63dfc135f2a1 [^]

Maturity status: Test
(0053252)
hudsonbot   
2012-10-11 07:50   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/63dfc135f2a1 [^]

Maturity status: Test
(0053253)
hudsonbot   
2012-10-11 07:50   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/63dfc135f2a1 [^]

Maturity status: Test
(0053343)
ioritzCia   
2012-10-15 09:54   
Testing Plan:

As a role with access to many organizations:
-go to "Product" window and create a product in a parent org that has access to price lists of more than one organization.
-go to tab "price" and insert a price in one of those price lists.

Log in with a role that has access to a different organization that the one of the previous price list in the same tree of the organization where the product was created.
-Go to window product and verify that you cannot see the price that it is included in the price list version that belongs to an organization not accessible with this role.
(0053344)
jecharri   
2012-10-15 10:15   
Verified
(0053345)
jecharri   
2012-10-15 10:15   
Verified