OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 142 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 142 Rev 177
Line 327... Line 327...
327
        this.addSQLObject(this.textSource, "SOURCE");
327
        this.addSQLObject(this.textSource, "SOURCE");
328
        this.addRequiredSQLObject(compteSel, "ID_COMPTE_PCE");
328
        this.addRequiredSQLObject(compteSel, "ID_COMPTE_PCE");
329
        this.addSQLObject(this.comboAvoir, "ID_AVOIR_FOURNISSEUR");
329
        this.addSQLObject(this.comboAvoir, "ID_AVOIR_FOURNISSEUR");
330
        this.addSQLObject(this.checkImmo, "IMMO");
330
        this.addSQLObject(this.checkImmo, "IMMO");
331
 
331
 
332
        this.montant.setChoixTaxe(TaxeCache.getCache().getFirstTaxe().getID());
332
        this.montant.setChoixTaxe(TaxeCache.getCache().getFirstTaxeAchat().getID());
333
 
333
 
334
        this.nomFournisseur.addModelListener("wantedID", this.listenerModeReglDefaut);
334
        this.nomFournisseur.addModelListener("wantedID", this.listenerModeReglDefaut);
335
 
335
 
336
        this.montant.getMontantTTC().getDocument().addDocumentListener(new SimpleDocumentListener() {
336
        this.montant.getMontantTTC().getDocument().addDocumentListener(new SimpleDocumentListener() {
337
            @Override
337
            @Override
Line 494... Line 494...
494
            } catch (Exception e) {
494
            } catch (Exception e) {
495
                e.printStackTrace();
495
                e.printStackTrace();
496
            }
496
            }
497
        }
497
        }
498
        vals.put("ID_COMPTE_PCE", idCompteAchat);
498
        vals.put("ID_COMPTE_PCE", idCompteAchat);
499
        vals.put("ID_TAXE", TaxeCache.getCache().getFirstTaxe().getID());
499
        vals.put("ID_TAXE", TaxeCache.getCache().getFirstTaxeAchat().getID());
500
 
500
 
501
        return vals;
501
        return vals;
502
    }
502
    }
503
 
503
 
504
    public void update() {
504
    public void update() {