Fix: Action event SHIPPING_VALIDATE is not implemented
This commit is contained in:
parent
4915ec8916
commit
7511f626b3
@ -29,6 +29,7 @@ Fix: user right on Holiday for month report nor working.
|
|||||||
Fix: [ bug #1250 ] "Supplier Ref. product" sidebar search box does not work
|
Fix: [ bug #1250 ] "Supplier Ref. product" sidebar search box does not work
|
||||||
Fix: Bad space in predefined messages.
|
Fix: Bad space in predefined messages.
|
||||||
Fix: Signature was not added for email sent from thirdparty page.
|
Fix: Signature was not added for email sent from thirdparty page.
|
||||||
|
Fix: Action event SHIPPING_VALIDATE is not implemented
|
||||||
|
|
||||||
***** ChangeLog for 3.5 compared to 3.4.* *****
|
***** ChangeLog for 3.5 compared to 3.4.* *****
|
||||||
For users:
|
For users:
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2005-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2005-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2009-2011 Regis Houssin <regis.houssin@capnetworks.com>
|
* Copyright (C) 2009-2011 Regis Houssin <regis.houssin@capnetworks.com>
|
||||||
* Copyright (C) 2011 Juanjo Menent <jmenent@2byte.es>
|
* Copyright (C) 2011-2013 Juanjo Menent <jmenent@2byte.es>
|
||||||
* Copyright (C) 2013 Cedric GROSS <c.gross@kreiz-it.fr>
|
* Copyright (C) 2013 Cedric GROSS <c.gross@kreiz-it.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -373,6 +373,25 @@ class InterfaceActionsAuto
|
|||||||
// Parameters $object->sendotid defined by caller
|
// Parameters $object->sendotid defined by caller
|
||||||
//$object->sendtoid=0;
|
//$object->sendtoid=0;
|
||||||
$ok=1;
|
$ok=1;
|
||||||
|
}
|
||||||
|
elseif ($action == 'SHIPPING_VALIDATE')
|
||||||
|
{
|
||||||
|
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
||||||
|
$langs->load("other");
|
||||||
|
$langs->load("sendings");
|
||||||
|
$langs->load("agenda");
|
||||||
|
|
||||||
|
$object->actiontypecode='AC_OTH_AUTO';
|
||||||
|
if (empty($object->actionmsg2)) $object->actionmsg2=$langs->transnoentities("ShippingValidated",$object->ref);
|
||||||
|
if (empty($object->actionmsg))
|
||||||
|
{
|
||||||
|
$object->actionmsg=$langs->transnoentities("ShippingValidated",$object->ref);
|
||||||
|
$object->actionmsg.="\n".$langs->transnoentities("Author").': '.$user->login;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Parameters $object->sendtoid defined by caller
|
||||||
|
//$object->sendtoid=0;
|
||||||
|
$ok=1;
|
||||||
}
|
}
|
||||||
elseif ($action == 'SHIPPING_SENTBYMAIL')
|
elseif ($action == 'SHIPPING_SENTBYMAIL')
|
||||||
{
|
{
|
||||||
|
|||||||
@ -52,6 +52,7 @@ InvoiceSentByEMail=Factura a client %s enviada per e-mail
|
|||||||
SupplierOrderSentByEMail=Comanda a proveïdor %s enviada per e-mail
|
SupplierOrderSentByEMail=Comanda a proveïdor %s enviada per e-mail
|
||||||
SupplierInvoiceSentByEMail=Factura de proveïdor %s enviada per e-mail
|
SupplierInvoiceSentByEMail=Factura de proveïdor %s enviada per e-mail
|
||||||
ShippingSentByEMail=Expedició %s enviada per e-mail
|
ShippingSentByEMail=Expedició %s enviada per e-mail
|
||||||
|
ShippingValidated=Expedició %s validada
|
||||||
InterventionSentByEMail=Intervenció %s enviada per e-mail
|
InterventionSentByEMail=Intervenció %s enviada per e-mail
|
||||||
NewCompanyToDolibarr= Tercer creat
|
NewCompanyToDolibarr= Tercer creat
|
||||||
DateActionPlannedStart= Data d'inici prevista
|
DateActionPlannedStart= Data d'inici prevista
|
||||||
|
|||||||
@ -52,6 +52,7 @@ InvoiceSentByEMail=Customer invoice %s sent by EMail
|
|||||||
SupplierOrderSentByEMail=Supplier order %s sent by EMail
|
SupplierOrderSentByEMail=Supplier order %s sent by EMail
|
||||||
SupplierInvoiceSentByEMail=Supplier invoice %s sent by EMail
|
SupplierInvoiceSentByEMail=Supplier invoice %s sent by EMail
|
||||||
ShippingSentByEMail=Shipping %s sent by EMail
|
ShippingSentByEMail=Shipping %s sent by EMail
|
||||||
|
ShippingValidated= Shipping %s validated
|
||||||
InterventionSentByEMail=Intervention %s sent by EMail
|
InterventionSentByEMail=Intervention %s sent by EMail
|
||||||
NewCompanyToDolibarr= Third party created
|
NewCompanyToDolibarr= Third party created
|
||||||
DateActionPlannedStart= Planned start date
|
DateActionPlannedStart= Planned start date
|
||||||
|
|||||||
@ -52,6 +52,7 @@ InvoiceSentByEMail=Factura a cliente %s enviada por e-mail
|
|||||||
SupplierOrderSentByEMail=Pedido a proveedor %s enviada por e-mail
|
SupplierOrderSentByEMail=Pedido a proveedor %s enviada por e-mail
|
||||||
SupplierInvoiceSentByEMail=Factura de proveedor %s enviada por e-mail
|
SupplierInvoiceSentByEMail=Factura de proveedor %s enviada por e-mail
|
||||||
ShippingSentByEMail=Expedición %s enviada por e-mail
|
ShippingSentByEMail=Expedición %s enviada por e-mail
|
||||||
|
ShippingValidated= Expedición %s validada
|
||||||
InterventionSentByEMail=Intervención %s enviada por e-mail
|
InterventionSentByEMail=Intervención %s enviada por e-mail
|
||||||
NewCompanyToDolibarr=Tercero creado
|
NewCompanyToDolibarr=Tercero creado
|
||||||
DateActionPlannedStart=Fecha de inicio prevista
|
DateActionPlannedStart=Fecha de inicio prevista
|
||||||
|
|||||||
@ -52,6 +52,7 @@ InvoiceSentByEMail=Facture client %s envoyée par EMail
|
|||||||
SupplierOrderSentByEMail=Commande fournisseur %s envoyée par EMail
|
SupplierOrderSentByEMail=Commande fournisseur %s envoyée par EMail
|
||||||
SupplierInvoiceSentByEMail=Facture fournisseur %s envoyée par Email
|
SupplierInvoiceSentByEMail=Facture fournisseur %s envoyée par Email
|
||||||
ShippingSentByEMail=Bon d'expédition %s envoyé par Email
|
ShippingSentByEMail=Bon d'expédition %s envoyé par Email
|
||||||
|
ShippingValidated=Bon d'expédition %s validée
|
||||||
InterventionSentByEMail=Intervention %s envoyée par Email
|
InterventionSentByEMail=Intervention %s envoyée par Email
|
||||||
NewCompanyToDolibarr= Tiers créé
|
NewCompanyToDolibarr= Tiers créé
|
||||||
DateActionPlannedStart= Date de début de réalisation prévue
|
DateActionPlannedStart= Date de début de réalisation prévue
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user