Qual: Initialize module mapping from common constant (#28384)
# Qual: Initialize module mapping from common constant DRY: Use constant define din functions.lib for centralized updates
This commit is contained in:
parent
b72294bf4c
commit
6190c6ad69
1 changed files with 2 additions and 25 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/* Copyright (C) 2005-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
*
|
||||
* 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
|
||||
|
|
@ -118,31 +119,7 @@ class ModeleImports
|
|||
/**
|
||||
* @var array Element mapping from table name
|
||||
*/
|
||||
public static $mapTableToElement = array(
|
||||
'actioncomm' => 'agenda',
|
||||
'adherent' => 'member',
|
||||
'adherent_type' => 'member_type',
|
||||
//'bank_account' => 'bank_account',
|
||||
'categorie' => 'category',
|
||||
//'commande' => 'commande',
|
||||
//'commande_fournisseur' => 'commande_fournisseur',
|
||||
'contrat' => 'contract',
|
||||
'entrepot' => 'stock',
|
||||
//'expensereport' => 'expensereport',
|
||||
'facture' => 'invoice',
|
||||
//'facture_fourn' => 'facture_fourn',
|
||||
'fichinter' => 'intervention',
|
||||
//'holiday' => 'holiday',
|
||||
//'product' => 'product',
|
||||
'product_price' => 'productprice',
|
||||
'product_fournisseur_price' => 'productsupplierprice',
|
||||
'projet' => 'project',
|
||||
//'propal' => 'propal',
|
||||
//'societe' => 'societe',
|
||||
'socpeople' => 'contact',
|
||||
//'supplier_proposal' => 'supplier_proposal',
|
||||
//'ticket' => 'ticket',
|
||||
);
|
||||
public static $mapTableToElement = DEPRECATED_MODULE_MAPPING;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
|
|
|||
Loading…
Reference in a new issue