Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017660Openbravo ERP01. General setuppublic2011-06-17 11:532011-08-18 17:35
jecharri 
jecharri 
urgentminorhave not tried
closedno change required 
5
pi 
3.0MP33.0MP3 
Core
No
0017660: It can not delete an organization
After you have created one organization ("general setup||enterprise||initial organization setup" or "setup||enterprise|| organization"), you can not delete it.
Go to "general setup||enterprise||initial organization setup" or "setup||enterprise|| organization" and create one generic organization (for example).
Try to delete and you will see that you can't.
It doesn't matter if the organization doesn't have any linked item or if it doesn't in "Ready" situation or it has data related or not.

When you create an organization some records are entered in ad_treenode and ad_image tables.
Apart from that, it is important to know, if you put the organization "Ready", this organization is going to have some data related with control periods.
It will interesting to create one process to delete organizations
No tags attached.
depends on backport 00176612.50MP33 closed jecharri It can not delete an organization 
Issue History
2011-06-17 11:53jecharriNew Issue
2011-06-17 11:53jecharriAssigned To => dalsasua
2011-06-17 11:53jecharriModules => Core
2011-06-17 11:53jecharriStatusnew => scheduled
2011-06-17 11:53jecharrifix_in_branch => pi
2011-07-01 10:04hgbotCheckin
2011-07-01 10:04hgbotNote Added: 0038664
2011-07-01 10:04hgbotStatusscheduled => resolved
2011-07-01 10:04hgbotResolutionopen => fixed
2011-07-01 10:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a95738137c8944fea05b1c88c1d271fe3bb86e94 [^]
2011-07-05 11:12jonalegriaesarteNote Added: 0038763
2011-07-05 11:12jonalegriaesarteStatusresolved => new
2011-07-05 11:12jonalegriaesarteResolutionfixed => open
2011-07-05 11:12jonalegriaesarteTarget Version3.0MP1 => 3.0MP2
2011-07-05 11:12jonalegriaesartefix_in_branchpi =>
2011-07-06 02:42hudsonbotCheckin
2011-07-06 02:42hudsonbotNote Added: 0038845
2011-07-20 18:09dalsasuaAssigned Todalsasua => jonalegriaesarte
2011-07-21 20:13jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2011-07-27 20:11jonalegriaesarteSeveritymajor => minor
2011-08-02 10:32jonalegriaesarteNote Added: 0039762
2011-08-02 10:32jonalegriaesarteTarget Version3.0MP2 => 3.0MP3
2011-08-18 17:35jonalegriaesarteNote Added: 0040331
2011-08-18 17:35jonalegriaesarteStatusnew => closed
2011-08-18 17:35jonalegriaesarteResolutionopen => no change required
2011-08-18 17:35jonalegriaesarteFixed in Version => 3.0MP3

Notes
(0038664)
hgbot   
2011-07-01 10:04   
Repository: erp/devel/pi
Changeset: a95738137c8944fea05b1c88c1d271fe3bb86e94
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Jul 01 10:01:07 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a95738137c8944fea05b1c88c1d271fe3bb86e94 [^]

Fixes issue 17660: It can not delete an organization

---
M src-db/database/model/tables/AD_IMAGE.xml
M src-db/database/model/tables/AD_PREFERENCE.xml
M src-db/database/model/tables/AD_TREENODE.xml
---
(0038763)
jonalegriaesarte   
2011-07-05 11:12   
Not fixed, but the target version has been modified to MP2
(0038845)
hudsonbot   
2011-07-06 02:42   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f1c481b1a146 [^]

Maturity status: Test
(0039762)
jonalegriaesarte   
2011-08-02 10:32   
Changed severity to minor
(0040331)
jonalegriaesarte   
2011-08-18 17:35   
This issue does not need changes. The complete process must be reviewed as a feature request.