Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005850Openbravo ERP01. General setuppublic2008-11-06 12:352008-12-03 19:51
rafaroda 
vmromanos 
highmajoralways
closedfixed 
20Ubuntu 7.10
pi 
2.50 
No
Core
No
0005850: Checks before set an organization to ready.
You should not be allowed to set an organization to ready if:
* its organization type has transactions allowed but is not a legal entity OR
* the organization types of its ancestors are not a legal entity

In other words, if an organization or any of its ancestors has its organization type equal to legal entity, you should be allowed to set this organization to ready.
1) Create a new organization in 'General Setup || Enterprise || Organization'.
2) Set its organization type to one which is NOT a legal entity but has transactions allowed.
3) In the organization tree, this new organization should hang from * (which organization type is NOT a legal entity).
4) Try to set this organization to ready by pressing the button.

You can when you should not.
multi-org
Issue History
2008-11-06 12:35rafarodaNew Issue
2008-11-06 12:35rafarodaAssigned To => vmromanos
2008-11-06 12:35rafarodasf_bug_id0 => 2229252
2008-11-06 12:35rafarodaOBNetwork customer => No
2008-11-06 12:35rafarodaRegression testing => No
2008-11-06 12:35rafarodaTag Attached: multi-org
2008-11-06 13:26vmromanosStatusnew => scheduled
2008-11-06 13:26vmromanosfix_in_branch => trunk
2008-11-06 13:29svnbotCheckin
2008-11-06 13:29svnbotNote Added: 0010037
2008-11-06 13:29svnbotsvn_revision => 9743
2008-11-06 17:53rafarodafix_in_branchtrunk =>
2008-11-06 17:53rafarodaDescription Updated
2008-11-06 17:53rafarodaProposed Solution updated
2008-11-07 09:19vmromanosStatusscheduled => resolved
2008-11-07 09:19vmromanosResolutionopen => fixed
2008-12-03 19:51psarobeStatusresolved => closed

Notes
(0010037)
svnbot   
2008-11-06 13:29   
Repository: openbravo
Revision: 9743
Author: vmromanos
Date: 2008-11-06 13:29:15 +0100 (Thu, 06 Nov 2008)

Issue 0005850: Modified AD_ORGTYPE_ISTRANS_ALLOWED function

---
U branches/modularity/src-db/database/model/functions/AD_ORGTYPE_ISTRANS_ALLOWED.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=9743&sc=1 [^]