diff --git a/htdocs/core/modules/modBom.class.php b/htdocs/core/modules/modBom.class.php index 1e358738b27..c08828442c9 100644 --- a/htdocs/core/modules/modBom.class.php +++ b/htdocs/core/modules/modBom.class.php @@ -1,9 +1,10 @@ - * Copyright (C) 2018 Nicolas ZABOURI - * Copyright (C) 2019 Maxime Kohlhaas - * Copyright (C) 2021 Ferran Marcet +/* Copyright (C) 2004-2018 Laurent Destailleur + * Copyright (C) 2018 Nicolas ZABOURI + * Copyright (C) 2019 Maxime Kohlhaas + * Copyright (C) 2021 Ferran Marcet * Copyright (C) 2024 MDW + * Copyright (C) 2024 Rafael San José * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -455,6 +456,8 @@ class modBom extends DolibarrModules { global $conf, $langs; + $result = $this->_load_tables('/install/mysql/', 'bom'); + // Create extrafields //include_once DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php'; //$extrafields = new ExtraFields($this->db);