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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050392
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Copy Retail Storemajorhave not tried2022-10-03 15:242022-11-18 12:11
ReporterrafarodaView Statuspublic 
Assigned Tomontse_cabanas 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0050392: Add new stores created via Copy Retail Store to existing roles

DescriptionAdd new stores created via Copy Retail Store to existing roles

If we create a role Marketing France, and we want it to assign a Discount and Promotions to a specific store A, we need this store A to be in Role window > Org Access subtab of role Marketing France, see related 0049943

In order to make this role sustainable in term of Org Access, we need to have an easy way to do, in the process of Copy Retail Store, to add automatically the store in the Org Access tab of this Role

https://openbravo.atlassian.net/browse/RM-1977 [^]
Steps To Reproduce1) Have a role that is aimed to be affected to all stores in org Access: for instance, headquarters Marketing France, where in Org Access you need to add all the stores in order to properly define Discounts and Promotions for that stores

2) When you do a Copy Store to create a new store: today, this store is NOT added to the list of stores of rol Marketing France (this role is manual, NOT automatic)
Proposed SolutionNEW PROPOSED SOLUTION based on fesign "CRS - Role inheritance" https://docs.google.com/document/d/1rBWc_PQDdsvy6ig7LtYfckfiryZRLkWK/edit [^]


In the Excel file used in Copy Retail Store: provide a new sheet to that excel template to inform which of the existing roles should inherit permissions for the newly created store/organization:

When the process is run, all those informed roles (inside the new sheet described above) should be granted permissions for the newly created organization.
TagsFASH
Attached Filespng file icon Screenshot from 2022-11-03 13-23-58.png [^] (15,931 bytes) 2022-11-03 13:24

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0049943 closedmontse_cabanas Openbravo ERP Discounts and Promotions - Add Organizations button and roles odd behavior 

-  Notes
(0143730)
hgbot (developer)
2022-11-16 16:46

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/37 [^]
(0143799)
hgbot (developer)
2022-11-17 16:41

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore.excel/-/merge_requests/6 [^]
(0143822)
hgbot (developer)
2022-11-18 12:08

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore [^]
Changeset: 962ec5f95a9271cb7241ff68ac90b80afa265d5c
Author: Montserrat Cabañas <montserrat.cabanas@openbravo.com>
Date: 18-11-2022 11:08:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/commit/962ec5f95a9271cb7241ff68ac90b80afa265d5c [^]

Fixes FR-50392: Added Role inheritance tab to define the roles that should inherit access to the new organization

---
A src/org/openbravo/retail/copystore/process/RoleInheritanceProcess.java
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0143823)
hgbot (developer)
2022-11-18 12:08

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/37 [^]
(0143824)
hgbot (developer)
2022-11-18 12:11

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore.excel/-/merge_requests/6 [^]
(0143825)
hgbot (developer)
2022-11-18 12:11

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore.excel [^]
Changeset: d24e169b8939a96e0fabbd99d0190c59f60ee8fe
Author: Montserrat Cabañas <montserrat.cabanas@openbravo.com>
Date: 18-11-2022 11:11:38
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore.excel/-/commit/d24e169b8939a96e0fabbd99d0190c59f60ee8fe [^]

Fixes FR-50392: Added Role inheritance tab to define the roles that should inherit access to the new organization

---
M examples/OBPOSCE Example.xlsx
M src-db/database/sourcedata/OBPOSCS_CONFIGURATION.xml
---

- Issue History
Date Modified Username Field Change
2022-10-03 15:24 rafaroda New Issue
2022-10-03 15:24 rafaroda Assigned To => Retail
2022-10-03 15:24 rafaroda Triggers an Emergency Pack => No
2022-10-03 15:25 rafaroda Tag Attached: FASH
2022-10-20 15:54 rafaroda Relationship added related to 0049943
2022-11-03 13:24 rafaroda Proposed Solution updated
2022-11-03 13:24 rafaroda Assigned To Retail => montse_cabanas
2022-11-03 13:24 rafaroda File Added: Screenshot from 2022-11-03 13-23-58.png
2022-11-03 13:37 aferraz Description Updated View Revisions
2022-11-16 16:46 hgbot Note Added: 0143730
2022-11-17 16:41 hgbot Note Added: 0143799
2022-11-18 12:08 hgbot Resolution open => fixed
2022-11-18 12:08 hgbot Status new => closed
2022-11-18 12:08 hgbot Note Added: 0143822
2022-11-18 12:08 hgbot Note Added: 0143823
2022-11-18 12:11 hgbot Note Added: 0143824
2022-11-18 12:11 hgbot Note Added: 0143825


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker