From ac929bc24f91c99cd36da0386bc4263ec927f5ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20San=20Jos=C3=A9?= Date: Tue, 13 Aug 2024 12:12:20 +0200 Subject: [PATCH] The tables associated with the BOM module are created when it is initialized. (#30603) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Rafael San José Tovar --- htdocs/core/modules/modBom.class.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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);