Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0007080 | Openbravo ERP | 01. General setup | public | 2009-01-22 19:10 | 2009-04-21 12:39 |
|
Reporter | shuehner | |
Assigned To | vmromanos | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0007080: Error message: "With your current role you don't have write permission." because of 'wrong' organisation type selected. |
Description | When you create a new client + organisation and select organisation type = 'Organisation' when you get the specified error message when trying to save and newly created Sales Invoice (after settings up all needed base tables like: bp, bp category, tax category, product category, pricelist, pricelistversion,pricelsitschema,prodcut).
Problem is that the organisation type 'Organisation' has the flag istransactionallowed set to false which prohibits creating the sales order. From reading the error message this is not clear and even not easily visible as a developer. |
Steps To Reproduce | Create a new client
Create a new Organisation with orgType = Organisation
setup the needed base data to be able to create a sales invoice
Create and try to save the sales invoice
see specified error message |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0007118 | | closed | gorkaion | Unable to save simple sales orders |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2009-01-22 19:10 | shuehner | New Issue | |
2009-01-22 19:10 | shuehner | Assigned To | => rafaroda |
2009-01-22 19:10 | shuehner | sf_bug_id | 0 => 2529069 |
2009-01-22 19:10 | shuehner | OBNetwork customer | => No |
2009-01-22 19:10 | shuehner | Regression testing | => No |
2009-01-30 12:56 | psarobe | Priority | normal => high |
2009-01-30 12:56 | psarobe | Status | new => scheduled |
2009-01-30 12:56 | psarobe | Assigned To | rafaroda => vmromanos |
2009-02-04 17:05 | vmromanos | Note Added: 0013150 | |
2009-02-06 10:03 | AinhoaPagola | Relationship added | related to 0007118 |
2009-02-06 10:44 | svnbot | Checkin | |
2009-02-06 10:44 | svnbot | Note Added: 0013211 | |
2009-02-06 10:44 | svnbot | Status | scheduled => resolved |
2009-02-06 10:44 | svnbot | Resolution | open => fixed |
2009-02-06 10:44 | svnbot | svn_revision | => 12879 |
2009-04-21 12:39 | psarobe | Status | resolved => closed |
Notes |
|
|
The problem here is that an organization that has the istransactionallowed='N' should never appear into a transactional window, like for example "Purchase invoice".
Thanks to the steps to reproduce this bug given by shuehner we have discovered that if a client only has organizations with istransactionallowed='N', then the transactional windows display all the available organizations for that client.
So, what we have to ensure is that, when the client doesn't have at least an organization with istransactionallowed='Y', the organization's field of the transactional windows must appear empty. |
|
|
(0013211)
|
svnbot
|
2009-02-06 10:44
|
|
Repository: openbravo
Revision: 12879
Author: vmromanos
Date: 2009-02-06 10:44:02 +0100 (Fri, 06 Feb 2009)
Fixed bug 7080: When there are no transaction allowed organizations, the transactional windows must display no organizations into the organization's combobox.
---
U trunk/src/org/openbravo/base/secureApp/OrgTree.java
U trunk/src/org/openbravo/base/secureApp/OrgTreeNode.java
U trunk/src/org/openbravo/erpCommon/utility/Utility.java
---
https://dev.openbravo.com/websvn/openbravo/?rev=12879&sc=1 [^]
|
|