OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 177 | Rev 182 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 177 Rev 180
Line 205... Line 205...
205
        final AcompteField acompteField = ((AcompteField) getEditor("sales.invoice.partial.amount"));
205
        final AcompteField acompteField = ((AcompteField) getEditor("sales.invoice.partial.amount"));
206
        listenerAcompteField = new SimpleDocumentListener() {
206
        listenerAcompteField = new SimpleDocumentListener() {
207
 
207
 
208
            @Override
208
            @Override
209
            public void update(DocumentEvent e) {
209
            public void update(DocumentEvent e) {
-
 
210
                if (!isFilling()) {
210
                Acompte a = acompteField.getValue();
211
                    Acompte a = acompteField.getValue();
211
                table.calculPourcentage(a, TypeCalcul.CALCUL_FACTURABLE);
212
                    table.calculPourcentage(a, TypeCalcul.CALCUL_FACTURABLE);
-
 
213
                }
212
            }
214
            }
213
 
215
 
214
        };
216
        };
215
        acompteField.getDocument().addDocumentListener(listenerAcompteField);
217
        acompteField.getDocument().addDocumentListener(listenerAcompteField);
216
 
218