OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 149 Rev 151
Line 100... Line 100...
100
import org.openconcerto.erp.core.sales.invoice.action.GenReportingVenteAction;
100
import org.openconcerto.erp.core.sales.invoice.action.GenReportingVenteAction;
101
import org.openconcerto.erp.core.sales.invoice.action.ListeDebiteursAction;
101
import org.openconcerto.erp.core.sales.invoice.action.ListeDebiteursAction;
102
import org.openconcerto.erp.core.sales.invoice.action.ListeDesElementsFactureAction;
102
import org.openconcerto.erp.core.sales.invoice.action.ListeDesElementsFactureAction;
103
import org.openconcerto.erp.core.sales.invoice.action.ListeDesFactureItemsAction;
103
import org.openconcerto.erp.core.sales.invoice.action.ListeDesFactureItemsAction;
104
import org.openconcerto.erp.core.sales.invoice.action.ListeDesVentesAction;
104
import org.openconcerto.erp.core.sales.invoice.action.ListeDesVentesAction;
-
 
105
import org.openconcerto.erp.core.sales.invoice.action.ListeSDDMessageAction;
105
import org.openconcerto.erp.core.sales.invoice.action.ListeSaisieVenteFactureAction;
106
import org.openconcerto.erp.core.sales.invoice.action.ListeSaisieVenteFactureAction;
106
import org.openconcerto.erp.core.sales.invoice.action.ListesFacturesClientsImpayeesAction;
107
import org.openconcerto.erp.core.sales.invoice.action.ListesFacturesClientsImpayeesAction;
107
import org.openconcerto.erp.core.sales.invoice.action.NouveauSaisieVenteComptoirAction;
108
import org.openconcerto.erp.core.sales.invoice.action.NouveauSaisieVenteComptoirAction;
108
import org.openconcerto.erp.core.sales.invoice.action.NouveauSaisieVenteFactureAction;
109
import org.openconcerto.erp.core.sales.invoice.action.NouveauSaisieVenteFactureAction;
109
import org.openconcerto.erp.core.sales.order.action.ListeDesCommandesClientAction;
110
import org.openconcerto.erp.core.sales.order.action.ListeDesCommandesClientAction;
-
 
111
import org.openconcerto.erp.core.sales.order.action.ListeDesCommandesClientItemsAction;
110
import org.openconcerto.erp.core.sales.order.action.ListeDesElementsACommanderClientAction;
112
import org.openconcerto.erp.core.sales.order.action.ListeDesElementsACommanderClientAction;
111
import org.openconcerto.erp.core.sales.order.action.ListeDesFacturationCommandesClientAction;
113
import org.openconcerto.erp.core.sales.order.action.ListeDesFacturationCommandesClientAction;
112
import org.openconcerto.erp.core.sales.order.action.NouvelleCommandeClientAction;
114
import org.openconcerto.erp.core.sales.order.action.NouvelleCommandeClientAction;
113
import org.openconcerto.erp.core.sales.pos.action.ListeDesCaissesTicketAction;
115
import org.openconcerto.erp.core.sales.pos.action.ListeDesCaissesTicketAction;
114
import org.openconcerto.erp.core.sales.product.action.FamilleArticleAction;
116
import org.openconcerto.erp.core.sales.product.action.FamilleArticleAction;
Line 369... Line 371...
369
            gCustomer.addItem("customer.dept.list");
371
            gCustomer.addItem("customer.dept.list");
370
            gCustomer.addItem("customer.payment.list");
372
            gCustomer.addItem("customer.payment.list");
371
            gCustomer.addItem("customer.payment.followup.list");
373
            gCustomer.addItem("customer.payment.followup.list");
372
            gCustomer.addItem("customer.payment.check.pending.list");
374
            gCustomer.addItem("customer.payment.check.pending.list");
373
            gCustomer.addItem("customer.payment.check.pending.create");
375
            gCustomer.addItem("customer.payment.check.pending.create");
-
 
376
            gCustomer.addItem("customer.payment.sddMessage.list");
374
            gCustomer.addItem("customer.credit.check.list");
377
            gCustomer.addItem("customer.credit.check.list");
375
            gCustomer.addItem("customer.credit.check.create");
378
            gCustomer.addItem("customer.credit.check.create");
376
            group.add(gCustomer);
379
            group.add(gCustomer);
377
        }
380
        }
