Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0041137Openbravo ERP07. Sales managementpublic2019-06-20 13:142019-06-27 08:42
aferraz 
nonofrancisco 
normalmajorhave not tried
closedfixed 
5
 
3.0PR19Q2.1 
Sandrahuguet
Core
Production - QA Approved
2019-02-28
3.0PR19Q2
https://code.openbravo.com/erp/devel/pi/rev/aed4d4a47cd18723828c141de4ab3e43b40c161d [^]
No
0041137: Sales Representative selector doesn't filter by natural tree anymore
After allowing cross organization reference in some SalesRep_ID columns, Sales Representative selector doesn't filter by natural tree anymore.
Using F&B group admin role:
- Create a new Sales Order
- Select F&B España - Región Norte organization
- Click on Sales Representative selector
Check Sales Representatives from USA are displayed.
Only Sales Representatives from Spain should be displayed.
Add a validation to filter by natural tree organizations in following columns:
C_Order.SalesRep_ID
M_InOut.SalesRep_ID
C_Invoice.SalesRep_ID
No tags attached.
blocks defect 00411333.0PR19Q3 closed nonofrancisco Sales Representative selector doesn't filter by natural tree anymore 
Issue History
2019-06-20 15:54SandrahuguetTypedefect => backport
2019-06-20 15:54SandrahuguetTarget Version3.0PR19Q3 => 3.0PR19Q2.1
2019-06-26 17:44hgbotCheckin
2019-06-26 17:44hgbotNote Added: 0113042
2019-06-26 17:44hgbotStatusscheduled => resolved
2019-06-26 17:44hgbotResolutionopen => fixed
2019-06-26 17:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR19Q2.1/rev/7357caa505d694a595f4e47695f7b5f37e3c7baa [^]
2019-06-26 17:45SandrahuguetReview Assigned To => Sandrahuguet
2019-06-26 17:45SandrahuguetNote Added: 0113043
2019-06-26 17:45SandrahuguetStatusresolved => closed
2019-06-26 17:45SandrahuguetFixed in Version => 3.0PR19Q2.1
2019-06-26 17:57SandrahuguetStatusclosed => new
2019-06-26 17:57SandrahuguetResolutionfixed => open
2019-06-26 17:57SandrahuguetFixed in Version3.0PR19Q2.1 =>
2019-06-27 08:41SandrahuguetStatusnew => scheduled
2019-06-27 08:41SandrahuguetStatusscheduled => resolved
2019-06-27 08:41SandrahuguetResolutionopen => fixed
2019-06-27 08:42SandrahuguetStatusresolved => closed

Notes
(0113042)
hgbot   
2019-06-26 17:44   
Repository: erp/backports/3.0PR19Q2.1
Changeset: 7357caa505d694a595f4e47695f7b5f37e3c7baa
Author: Nono Carballo <nonofce <at> gmail.com>
Date: Mon Jun 24 10:08:08 2019 -0400
URL: http://code.openbravo.com/erp/backports/3.0PR19Q2.1/rev/7357caa505d694a595f4e47695f7b5f37e3c7baa [^]

Fixes issue 41137: Filters AD_User by natural tree organization

A new validation rule was added to filters AD_User by natural tree organization.
The new rule was applied to columns C_Order.SalesRep_ID, M_InOut.SalesRep_ID
and C_Invoice.SalesRep_ID.

Test class was updated.

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_VAL_RULE.xml
M src-test/src/org/openbravo/test/security/CrossOrganizationUI.java
---
(0113043)
Sandrahuguet   
2019-06-26 17:45   
code review + testing ok