Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007080
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupminorhave not tried2009-01-22 19:102009-04-21 12:39
ReportershuehnerView Statuspublic 
Assigned Tovmromanos 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision12879
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision12158 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007080: Error message: "With your current role you don't have write permission." because of 'wrong' organisation type selected.

DescriptionWhen 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 ReproduceCreate 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0007118 closedgorkaion Unable to save simple sales orders 

-  Notes
(0013150)
vmromanos (manager)
2009-02-04 17:05

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 (reporter)
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 [^]

- 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 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker