Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0028931 | Openbravo ERP | Z. Others | public | 2015-02-13 09:30 | 2016-06-17 19:37 |
|
Reporter | ngarcia | |
Assigned To | AtulOpenbravo | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | aferraz |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 34323 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0028931: Cannot add a payment from an invoice if the role does not have access to the organization of the document sequence |
Description | Cannot add a payment from an invoice if the role does not have access to the organization of the document sequence |
Steps To Reproduce | As group admin role:
Delete the '*', 'F&B España, S.A' and 'F&B International Group' from the 'F&B International Group Admin' role
Create a Sales Invoice and complete it
Click on Add Payment button
Check the following error is raised:
Organization B843C30461EA4501935CB1D125C9C25A of object (ADSequence(0BC1D46D77844119AAAC72636119BF43) (name: AR Receipt)) is not present in OrganizationList ...
Go to Payment In window and check you could add a payment to the invoice |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | causes | defect | 0033043 | | closed | markmm82 | Permissions problem after process payment: role defined for an specific org (norte) is able to see data from sister orgs (sur) |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-02-13 09:30 | ngarcia | New Issue | |
2015-02-13 09:30 | ngarcia | Assigned To | => Sandrahuguet |
2015-02-13 09:30 | ngarcia | OBNetwork customer | => Yes |
2015-02-13 09:30 | ngarcia | Modules | => Core |
2015-02-13 09:30 | ngarcia | Support ticket | => 34323 |
2015-02-13 09:30 | ngarcia | Resolution time | => 1426719600 |
2015-02-13 09:30 | ngarcia | Triggers an Emergency Pack | => No |
2015-02-13 09:30 | ngarcia | Issue Monitored: networkb | |
2015-02-26 07:33 | AtulOpenbravo | Assigned To | Sandrahuguet => AtulOpenbravo |
2015-02-26 07:33 | AtulOpenbravo | Status | new => scheduled |
2015-02-26 07:33 | AtulOpenbravo | fix_in_branch | => pi |
2015-03-02 08:05 | AtulOpenbravo | Review Assigned To | => Sandrahuguet |
2015-03-02 08:05 | AtulOpenbravo | fix_in_branch | pi => |
2015-04-15 18:15 | aferraz | Note Added: 0076566 | |
2015-04-15 18:16 | hgbot | Checkin | |
2015-04-15 18:16 | hgbot | Note Added: 0076567 | |
2015-04-15 18:16 | hgbot | Status | scheduled => resolved |
2015-04-15 18:16 | hgbot | Resolution | open => fixed |
2015-04-15 18:16 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/78fd9bade67beea0399977fcdc05fd267c4af8c4 [^] |
2015-04-15 18:17 | aferraz | Review Assigned To | Sandrahuguet => aferraz |
2015-04-15 18:17 | aferraz | Note Added: 0076568 | |
2015-04-15 18:17 | aferraz | Status | resolved => closed |
2015-05-07 22:16 | hudsonbot | Checkin | |
2015-05-07 22:16 | hudsonbot | Note Added: 0077130 | |
2016-05-25 17:23 | aferraz | Relationship added | causes 0033043 |
2016-05-30 20:21 | hgbot | Checkin | |
2016-05-30 20:21 | hgbot | Note Added: 0086824 | |
2016-05-30 21:21 | hgbot | Checkin | |
2016-05-30 21:21 | hgbot | Note Added: 0086828 | |
2016-05-30 21:22 | hgbot | Checkin | |
2016-05-30 21:22 | hgbot | Note Added: 0086831 | |
2016-05-30 21:22 | hgbot | Checkin | |
2016-05-30 21:22 | hgbot | Note Added: 0086834 | |
2016-06-17 19:37 | hudsonbot | Checkin | |
2016-06-17 19:37 | hudsonbot | Note Added: 0087575 | |
2016-06-17 19:37 | hudsonbot | Checkin | |
2016-06-17 19:37 | hudsonbot | Note Added: 0087576 | |
Notes |
|
|
Test plan:
As group admin role:
Delete the '*', 'F&B España, S.A' and 'F&B International Group' from the 'F&B International Group Admin' role
Logout and login again:
Create a Sales Invoice and complete it
Click on Add Payment button
Check the payment is created correctly |
|
|
(0076567)
|
hgbot
|
2015-04-15 18:16
|
|
Repository: erp/devel/pi
Changeset: 78fd9bade67beea0399977fcdc05fd267c4af8c4
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon Mar 02 12:22:10 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/78fd9bade67beea0399977fcdc05fd267c4af8c4 [^]
Fixes Issue 28931: Cannot add a payment from an invoice if the role does not
have access to the organization of the document sequence
Document sequence updation using add payment from invoice and add details from
payment in is done differently. In add payment from invoice OBDal checks org
access so doc seq organization is added explicitly using add writable
organization in OBContext and removed after work is done.
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java
---
|
|
|
|
|
|
|
|
|
(0086824)
|
hgbot
|
2016-05-30 20:21
|
|
Repository: erp/devel/pi
Changeset: 008b04a52b68e233ec58cd0440b951b1bb962205
Author: Mark <markmm82 <at> gmail.com>
Date: Fri May 27 12:53:49 2016 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/008b04a52b68e233ec58cd0440b951b1bb962205 [^]
Fixes issue 33043: Permissions problems after process payment solved
Role defined for an specific org is not able to see data from sister orgs.
Regression was introduced by the commit associated to issue 28931:
http://code.openbravo.com/erp/devel/pi/rev/78fd9bade67beea0399977fcdc05fd267c4af8c4 [^]
Changes were rolled back.
Also this patch includes fix for the issue 28931, avoiding to remove from the Writable Organizations List of the OBContext object, the Organization of the sequence of the payment's document type, if this organization is already in the list of accesible organizations of the current logged role.
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentActionHandler.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java
---
|
|
|
(0086828)
|
hgbot
|
2016-05-30 21:21
|
|
Repository: erp/backports/3.0PR16Q2
Changeset: 2c5ee42cc25845403e5df69e8ac274799d923d71
Author: Mark <markmm82 <at> gmail.com>
Date: Fri May 27 12:53:49 2016 -0400
URL: http://code.openbravo.com/erp/backports/3.0PR16Q2/rev/2c5ee42cc25845403e5df69e8ac274799d923d71 [^]
Fixed issue 33053: Permissions problems after process payment solved.
Role defined for an specific org is not able to see data from sister orgs.
Regression was introduced by the commit associated to issue 28931:
http://code.openbravo.com/erp/devel/pi/rev/78fd9bade67beea0399977fcdc05fd267c4af8c4 [^]
Changes were rolled back.
Also this patch includes fix for the issue 28931, avoiding to remove from the Writable Organizations List of the OBContext object, the Organization of the sequence of the payment's document type, if this organization is already in the list of accesible organizations of the current logged role.
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentActionHandler.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java
---
|
|
|
(0086831)
|
hgbot
|
2016-05-30 21:22
|
|
Repository: erp/backports/3.0PR16Q1.3
Changeset: 56ff23f68667342d6dbc66eec2911979ba26cdb6
Author: Mark <markmm82 <at> gmail.com>
Date: Fri May 27 13:12:14 2016 -0400
URL: http://code.openbravo.com/erp/backports/3.0PR16Q1.3/rev/56ff23f68667342d6dbc66eec2911979ba26cdb6 [^]
Fixed issue 33054: Permissions problems after process payment solved.
Role defined for an specific org is not able to see data from sister orgs.
Regression was introduced by the commit associated to issue 28931:
http://code.openbravo.com/erp/devel/pi/rev/78fd9bade67beea0399977fcdc05fd267c4af8c4 [^]
Changes were rolled back.
Also this patch includes fix for the issue 28931, avoiding to remove from the Writable Organizations List of the OBContext object, the Organization of the sequence of the payment's document type, if this organization is already in the list of accesible organizations of the current logged role.
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentActionHandler.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java
---
|
|
|
(0086834)
|
hgbot
|
2016-05-30 21:22
|
|
Repository: erp/backports/3.0PR15Q4.7
Changeset: f38bc9208cdcd529ecd6f8f574df435cf08a690a
Author: Mark <markmm82 <at> gmail.com>
Date: Fri May 27 13:12:14 2016 -0400
URL: http://code.openbravo.com/erp/backports/3.0PR15Q4.7/rev/f38bc9208cdcd529ecd6f8f574df435cf08a690a [^]
Fixed issue 33055: Permissions problems after process payment solved.
Role defined for an specific org is not able to see data from sister orgs.
Regression was introduced by the commit associated to issue 28931:
http://code.openbravo.com/erp/devel/pi/rev/78fd9bade67beea0399977fcdc05fd267c4af8c4 [^]
Changes were rolled back.
Also this patch includes fix for the issue 28931, avoiding to remove from the Writable Organizations List of the OBContext object, the Organization of the sequence of the payment's document type, if this organization is already in the list of accesible organizations of the current logged role.
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentActionHandler.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java
---
|
|
|
|
|
|
|
|