Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007118Openbravo ERP07. Sales managementpublic2009-01-23 18:352009-02-22 15:39
AinhoaPagola 
gorkaion 
normalmajoralways
closedfixed 
20Ubuntu 8.4
pi 
2.50beta 
Core
No
0007118: Unable to save simple sales orders
It is not possible to create new sales order. Whenever the save message is cliked and error message is dysplayed with the following message:
      
With your current role you don't have write permission.

This issue only reproduces in trunk.
Go to Sales Management || Transactions || Simple Sales Order || Header
Insert a business partner (Mc Giver for example)
Click on save button.

Error message is displayed. See attached file.
commsup_sprint6
related to defect 0007143 closed gorkaion Simple Sales Order - save operation fails 
related to defect 0007080 closed vmromanos Error message: "With your current role you don't have write permission." because of 'wrong' organisation type selected. 
png SimpleSalesOrder.png (196,872) 2009-01-23 18:35
https://issues.openbravo.com/file_download.php?file_id=725&type=bug
png
Issue History
2009-01-23 18:35AinhoaPagolaNew Issue
2009-01-23 18:35AinhoaPagolaAssigned To => rafaroda
2009-01-23 18:35AinhoaPagolasf_bug_id0 => 2531415
2009-01-23 18:35AinhoaPagolaFile Added: SimpleSalesOrder.png
2009-01-23 18:35AinhoaPagolaRegression testing => No
2009-01-23 18:38AinhoaPagolaDescription Updated
2009-01-28 19:01shuehnerNote Added: 0012774
2009-01-30 16:37psarobeStatusnew => scheduled
2009-01-30 16:37psarobefix_in_branch => trunk
2009-02-03 11:18rafarodaRelationship addedrelated to 0007143
2009-02-06 10:03AinhoaPagolaRelationship addedrelated to 0007080
2009-02-12 13:13AinhoaPagolaAssigned Torafaroda => gorkaion
2009-02-13 13:26svnbotCheckin
2009-02-13 13:26svnbotNote Added: 0013460
2009-02-13 13:26svnbotStatusscheduled => resolved
2009-02-13 13:26svnbotResolutionopen => fixed
2009-02-13 13:26svnbotsvn_revision => 13167
2009-02-13 13:41gorkaionTag Attached: commsup_sprint6
2009-02-22 15:39sureshbabuStatusresolved => closed
2009-02-22 15:39sureshbabuNote Added: 0013886
2009-02-22 15:39sureshbabuFixed in Version => trunk

Notes
(0012774)
shuehner   
2009-01-28 19:01   
Reason for this is behavior is that i.e. Openbravo Admin role has as a default the organisation '*' selected. The simple sales order just uses this value and does not have an option field to change it. Creating a new sales order for the '*' organisation then fails with the specified error message.

When you switch to another organisation like 'A' or 'main' in the role switch popup then creating and saving a new simple sales order does work correctly.
(0013460)
svnbot   
2009-02-13 13:26   
Repository: openbravo
Revision: 13167
Author: gorkaion
Date: 2009-02-13 13:26:39 +0100 (Fri, 13 Feb 2009)

Fixed bug 7118. Set as displayed the organization field so the user can choose one in which is possible to create transactions

---
U trunk/src-db/database/sourcedata/AD_FIELD.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=13167&sc=1 [^]
(0013886)
sureshbabu   
2009-02-22 15:39   
Retested in context http://79.125.56.185/openbravotrunk [^]