Fix: Missing triggers for suppliers invoices
This commit is contained in:
parent
9626a1bc4f
commit
e731e7414e
@ -47,11 +47,12 @@ $eventstolog=array(
|
|||||||
array('id'=>'ORDER_SENTBYMAIL', 'test'=>$conf->commande->enabled),
|
array('id'=>'ORDER_SENTBYMAIL', 'test'=>$conf->commande->enabled),
|
||||||
array('id'=>'BILL_VALIDATE', 'test'=>$conf->facture->enabled),
|
array('id'=>'BILL_VALIDATE', 'test'=>$conf->facture->enabled),
|
||||||
array('id'=>'BILL_PAYED', 'test'=>$conf->facture->enabled),
|
array('id'=>'BILL_PAYED', 'test'=>$conf->facture->enabled),
|
||||||
array('id'=>'BILL_CANCELED', 'test'=>$conf->facture->enabled),
|
array('id'=>'BILL_CANCEL', 'test'=>$conf->facture->enabled),
|
||||||
array('id'=>'BILL_SENTBYMAIL', 'test'=>$conf->facture->enabled),
|
array('id'=>'BILL_SENTBYMAIL', 'test'=>$conf->facture->enabled),
|
||||||
array('id'=>'FICHEINTER_VALIDATE', 'test'=>$conf->ficheinter->enabled),
|
array('id'=>'FICHEINTER_VALIDATE', 'test'=>$conf->ficheinter->enabled),
|
||||||
array('id'=>'ORDER_SUPPLIER_VALIDATE','test'=>$conf->fournisseur->enabled),
|
array('id'=>'ORDER_SUPPLIER_VALIDATE','test'=>$conf->fournisseur->enabled),
|
||||||
array('id'=>'BILL_SUPPLIER_VALIDATE', 'test'=>$conf->fournisseur->enabled),
|
array('id'=>'BILL_SUPPLIER_VALIDATE', 'test'=>$conf->fournisseur->enabled),
|
||||||
|
array('id'=>'BILL_SUPPLIER_PAYED', 'test'=>$conf->fournisseur->enabled),
|
||||||
// array('id'=>'PAYMENT_CUSTOMER_CREATE','test'=>$conf->facture->enabled),
|
// array('id'=>'PAYMENT_CUSTOMER_CREATE','test'=>$conf->facture->enabled),
|
||||||
// array('id'=>'PAYMENT_SUPPLIER_CREATE','test'=>$conf->fournisseur->enabled),
|
// array('id'=>'PAYMENT_SUPPLIER_CREATE','test'=>$conf->fournisseur->enabled),
|
||||||
array('id'=>'MEMBER_VALIDATE', 'test'=>$conf->adherent->enabled),
|
array('id'=>'MEMBER_VALIDATE', 'test'=>$conf->adherent->enabled),
|
||||||
|
|||||||
@ -61,7 +61,7 @@ $eventstolog=array(
|
|||||||
array('id'=>'ORDER_SENTBYMAIL', 'test'=>$conf->commande->enabled),
|
array('id'=>'ORDER_SENTBYMAIL', 'test'=>$conf->commande->enabled),
|
||||||
array('id'=>'BILL_VALIDATE', 'test'=>$conf->facture->enabled),
|
array('id'=>'BILL_VALIDATE', 'test'=>$conf->facture->enabled),
|
||||||
array('id'=>'BILL_PAYED', 'test'=>$conf->facture->enabled),
|
array('id'=>'BILL_PAYED', 'test'=>$conf->facture->enabled),
|
||||||
array('id'=>'BILL_CANCELED', 'test'=>$conf->facture->enabled),
|
array('id'=>'BILL_CANCEL', 'test'=>$conf->facture->enabled),
|
||||||
array('id'=>'BILL_SENTBYMAIL', 'test'=>$conf->facture->enabled),
|
array('id'=>'BILL_SENTBYMAIL', 'test'=>$conf->facture->enabled),
|
||||||
array('id'=>'PAYMENT_CUSTOMER_CREATE','test'=>$conf->facture->enabled),
|
array('id'=>'PAYMENT_CUSTOMER_CREATE','test'=>$conf->facture->enabled),
|
||||||
array('id'=>'PAYMENT_SUPPLIER_CREATE','test'=>$conf->fournisseur->enabled),
|
array('id'=>'PAYMENT_SUPPLIER_CREATE','test'=>$conf->fournisseur->enabled),
|
||||||
|
|||||||
@ -1232,7 +1232,7 @@ class Facture extends CommonObject
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Tag la facture comme abandonnee, sans paiement dessus (exemple car facture de remplacement) + appel trigger BILL_CANCELED
|
* \brief Tag la facture comme abandonnee, sans paiement dessus (exemple car facture de remplacement) + appel trigger BILL_CANCEL
|
||||||
* \param user Objet utilisateur qui modifie
|
* \param user Objet utilisateur qui modifie
|
||||||
* \param close_code Code de fermeture
|
* \param close_code Code de fermeture
|
||||||
* \param close_note Commentaire de fermeture
|
* \param close_note Commentaire de fermeture
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user