Fix trigger to insert lines where called when inserting line but also
when cloning parent object, making no way to know when to use them or not. I introduced a context to allow code to know that and do not triggers twice.
Showing
- htdocs/comm/mailing/class/mailing.class.php 27 additions, 23 deletionshtdocs/comm/mailing/class/mailing.class.php
- htdocs/comm/propal/class/propal.class.php 6 additions, 0 deletionshtdocs/comm/propal/class/propal.class.php
- htdocs/commande/class/commande.class.php 4 additions, 0 deletionshtdocs/commande/class/commande.class.php
- htdocs/compta/bank/class/bankcateg.class.php 5 additions, 1 deletionhtdocs/compta/bank/class/bankcateg.class.php
- htdocs/compta/facture/class/facture.class.php 4 additions, 0 deletionshtdocs/compta/facture/class/facture.class.php
- htdocs/compta/facture/class/paymentterm.class.php 5 additions, 0 deletionshtdocs/compta/facture/class/paymentterm.class.php
- htdocs/compta/sociales/class/paymentsocialcontribution.class.php 4 additions, 0 deletions...compta/sociales/class/paymentsocialcontribution.class.php
- htdocs/core/class/commonobject.class.php 1 addition, 0 deletionshtdocs/core/class/commonobject.class.php
- htdocs/cron/class/cronjob.class.php 4 additions, 0 deletionshtdocs/cron/class/cronjob.class.php
- htdocs/fourn/class/fournisseur.commande.class.php 6 additions, 2 deletionshtdocs/fourn/class/fournisseur.commande.class.php
- htdocs/fourn/class/fournisseur.facture.class.php 5 additions, 1 deletionhtdocs/fourn/class/fournisseur.facture.class.php
- htdocs/product/class/productbatch.class.php 5 additions, 1 deletionhtdocs/product/class/productbatch.class.php
- htdocs/product/class/productcustomerprice.class.php 101 additions, 97 deletionshtdocs/product/class/productcustomerprice.class.php
- htdocs/projet/class/project.class.php 9 additions, 13 deletionshtdocs/projet/class/project.class.php
- htdocs/projet/class/task.class.php 10 additions, 11 deletionshtdocs/projet/class/task.class.php
Loading
Please register or sign in to comment