OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Comparer les révisions

Ignorer les espaces blanc Révision 159 → Révision 160

/trunk/Modules/Module Lead/src/org/openconcerto/modules/customerrelationship/lead/SQLElementNames_en.xml
Fichier supprimé
/trunk/Modules/Module Lead/src/org/openconcerto/modules/customerrelationship/lead/SQLElementNames_fr.xml
Fichier supprimé
/trunk/Modules/Module Lead/src/org/openconcerto/modules/customerrelationship/lead/LeadSQLElement.java
27,9 → 27,7
import org.openconcerto.sql.model.SQLTable;
import org.openconcerto.sql.model.Where;
import org.openconcerto.sql.model.graph.Path;
import org.openconcerto.sql.users.User;
import org.openconcerto.sql.users.UserManager;
import org.openconcerto.sql.users.rights.UserRights;
import org.openconcerto.sql.users.rights.UserRightsManager;
import org.openconcerto.sql.view.EditFrame;
import org.openconcerto.sql.view.EditPanel.EditMode;
54,7 → 52,6
 
public LeadSQLElement(final AbstractModule module) {
super(module, Module.TABLE_LEAD);
this.setL18nLocation(LeadSQLElement.class);
 
// Call
final RowAction.PredicateRowAction addCallAction = new RowAction.PredicateRowAction(new AbstractAction("Appeler") {
/trunk/Modules/Module Lead/src/org/openconcerto/modules/customerrelationship/lead/labels_fr.xml
1,6 → 1,6
<?xml version="1.0" encoding="UTF-8" ?>
<ROOT>
<TABLE name="LEAD">
<element refid="customerrelationship.lead" nameClass="masculine" name="prospect">
<FIELD name="DISPO" label="Disponibilité" />
<FIELD name="REMIND_DATE" label="Date de rappel" />
<FIELD name="ROLE" label="Fonction" />
27,42 → 27,65
<FIELD name="ID_COMMERCIAL" label="Assigné à" titlelabel="Assigné à" />
<FIELD name="ID_CLIENT" label="Client" titlelabel="Client" />
<FIELD name="ID_TITRE_PERSONNEL" label="Civilité" titlelabel="Civilité" />
</TABLE>
</element>
 
<TABLE name="DEVIS">
<FIELD name="REMIND_DATE" label="Date de rappel" />
</TABLE>
 
<TABLE name="LEAD_CALL">
 
<element refid="org.openconcerto.modules.customerrelationship.lead/LEAD_CALL" nameClass="masculine"
name="rapport d'appel prospect" namePlural="rapports d'appel prospect">
<FIELD name="DATE" label="Date de l'appel" />
<FIELD name="ID_LEAD" label="Entreprise" />
<FIELD name="INFORMATION" label="Résumé de l'appel" />
<FIELD name="NEXTCONTACT_DATE" label="Date de prochain contact" />
<FIELD name="NEXTCONTACT_INFO" label="Motif de prochain contact" />
</TABLE>
<TABLE name="CUSTOMER_CALL">
</element>
<element refid="org.openconcerto.modules.customerrelationship.lead/LEAD_CALL_SERVICE" nameClass="masculine"
name="service associé à un rapport d'appel prospect" namePlural="services associés à des rapports d'appel prospect">
</element>
<element refid="org.openconcerto.modules.customerrelationship.lead/CUSTOMER_CALL" nameClass="masculine"
name="rapport d'appel client" namePlural="rapports d'appel client">
<FIELD name="DATE" label="Date de l'appel" />
<FIELD name="ID_CLIENT" label="Client" />
<FIELD name="INFORMATION" label="Résumé de l'appel" />
<FIELD name="NEXTCONTACT_DATE" label="Date de prochain contact" />
<FIELD name="NEXTCONTACT_INFO" label="Motif de prochain contact" />
</TABLE>
<TABLE name="LEAD_VISIT">
</element>
<element refid="org.openconcerto.modules.customerrelationship.lead/CUSTOMER_CALL_SERVICE" nameClass="masculine"
name="service associé à un rapport d'appel client" namePlural="services associés à des rapports d'appel client">
</element>
 
<element refid="org.openconcerto.modules.customerrelationship.lead/LEAD_VISIT" nameClass="masculine"
name="rapport de visite prospect" namePlural="rapports de visite prospect">
<FIELD name="DATE" label="Date de visite" />
<FIELD name="ID_LEAD" label="Entreprise" />
<FIELD name="INFORMATION" label="Compte rendu de visite" />
<FIELD name="NEXTCONTACT_DATE" label="Date de prochain contact" />
<FIELD name="NEXTCONTACT_INFO" label="Motif de prochain contact" />
</TABLE>
<TABLE name="CUSTOMER_VISIT">
</element>
<element refid="org.openconcerto.modules.customerrelationship.lead/LEAD_VISIT_SERVICE" nameClass="masculine"
name="service associé à un rapport de visite prospect"
namePlural="services associés à des rapports de visite prospect">
</element>
 
<element refid="org.openconcerto.modules.customerrelationship.lead/CUSTOMER_VISIT" nameClass="masculine"
name="rapport de visite client" namePlural="rapports de visite client">
<FIELD name="DATE" label="Date de visite" />
<FIELD name="ID_CLIENT" label="Client" />
<FIELD name="INFORMATION" label="Compte rendu de visite" />
<FIELD name="NEXTCONTACT_DATE" label="Date de prochain contact" />
<FIELD name="NEXTCONTACT_INFO" label="Motif de prochain contact" />
</TABLE>
<TABLE name="SERVICE">
</element>
<element refid="org.openconcerto.modules.customerrelationship.lead/CUSTOMER_VISIT_SERVICE"
nameClass="masculine" name="service associé à un rapport de visite client"
namePlural="services associés à des rapports de visite client">
</element>
 
<element refid="org.openconcerto.modules.customerrelationship.lead/SERVICE" nameClass="masculine"
name="service">
<FIELD name="NAME" label="Libellé" />
</TABLE>
</element>
 
</ROOT>
/trunk/Modules/Module Lead/src/org/openconcerto/modules/customerrelationship/lead/Module.java
14,7 → 14,6
 
import org.openconcerto.erp.action.CreateFrameAbstractAction;
import org.openconcerto.erp.config.ComptaPropsConfiguration;
import org.openconcerto.erp.config.Gestion;
import org.openconcerto.erp.config.MainFrame;
import org.openconcerto.erp.modules.AbstractModule;
import org.openconcerto.erp.modules.ComponentsContext;
21,9 → 20,6
import org.openconcerto.erp.modules.DBContext;
import org.openconcerto.erp.modules.MenuContext;
import org.openconcerto.erp.modules.ModuleFactory;
import org.openconcerto.erp.modules.ModuleManager;
import org.openconcerto.erp.modules.ModulePackager;
import org.openconcerto.erp.modules.RuntimeModuleFactory;
import org.openconcerto.modules.customerrelationship.lead.call.CustomerCallSQLElement;
import org.openconcerto.modules.customerrelationship.lead.call.CustomerCallServiceSQLElement;
import org.openconcerto.modules.customerrelationship.lead.call.LeadCallSQLElement;
40,11 → 36,9
import org.openconcerto.sql.model.ConnectionHandlerNoSetup;
import org.openconcerto.sql.model.DBRoot;
import org.openconcerto.sql.model.SQLDataSource;
import org.openconcerto.sql.model.SQLRequestLog;
import org.openconcerto.sql.model.SQLRow;
import org.openconcerto.sql.model.SQLRowValues;
import org.openconcerto.sql.model.SQLTable;
import org.openconcerto.sql.ui.ConnexionPanel;
import org.openconcerto.sql.utils.SQLCreateTable;
import org.openconcerto.sql.utils.SQLUtils;
import org.openconcerto.sql.view.EditFrame;
311,20 → 305,4
protected void stop() {
}
 
public static void main(String[] args) throws IOException {
System.setProperty(ConnexionPanel.QUICK_LOGIN, "true");
final File propsFile = new File("module.properties");
System.out.println(propsFile.getAbsolutePath());
final ModuleFactory factory = new RuntimeModuleFactory(propsFile);
SQLRequestLog.setEnabled(true);
SQLRequestLog.showFrame();
// uncomment to create and use the jar
final ModulePackager modulePackager = new ModulePackager(propsFile, new File("bin/"));
modulePackager.writeToDir(new File("../OpenConcerto/Modules"));
// final ModuleFactory factory = new JarModuleFactory(jar);
ModuleManager.getInstance().addFactories(new File("../OpenConcerto/Modules"));
ModuleManager.getInstance().addFactoryAndStart(factory, false);
Gestion.main(args);
}
 
}