OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 73 Rev 132
Line 42... Line 42...
42
        super(row);
42
        super(row);
43
        this.printer = PrinterNXProps.getInstance().getStringProperty("CmdPrinter");
43
        this.printer = PrinterNXProps.getInstance().getStringProperty("CmdPrinter");
44
        this.elt = Configuration.getInstance().getDirectory().getElement("COMMANDE");
44
        this.elt = Configuration.getInstance().getDirectory().getElement("COMMANDE");
45
        MetaDataSheet meta = new MetaDataSheet();
45
        MetaDataSheet meta = new MetaDataSheet();
46
        SQLRow foreign = this.row.getForeign("ID_FOURNISSEUR");
46
        SQLRow foreign = this.row.getForeign("ID_FOURNISSEUR");
47
        if (foreign != null && !foreign.isUndefined())
47
        if (foreign != null && !foreign.isUndefined()) {
48
            meta.setKeywords(Arrays.asList(foreign.getString("NOM")));
48
            meta.setKeywords(Arrays.asList(foreign.getString("NOM")));
-
 
49
            this.setMetaGeneration(meta);
-
 
50
        }
49
    }
51
    }
50
 
52
 
51
    @Override
53
    @Override
52
    public String getDefaultTemplateId() {
54
    public String getDefaultTemplateId() {
53
        return TEMPLATE_ID;
55
        return TEMPLATE_ID;