Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020920Openbravo ERP01. General setuppublic2012-07-03 18:282012-07-10 10:35
gorkaion 
Sandrahuguet 
immediateminorhave not tried
closedfixed 
20Gentoo
 
3.0MP13 
Core
No
0020920: Cost dependant reports and process access shall be updated by migration process
There are 3 reports and 1 process that have been duplicated to adapt them to the new engine.

Old reports have been renamed with the legacy sufix.
New ones adapted to new cost engine have been created with the old names.

Manual roles upgrading from old instances should keep the access to the legacy reports and processes.

The Cost Migration process should automatically update all manual roles to change the access from the legacy report and processes to the new ones.
On an instance that has not been migrated. Create a manual role with access to the legacy report and processes.

Migrate to the new cost engine.

check that the role access has not been updated.
No tags attached.
Issue History
2012-07-03 18:28gorkaionNew Issue
2012-07-03 18:28gorkaionAssigned To => Sandrahuguet
2012-07-03 18:28gorkaionModules => Core
2012-07-03 18:28gorkaionNote Added: 0050343
2012-07-04 08:57SandrahuguetStatusnew => scheduled
2012-07-04 08:57Sandrahuguetfix_in_branch => pi
2012-07-05 18:15hgbotCheckin
2012-07-05 18:15hgbotNote Added: 0050376
2012-07-05 18:15hgbotStatusscheduled => resolved
2012-07-05 18:15hgbotResolutionopen => fixed
2012-07-05 18:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/57adb61dfb3e1a6309e60eb9bfc505488e84be4c [^]
2012-07-05 18:16naiaramartinezNote Added: 0050377
2012-07-05 18:16naiaramartinezStatusresolved => closed
2012-07-10 10:35hudsonbotCheckin
2012-07-10 10:35hudsonbotNote Added: 0050426

Notes
(0050343)
gorkaion   
2012-07-03 18:28   
Step to test:

1. On an instance in MP12 or before. Create a manual role with access to:
* Sales Invoice Dimensional Report
* Valued Stock Report
* Pareto Product Report
* M_Update_Pareto_Product
2. Upgrade to latest pi (or a revision including the new cost engine). Check that the role access is now to the "legacy" report and processes.
3. Migrate the instance.
4. Check that the role access has changed to the new report and processes.
(0050376)
hgbot   
2012-07-05 18:15   
Repository: erp/devel/pi
Changeset: 57adb61dfb3e1a6309e60eb9bfc505488e84be4c
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Thu Jul 05 12:07:53 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/57adb61dfb3e1a6309e60eb9bfc505488e84be4c [^]

Fixed bug 20920 Updated in migration process cost reports and process access

---
M src-db/database/sourcedata/AD_MENU.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src-db/database/sourcedata/AD_PROCESS.xml
M src/org/openbravo/costing/CostingMigrationProcess.java
---
(0050377)
naiaramartinez   
2012-07-05 18:16   
code review + testing OK
(0050426)
hudsonbot   
2012-07-10 10:35   
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/9f5eedec4e1a [^]

Maturity status: Test