Rename some jobs
This commit is contained in:
parent
524b001f3b
commit
ed1bdd26db
@ -113,7 +113,7 @@ class modFacture extends DolibarrModules
|
|||||||
$datestart = dol_mktime(23, 0, 0, $arraydate['mon'], $arraydate['mday'], $arraydate['year']);
|
$datestart = dol_mktime(23, 0, 0, $arraydate['mon'], $arraydate['mday'], $arraydate['year']);
|
||||||
$this->cronjobs = array(
|
$this->cronjobs = array(
|
||||||
0 => array(
|
0 => array(
|
||||||
'label'=>'RecurringInvoices',
|
'label'=>'RecurringInvoicesJob',
|
||||||
'jobtype'=>'method',
|
'jobtype'=>'method',
|
||||||
'class'=>'compta/facture/class/facture-rec.class.php',
|
'class'=>'compta/facture/class/facture-rec.class.php',
|
||||||
'objectname'=>'FactureRec',
|
'objectname'=>'FactureRec',
|
||||||
@ -122,7 +122,7 @@ class modFacture extends DolibarrModules
|
|||||||
'comment'=>'Generate recurring invoices',
|
'comment'=>'Generate recurring invoices',
|
||||||
'frequency'=>1,
|
'frequency'=>1,
|
||||||
'unitfrequency'=>3600 * 24,
|
'unitfrequency'=>3600 * 24,
|
||||||
'priority'=>50,
|
'priority'=>51,
|
||||||
'status'=>1,
|
'status'=>1,
|
||||||
'test'=>'$conf->facture->enabled',
|
'test'=>'$conf->facture->enabled',
|
||||||
'datestart'=>$datestart
|
'datestart'=>$datestart
|
||||||
|
|||||||
@ -133,7 +133,7 @@ class modFournisseur extends DolibarrModules
|
|||||||
$datestart = dol_mktime(23, 0, 0, $arraydate['mon'], $arraydate['mday'], $arraydate['year']);
|
$datestart = dol_mktime(23, 0, 0, $arraydate['mon'], $arraydate['mday'], $arraydate['year']);
|
||||||
$this->cronjobs = array(
|
$this->cronjobs = array(
|
||||||
0 => array(
|
0 => array(
|
||||||
'label'=>'RecurringSupplierInvoices',
|
'label'=>'RecurringSupplierInvoicesJob',
|
||||||
'jobtype'=>'method',
|
'jobtype'=>'method',
|
||||||
'class'=>'fourn/class/fournisseur.facture-rec.class.php',
|
'class'=>'fourn/class/fournisseur.facture-rec.class.php',
|
||||||
'objectname'=>'FactureFournisseurRec',
|
'objectname'=>'FactureFournisseurRec',
|
||||||
@ -142,7 +142,7 @@ class modFournisseur extends DolibarrModules
|
|||||||
'comment'=>'Generate recurring supplier invoices',
|
'comment'=>'Generate recurring supplier invoices',
|
||||||
'frequency'=>1,
|
'frequency'=>1,
|
||||||
'unitfrequency'=>3600 * 24,
|
'unitfrequency'=>3600 * 24,
|
||||||
'priority'=>50,
|
'priority'=>51,
|
||||||
'status'=>1,
|
'status'=>1,
|
||||||
'datestart'=>$datestart
|
'datestart'=>$datestart
|
||||||
));
|
));
|
||||||
|
|||||||
@ -99,6 +99,9 @@ ALTER TABLE llx_partnership ADD UNIQUE INDEX uk_fk_type_fk_member (fk_type, fk_m
|
|||||||
|
|
||||||
-- v16
|
-- v16
|
||||||
|
|
||||||
|
UPDATE llx_cronjob set label = 'RecurringInvoicesJob' where label = 'RecurringInvoices';
|
||||||
|
UPDATE llx_cronjob set label = 'RecurringSupplierInvoicesJob' where label = 'RecurringSupplierInvoices';
|
||||||
|
|
||||||
ALTER TABLE llx_facture ADD INDEX idx_facture_datef (datef);
|
ALTER TABLE llx_facture ADD INDEX idx_facture_datef (datef);
|
||||||
|
|
||||||
ALTER TABLE llx_projet_task_time ADD COLUMN fk_product integer NULL;
|
ALTER TABLE llx_projet_task_time ADD COLUMN fk_product integer NULL;
|
||||||
|
|||||||
@ -283,6 +283,8 @@ RecurringInvoices=Recurring invoices
|
|||||||
RecurringInvoice=Recurring invoice
|
RecurringInvoice=Recurring invoice
|
||||||
RepeatableInvoice=Template invoice
|
RepeatableInvoice=Template invoice
|
||||||
RepeatableInvoices=Template invoices
|
RepeatableInvoices=Template invoices
|
||||||
|
RecurringInvoicesJob=Generation of recurring invoices (sales invoices)
|
||||||
|
RecurringSupplierInvoicesJob=Generation of recurring invoices (purchase invoices)
|
||||||
Repeatable=Template
|
Repeatable=Template
|
||||||
Repeatables=Templates
|
Repeatables=Templates
|
||||||
ChangeIntoRepeatableInvoice=Convert into template invoice
|
ChangeIntoRepeatableInvoice=Convert into template invoice
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user