Merge remote-tracking branch 'upstream/7.0' into 7.0
This commit is contained in:
commit
a61677dcc6
@ -1376,7 +1376,7 @@ if ($action == 'create')
|
|||||||
$detail.= $langs->trans("Batch").': '.$dbatch->batch;
|
$detail.= $langs->trans("Batch").': '.$dbatch->batch;
|
||||||
$detail.= ' - '.$langs->trans("SellByDate").': '.dol_print_date($dbatch->sellby,"day");
|
$detail.= ' - '.$langs->trans("SellByDate").': '.dol_print_date($dbatch->sellby,"day");
|
||||||
$detail.= ' - '.$langs->trans("EatByDate").': '.dol_print_date($dbatch->eatby,"day");
|
$detail.= ' - '.$langs->trans("EatByDate").': '.dol_print_date($dbatch->eatby,"day");
|
||||||
$detail.= ' - '.$langs->trans("Qty").': '.$dbatch->dluo_qty;
|
$detail.= ' - '.$langs->trans("Qty").': '.$dbatch->qty;
|
||||||
$detail.= '<br>';
|
$detail.= '<br>';
|
||||||
print $detail;
|
print $detail;
|
||||||
|
|
||||||
|
|||||||
@ -468,7 +468,7 @@ ALTER TABLE llx_extrafields ADD COLUMN tms timestamp;
|
|||||||
|
|
||||||
-- We fix value of 'list' from 0 to 1 for all extrafields created before this migration
|
-- We fix value of 'list' from 0 to 1 for all extrafields created before this migration
|
||||||
UPDATE llx_extrafields SET list = 1 WHERE list = 0 AND fk_user_author IS NULL and fk_user_modif IS NULL and datec IS NULL;
|
UPDATE llx_extrafields SET list = 1 WHERE list = 0 AND fk_user_author IS NULL and fk_user_modif IS NULL and datec IS NULL;
|
||||||
UPDATE llx_extrafields SET list = 3 WHERE type = 'separate' AND list != 3;
|
UPDATE llx_extrafields SET list = 3 WHERE type = 'separate' AND list <> 3;
|
||||||
|
|
||||||
ALTER TABLE llx_extrafields MODIFY COLUMN list integer DEFAULT 1;
|
ALTER TABLE llx_extrafields MODIFY COLUMN list integer DEFAULT 1;
|
||||||
--VPGSQL8.2 ALTER TABLE llx_extrafields ALTER COLUMN list SET DEFAULT 1;
|
--VPGSQL8.2 ALTER TABLE llx_extrafields ALTER COLUMN list SET DEFAULT 1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user