378
        if (rights.haveRight(NXRights.LOCK_MENU_ACHAT.getCode())) {
381
        if (rights.haveRight(NXRights.LOCK_MENU_ACHAT.getCode())) {
Line 470... Line 473...
470
            gCustomer.addItem("customer.quote.list");
473
            gCustomer.addItem("customer.quote.list");
471
 
474
 
472
 
475
 
473
            gCustomer.addItem("customer.order.list");
476
            gCustomer.addItem("customer.order.list");
474
            gCustomer.addItem("customer.order.invoice.list");
477
            gCustomer.addItem("customer.order.invoice.list");
-
 
478
            gCustomer.addItem("customer.order.list.details");
475
            gCustomer.addItem("customer.delivery.list");
479
            gCustomer.addItem("customer.delivery.list");
476
            if (configuration.getRootSociete().contains("RELIQUAT_BR")) {
480
            if (configuration.getRootSociete().contains("RELIQUAT_BR")) {
477
                gCustomer.addItem("customer.delivery.reliquat.list");
481
                gCustomer.addItem("customer.delivery.reliquat.list");
478
            }
482
            }
479
        group.add(gCustomer);
483
        group.add(gCustomer);
Line 604... Line 608...
604
            mManager.putAction(new ListeDesDevisAction(), "customer.quote.list");
608
            mManager.putAction(new ListeDesDevisAction(), "customer.quote.list");
605
 
609
 
606
 
610
 
607
            mManager.putAction(new ListeDesCommandesClientAction(), "customer.order.list");
611
            mManager.putAction(new ListeDesCommandesClientAction(), "customer.order.list");
608
            mManager.putAction(new ListeDesFacturationCommandesClientAction(), "customer.order.invoice.list");
612
            mManager.putAction(new ListeDesFacturationCommandesClientAction(), "customer.order.invoice.list");
-
 
613
            mManager.putAction(new ListeDesCommandesClientItemsAction(), "customer.order.list.details");
609
            mManager.putAction(new ListeDesBonsDeLivraisonAction(), "customer.delivery.list");
614
            mManager.putAction(new ListeDesBonsDeLivraisonAction(), "customer.delivery.list");
610
            if (configuration.getRootSociete().contains("RELIQUAT_BL")) {
615
            if (configuration.getRootSociete().contains("RELIQUAT_BL")) {
611
                mManager.registerAction("customer.delivery.reliquat.list", new ListeDesReliquatsBonsLivraisonsAction());
616
                mManager.registerAction("customer.delivery.reliquat.list", new ListeDesReliquatsBonsLivraisonsAction());
612
            }
617
            }
613
 
618
 
Line 728... Line 733...
728
            mManager.putAction(new ListeDebiteursAction(), "customer.dept.list");
733
            mManager.putAction(new ListeDebiteursAction(), "customer.dept.list");
729
            mManager.putAction(new ListeDesEncaissementsAction(), "customer.payment.list");
734
            mManager.putAction(new ListeDesEncaissementsAction(), "customer.payment.list");
730
            mManager.putAction(new ListeDesRelancesAction(), "customer.payment.followup.list");
735
            mManager.putAction(new ListeDesRelancesAction(), "customer.payment.followup.list");
731
            mManager.putAction(new ListeDesChequesAEncaisserAction(), "customer.payment.check.pending.list");
736
            mManager.putAction(new ListeDesChequesAEncaisserAction(), "customer.payment.check.pending.list");
732
            mManager.putAction(new NouveauListeDesChequesAEncaisserAction(), "customer.payment.check.pending.create");
737
            mManager.putAction(new NouveauListeDesChequesAEncaisserAction(), "customer.payment.check.pending.create");
-
 
738
            mManager.putAction(new ListeSDDMessageAction(configuration.getDirectory()), "customer.payment.sddMessage.list");
733
            mManager.putAction(new ListeDesChequesAvoirAction(), "customer.credit.check.list");
739
            mManager.putAction(new ListeDesChequesAvoirAction(), "customer.credit.check.list");
734
            mManager.putAction(new NouveauDecaissementChequeAvoirAction(), "customer.credit.check.create");
740
            mManager.putAction(new NouveauDecaissementChequeAvoirAction(), "customer.credit.check.create");
735
        }
741
        }
736
        if (rights.haveRight(NXRights.LOCK_MENU_ACHAT.getCode())) {
742
        if (rights.haveRight(NXRights.LOCK_MENU_ACHAT.getCode())) {
737
            mManager.putAction(new ListesFacturesFournImpayeesAction(), "supplier.invoice.unpaid.list");
743
            mManager.putAction(new ListesFacturesFournImpayeesAction(), "supplier.invoice.unpaid.list");