Commit Graph

121 Commits

Author SHA1 Message Date
Laurent Destailleur
7a0206adce FIX Missing to set context into workflow actions, so triggers can't know
we are creating an invoice from order or an order from a proposal.
2015-11-08 14:37:50 +01:00
Laurent Destailleur
0187a9a4ee Merge pull request #2511 from fappels/3.7
FIX: dispatch batch products
2015-04-02 11:24:01 +02:00
Laurent Destailleur
16a620f926 Fix: Deadlock situation (when order were canceled, no way to make
nothing on it)
Fix: Don't know how I forgot this events into trigger system.
2015-04-01 16:07:22 +02:00
Francis Appels
bba8b206a1 FIX: dispatch batch products
Fix dispatching batch products and add error message.
Make DispatchProduct method backwards comp and add missing $trigger.
Add missing ORDER_SUPPLIER_DISPATCH trigger to demo class.
2015-03-31 15:48:08 +02:00
Laurent Destailleur
cf6a0df3e4 A lot of fix in missing intervention trigger. Align key to use same name
to avoid future bugs.
2014-11-03 17:23:02 +01:00
Laurent Destailleur
155452ba91 Fix: Proposal deadlock situation
New: Add missing trigger PROPAL_CLASSIFYBILLED.
2014-11-03 16:20:55 +01:00
Laurent Destailleur
5086450f35 Fix: Forging email content must use dol_concatdesc. 2014-11-02 12:32:38 +01:00
Laurent Destailleur
9c51effe5c Ajout plus d'info dans description audit. 2014-10-31 15:42:35 +01:00
Laurent Destailleur
6f77dc83c4 Qual: Uniformize code and fix a ton of bugs. 2014-10-27 03:24:45 +01:00
Laurent Destailleur
0fc1c85b34 New: Module notification has been enhanced:
EMail use now language of target contact.
Can also define a fixed email for notifications.
Better error management
2014-10-25 00:42:52 +02:00
Laurent Destailleur
0fba70d4d1 Fix: Triggers sending email for intervention and classify billed 2014-10-20 11:35:34 +02:00
Laurent Destailleur
718b3b19b4 Fix: user and date modification not updated 2014-10-20 11:16:51 +02:00
Laurent Destailleur
2800faffa8 Fix: File names must be in lowercase.
Fix: Missing includes.
2014-10-11 18:27:30 +02:00
Laurent Destailleur
cd8936a224 Clean deprecated code. 2014-10-11 15:04:42 +02:00
Laurent Destailleur
97eec37f1c Uniformize code: property "nom" for thirdparty is aliased into "name"
everywhere.
2014-10-04 17:20:17 +02:00
Laurent Destailleur
e3fede595f Removed all triggers _BUILDOC. Building a document is not a business
status change but a technical action. So hooks must be used instead.


Merge branch '3.6-patch' of github.com:aspangaro/dolibarr into
aspangaro-3.6-patch

Conflicts:
	htdocs/core/modules/project/modules_project.php
	htdocs/core/triggers/interface_90_all_Demo.class.php-NORUN
2014-08-22 00:01:53 +02:00
Regis Houssin
68aca6f2bb Fix: project builddoc trigger is used now 2014-08-18 08:40:35 +02:00
Regis Houssin
967991f31a Fix: project builddoc trigger is used now 2014-08-18 08:36:58 +02:00
Laurent Destailleur
7d3c266a1d Merge remote-tracking branch 'origin/3.6' into develop
Conflicts:
	htdocs/admin/agenda_other.php
	htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php
	htdocs/install/mysql/migration/repair.sql
