OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 180 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 180 Rev 182
Line 1... Line 1...
1
/*
1
/*
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
 * 
3
 * 
4
 * Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
4
 * Copyright 2011-2019 OpenConcerto, by ILM Informatique. All rights reserved.
5
 * 
5
 * 
6
 * The contents of this file are subject to the terms of the GNU General Public License Version 3
6
 * The contents of this file are subject to the terms of the GNU General Public License Version 3
7
 * only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
7
 * only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
8
 * copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
8
 * copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
9
 * language governing permissions and limitations under the License.
9
 * language governing permissions and limitations under the License.
Line 29... Line 29...
29
import org.openconcerto.erp.element.objet.ClasseCompte;
29
import org.openconcerto.erp.element.objet.ClasseCompte;
30
import org.openconcerto.erp.modules.ModuleFrame;
30
import org.openconcerto.erp.modules.ModuleFrame;
31
import org.openconcerto.erp.modules.ModuleManager;
31
import org.openconcerto.erp.modules.ModuleManager;
32
import org.openconcerto.erp.panel.ComptaTipsFrame;
32
import org.openconcerto.erp.panel.ComptaTipsFrame;
33
import org.openconcerto.erp.preferences.GestionClientPreferencePanel;
33
import org.openconcerto.erp.preferences.GestionClientPreferencePanel;
-
 
34
import org.openconcerto.erp.rights.DepotStockViewRightEditor;
34
import org.openconcerto.erp.rights.GroupUIComboRightEditor;
35
import org.openconcerto.erp.rights.GroupUIComboRightEditor;
35
import org.openconcerto.erp.rights.MenuComboRightEditor;
36
import org.openconcerto.erp.rights.MenuComboRightEditor;
36
import org.openconcerto.erp.utils.NXDatabaseAccessor;
37
import org.openconcerto.erp.utils.NXDatabaseAccessor;
37
import org.openconcerto.map.model.Ville;
38
import org.openconcerto.map.model.Ville;
38
import org.openconcerto.sql.Configuration;
39
import org.openconcerto.sql.Configuration;
Line 195... Line 196...
195
                        @Override
196
                        @Override
196
                        public void run() {
197
                        public void run() {
197
                            MenuComboRightEditor.register();
198
                            MenuComboRightEditor.register();
198
                            GroupUIComboRightEditor.register();
199
                            GroupUIComboRightEditor.register();
199
                            SQLTableRightEditor.register();
200
                            SQLTableRightEditor.register();
-
 
201
                            DepotStockViewRightEditor.register();
200
                            // even for quick login, check the license before displaying the main
202
                            // even for quick login, check the license before displaying the main
201
                            // frame
203
                            // frame
202
 
204
 
-
 
205
 
203
                            MutableListComboPopupListener.setLockOverridable(rights.isSuperUser());
206
                            MutableListComboPopupListener.setLockOverridable(rights.isSuperUser());
204
 
207
 
205
                            StatusPanel.getInstance().fireStatusChanged();
208
                            StatusPanel.getInstance().fireStatusChanged();
206
                            final MainFrame f = new MainFrame(comptaPropsConfiguration);
209
                            final MainFrame f = new MainFrame(comptaPropsConfiguration);
207
                            String version = comptaPropsConfiguration.getVersion();
210
                            String version = comptaPropsConfiguration.getVersion();