Fix: Missing migration
Fix: Error management
This commit is contained in:
parent
249a03dd57
commit
aa8413d7cb
@ -79,12 +79,12 @@ $result = restrictedArea($user, 'propal', $id);
|
|||||||
|
|
||||||
$object = new Propal($db);
|
$object = new Propal($db);
|
||||||
|
|
||||||
// Load object
|
|
||||||
// Load object
|
// Load object
|
||||||
if ($id > 0 || ! empty($ref))
|
if ($id > 0 || ! empty($ref))
|
||||||
{
|
{
|
||||||
$ret=$object->fetch($id, $ref);
|
$ret=$object->fetch($id, $ref);
|
||||||
$ret=$object->fetch_thirdparty();
|
if ($ret > 0) $ret=$object->fetch_thirdparty();
|
||||||
|
if ($ret < 0) dol_print_error('',$object->error);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
|
// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
|
||||||
|
|||||||
@ -39,3 +39,9 @@ alter table llx_contratdet add column buy_price_ht double(24,8) DEFAULT 0 after
|
|||||||
|
|
||||||
-- serialised array, to store value of select list choices for example
|
-- serialised array, to store value of select list choices for example
|
||||||
alter table llx_extrafields add column param text DEFAULT '' after pos;
|
alter table llx_extrafields add column param text DEFAULT '' after pos;
|
||||||
|
|
||||||
|
|
||||||
|
alter table llx_propal CHANGE COLUMN fk_adresse_livraison fk_delivery_address integer;
|
||||||
|
alter table llx_commande CHANGE COLUMN fk_adresse_livraison fk_delivery_address integer;
|
||||||
|
alter table llx_don CHANGE COLUMN adresse address text;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user