2014-08-04 00:02:00 +02:00
Laurent Destailleur
86b2887d44 Merge remote-tracking branch 'origin/3.5' into 3.6 2014-08-03 23:54:05 +02:00
Laurent Destailleur
9fb11cd13b Fix: Action created by triggers does not saved owner of action. 2014-08-03 23:20:32 +02:00
Laurent Destailleur
bb8ec0c8f9 Fix: Too many parameter 2014-08-01 14:26:13 +02:00
Laurent Destailleur
cfc337a79a Qual: Enable php checkstyle rule Zend.Files.ClosingTag
Fix: Solve a lot of checkstyle errors.
2014-07-20 15:27:38 +02:00
Marcos García de La Fuente
e2912b5f7f Accidentally removed Demo trigger content 2014-07-18 07:10:05 +02:00
Marcos García de La Fuente
5c59d291ce Corrected CS errors 2014-07-18 04:16:34 +02:00
Marcos García de La Fuente
f8f9e0355c Refactor InterfaceActionsAuto 2014-07-18 04:10:43 +02:00
Marcos García de La Fuente
f7c1203d4c Refactored InterfaceNotification class 2014-07-18 03:29:20 +02:00
Marcos García de La Fuente
cbd10106b8 Added missing $error and $errors variables 2014-07-18 03:17:05 +02:00
Marcos García de La Fuente
dfd8b5e20c Converted some global variables to local ones in InterfaceLogevents 2014-07-18 03:11:28 +02:00
Marcos García de La Fuente
c11431177c Fixed trigger not returning anything under some circumstances 2014-07-18 03:04:01 +02:00
Marcos García de La Fuente
2f68afaff3 Removed useless code 2014-07-18 03:02:28 +02:00
Marcos García de La Fuente
c8338f45c4 Refactored Dolibarr triggers:
Created a DolibarrTriggers abstract class.
Moved common variables out of construct class
Improved run_trigger method signature
2014-07-18 02:59:46 +02:00
Marcos García de La Fuente
ec661d0c6c Removed index.php and replaced them with blank index.html as it is more appropriate 2014-07-12 23:18:57 +02:00
KreizIT
9c2aaf7d23 [ Task #1495 ] Add trigger LINECONTRACT_CREATE 2014-07-12 00:27:33 +02:00
Laurent Destailleur
5c81074483 Merge pull request #1709 from KreizIT/review_trig2
Review trig2
2014-07-11 12:27:43 +02:00
Laurent Destailleur
ce3fa14511 New: Add event FICHINTER_CLASSIFY_BILLED into list of possible events to
create an automatic event into agenda.
Qual: Removed hard coded rowid into data init.
2014-07-06 19:25:15 +02:00
KreizIT
c5bb55064f Fix: [ bug #1469 ] Triggers CONTACT_MODIFY and CONTACT_DELETE duplicates error message 2014-07-04 17:10:19 +02:00
KreizIT
e4ad082214 Fix: [ bug #1506, #1507 ] ECM trigger error problem 2014-07-04 16:39:54 +02:00
KreizIT
4666de85e2 Fix: [ bug #1508 ] STOCK_MOVEMENT does not show trigger error message 2014-07-04 16:18:54 +02:00
KreizIT
012fc4e8fe Fix: [ bug #1465, #1466 ] Product triggers problem 2014-07-04 15:54:20 +02:00
Laurent Destailleur
be4fe3d0d0 Merge branch 'syslog' of github.com:marcosgdf/dolibarr into
marcosgdf-syslog

Conflicts:
	htdocs/contrat/class/contrat.class.php
	htdocs/fichinter/class/fichinter.class.php
	htdocs/projet/class/project.class.php
	htdocs/projet/class/task.class.php
2014-07-04 13:43:50 +02:00
KreizIT
023e7ce8ce FIX : [ bug #1502 ] DON_CREATE trigger does not intercept trigger action
- Add DON_CREATE in interface_90_all
- Add new trigger DON_UPDATE, DON_DELETE
2014-07-03 16:04:12 +02:00
KreizIT
538cf90f5e FIX : [ bug #1496 ] ACTION_DELETE trigger does not show trigger error
-Add ACTION_* trigger in interface_90_all
2014-07-03 15:39:40 +02:00
Marcos García de La Fuente
7e1cf124b8 Merge branch 'develop' into syslog
Conflicts:
	htdocs/commande/class/commande.class.php
	htdocs/compta/facture/class/facture.class.php
	htdocs/core/class/commonobject.class.php
	htdocs/fourn/class/fournisseur.commande.class.php
	htdocs/product/class/product.class.php
	htdocs/product/stock/lib/replenishment.lib.php
	htdocs/societe/soc.php
2014-07-02 21:20:02 +02:00
Laurent Destailleur
71ee974ddb Merge remote-tracking branch 'origin/3.5' into 3.6
Conflicts:
	htdocs/fourn/class/fournisseur.commande.class.php
2014-06-28 14:53:28 +02:00
Cedric
ee91f4a3f7 FIX : #1477, #1478, #1479 2014-06-25 13:37:55 +02:00
Cedric
e21e4dbf11 - FIX #1482 #1484 #1486
- Add missing triggers in interface_90
2014-06-24 11:49:53 +02:00
Cedric
0c382ef97e Remove failure test on trigger 2014-06-24 10:55:21 +02:00
Cedric
00779dd8fa FIX #1460, #1461 2014-06-24 10:53:18 +02:00
Marcos García de La Fuente
9fbd7806f0 More substitutions 2014-06-12 11:31:53 +02:00