Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015100Openbravo ERP01. General setuppublic2010-11-02 16:082011-08-22 10:06
dalsasua 
jonalegriaesarte 
urgentmajoralways
scheduledopen 
20Ubuntu 9.04
pi 
 
Core
No
0015100: Initial Setup Data dataset must be allowed to be included more than once in a client
Nowadays, the Initial Setup Data dataset can only be applied to one organization of the same client. The reason is that GL_Category table has got a unique constraint on ad_client_id and name columns.
Is it possible to include ad_org_id in that constraint??
Divide current dataset into two different ones:

- At a system level the document categories.
- At a client level the current one, excluding the document categories.
No tags attached.
related to backport 0015054 closed mirurita The dataset from core used in initial client setup is available when your client was created before add this dataset 
? diff (127,389) 2011-08-22 10:05
https://issues.openbravo.com/file_download.php?file_id=4465&type=bug
Issue History
2010-11-02 16:08dalsasuaNew Issue
2010-11-02 16:08dalsasuaAssigned To => eduardo_Argal
2010-11-02 16:08dalsasuaRelationship addedrelated to 0015054
2010-11-08 18:51dalsasuaStatusnew => scheduled
2010-11-08 18:51dalsasuaAssigned Toeduardo_Argal => dalsasua
2010-11-08 18:51dalsasuafix_in_branch => pi
2010-11-08 18:52dalsasuafix_in_branchpi =>
2010-11-08 18:52dalsasuaProposed Solution updated
2011-07-20 18:17dalsasuaAssigned Todalsasua => jonalegriaesarte
2011-08-22 10:05dalsasuaFile Added: diff
2011-08-22 10:06dalsasuaNote Added: 0040374

Notes
(0040374)
dalsasua   
2011-08-22 10:06   
Attached a diff with proposed solution.

Compilation fails due to a check in the import.sample.data, due to the sub-classes in the module scripts and/or build validations.