Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049545Retail ModulesRetail Configurationpublic2022-06-14 09:402023-05-08 15:52
caristu 
Retail 
highminorhave not tried
scheduledopen 
5
 
 
No
0049545: The Store Organization Selector has a wrong filter expression
The Store Organization Selector has the following filter expression:

"(ad_isorgincluded(@#AD_Org_ID@,e.id, e.client.id) <> -1 or ad_isorgincluded(e.id,@#AD_Org_ID@, e.client.id) <> -1)"

Note that it is currently filtering by the current session's default organization. This means that for example the same role would be able to select any store if it has * organization as the current organization, but it will be only able to select Vallblanca store if it has that store as the current organization.

This is an inconsistent behavior.
Explained in description
Do not make the filter expression of this selector depend on the current organization of the session. Instead it should make use of the record organization.
No tags attached.
related to feature request 0049358 closed caristu Support selecting the discounts to be loaded into a terminal by a store set based criteria 
related to defect 0049613 new Retail Add fields to the Store Organization Selector 
Issue History
2022-06-14 09:40caristuNew Issue
2022-06-14 09:40caristuAssigned To => Retail
2022-06-14 09:40caristuTriggers an Emergency Pack => No
2022-06-14 09:41caristuRelationship addedrelated to 0049358
2022-06-21 10:27caristuIssue cloned0049613
2022-06-21 10:27caristuRelationship addedrelated to 0049613
2022-06-27 06:41radhakrishnanAssigned ToRetail => radhakrishnan
2022-06-27 06:41radhakrishnanStatusnew => scheduled
2023-05-08 15:52marvintmAssigned Toradhakrishnan => Retail

There are no notes attached to this issue.