Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0028895 | Openbravo ERP | 07. Sales management | public | 2015-02-09 13:57 | 2015-05-07 22:17 |
|
| Reporter | ngarcia | |
| Assigned To | AtulOpenbravo | |
| Priority | urgent | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | 3.0PR15Q3 | Fixed in Version | pi | |
| Merge Request Status | |
| Review Assigned To | umartirena |
| OBNetwork customer | OBPS |
| Web browser | |
| Modules | Core |
| Support ticket | 34189 |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0028895: Cannot process an invoice if the role does not have access to FIN_Payment and the business partner has credit left |
| Description | Cannot process an invoice if the role does not have access to FIN_Payment and the business partner has credit left |
| Steps To Reproduce | As group admin role:
Create a Payment In in which you generate credit to a Business Partner
Go to Role window and remove Payment In and Payment Out records from Window Access tab
Log out and log in again
Create a Sales Invoice to that Business Partner and try to complete it
Check you get the following error message:
"org.openbravo.base.exception.OBSecurityException: Entity FIN_Payment is not directly readable, only id and identifier properties are readable, property FIN_Payment.description is neither of these." |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2015-02-09 13:57 | ngarcia | New Issue | |
| 2015-02-09 13:57 | ngarcia | Assigned To | => Sandrahuguet |
| 2015-02-09 13:57 | ngarcia | OBNetwork customer | => Yes |
| 2015-02-09 13:57 | ngarcia | Modules | => Core |
| 2015-02-09 13:57 | ngarcia | Support ticket | => 34189 |
| 2015-02-09 13:57 | ngarcia | Resolution time | => 1426201200 |
| 2015-02-09 13:57 | ngarcia | Triggers an Emergency Pack | => No |
| 2015-02-09 13:59 | ngarcia | Target Version | => 3.0PR15Q2 |
| 2015-02-09 13:59 | ngarcia | Issue Monitored: networkb | |
| 2015-02-23 13:30 | jonalegriaesarte | Target Version | 3.0PR15Q2 => 3.0PR15Q3 |
| 2015-03-02 15:50 | fsoto82 | Status | new => scheduled |
| 2015-03-02 15:50 | fsoto82 | Assigned To | Sandrahuguet => fsoto82 |
| 2015-03-02 15:50 | fsoto82 | fix_in_branch | => pi |
| 2015-04-28 10:31 | AtulOpenbravo | Assigned To | fsoto82 => AtulOpenbravo |
| 2015-04-28 10:32 | AtulOpenbravo | Note Added: 0076814 | |
| 2015-04-29 11:32 | hgbot | Checkin | |
| 2015-04-29 11:32 | hgbot | Note Added: 0076864 | |
| 2015-04-29 11:32 | hgbot | Status | scheduled => resolved |
| 2015-04-29 11:32 | hgbot | Resolution | open => fixed |
| 2015-04-29 11:32 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/cb1a6759ce3cd025ee3f13d61fe4116af5672a8e [^] |
| 2015-04-29 11:33 | umartirena | Review Assigned To | => umartirena |
| 2015-04-29 11:33 | umartirena | Note Added: 0076865 | |
| 2015-04-29 11:33 | umartirena | Status | resolved => closed |
| 2015-04-29 11:33 | umartirena | Fixed in Version | => pi |
| 2015-05-07 22:17 | hudsonbot | Checkin | |
| 2015-05-07 22:17 | hudsonbot | Note Added: 0077182 | |
|
Notes |
|
|
|
Test Plan
- Login as group admin role:
- Create a Payment In in which you generate credit to a Business Partner.
- Go to Role window and remove Payment In and Payment Out records from Window Access tab
- Log out and log in again.
- Create a Sales Invoice to that Business Partner and try to complete it
- Credit Pop Up appears without any error. |
|
|
|
(0076864)
|
|
hgbot
|
|
2015-04-29 11:32
|
|
Repository: erp/devel/pi
Changeset: cb1a6759ce3cd025ee3f13d61fe4116af5672a8e
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Apr 28 14:05:35 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/cb1a6759ce3cd025ee3f13d61fe4116af5672a8e [^]
Fixes Issue 28895:Cannot process an invoice if the role does not have access
to FIN_Payment and the business partner has credit left
Changed OBContext to Admin mode when accessing Description field of Payment
and lastly restored it back again.
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
---
|
|
|
|
(0076865)
|
|
umartirena
|
|
2015-04-29 11:33
|
|
|
|
|
|
|