diff --git a/ChangeLog b/ChangeLog index 6580a4e5dda4a..d8efc905db757 100644 --- a/ChangeLog +++ b/ChangeLog @@ -27,12 +27,13 @@ The following changes may create regressions for some external modules, but were cross platform compatibility. On linux the exit(-1) was caught as 255, it may be now exit(1) so will be caught as 1. * The parameter $filter of method fetchAll does not accept array of SQL but must be a string of an Universal Search Filter syntax. * Use of dol_eval with parameter $returnvalue=0 is deprecated. -* The signature for all ->delete() method has been modified to match the modulebuilder template (so first paramis now always $user), except +* The signature for all ->delete() method has been modified to match the modulebuilder template (so first param is now always $user), except the delete for thirdparty (still accept the id of thirdparty to delete as first parameter). Will probably be modified into another version. * Route for API /thirdparties/gateways has been renamed into /thirdparties/accounts to better match the api object name. * The AGENDA_ENABLE_DONEBY hidden option has been removed. So $userdoneid in actioncomm class is deprecated. Please use $userownerid instead. Also, - the field $fk_user_done in actioncomm table is deprecated. Please use $fk_user_action instead. -* The table commande_fournisseur_dispatch has been renamed into receptiondet_batch to better match its goal. + the deprecated field $fk_user_done in actioncomm table is removed. Please use $fk_user_action instead. +* The table commande_fournisseur_dispatch has been renamed into receptiondet_batch to better match its goal and the field fk_commande + and fk_commandefourndet were renamed into fk_element and fk_elementdet ***** ChangeLog for 19.0.1 compared to 19.0.0 ***** diff --git a/htdocs/install/mysql/tables/llx_receptiondet_batch.sql b/htdocs/install/mysql/tables/llx_receptiondet_batch.sql index e8b414510d1f1..28a0b3089fba4 100644 --- a/htdocs/install/mysql/tables/llx_receptiondet_batch.sql +++ b/htdocs/install/mysql/tables/llx_receptiondet_batch.sql @@ -28,8 +28,8 @@ create table llx_receptiondet_batch ( rowid integer AUTO_INCREMENT PRIMARY KEY, fk_reception integer DEFAULT NULL, -- ID of parent object - fk_element integer, -- ID of main source object. TODO should be renamed into fk_element - fk_elementdet integer, -- ID of line of main source object. TODO should be renamed into fk_elementdet + fk_element integer, -- ID of main source object. + fk_elementdet integer, -- ID of line of main source object. element_type varchar(50) DEFAULT 'supplier_order' NOT NULL, -- Type of source object ('supplier_order', ...) fk_product integer, qty float, -- qty to move