FIX : regex array checks
This commit is contained in:
parent
9a05c16edc
commit
8364de054a
@ -632,6 +632,10 @@ class modProduct extends DolibarrModules
|
|||||||
$this->import_fields_array[$r] = array('pwp.fk_product'=>"Product*",
|
$this->import_fields_array[$r] = array('pwp.fk_product'=>"Product*",
|
||||||
'pwp.fk_entrepot'=>"Warehouse*", 'pwp.seuil_stock_alerte'=>"StockLimit",
|
'pwp.fk_entrepot'=>"Warehouse*", 'pwp.seuil_stock_alerte'=>"StockLimit",
|
||||||
'pwp.desiredstock'=>"DesiredStock");
|
'pwp.desiredstock'=>"DesiredStock");
|
||||||
|
$this->import_regex_array[$r] = array(
|
||||||
|
'pwp.fk_product' => 'rowid@'.MAIN_DB_PREFIX.'product',
|
||||||
|
'pwp.fk_entrepot' => 'rowid@'.MAIN_DB_PREFIX.'entrepot',
|
||||||
|
);
|
||||||
$this->import_convertvalue_array[$r] = array(
|
$this->import_convertvalue_array[$r] = array(
|
||||||
'pwp.fk_product'=>array('rule'=>'fetchidfromref', 'classfile'=>'/product/class/product.class.php', 'class'=>'Product', 'method'=>'fetch', 'element'=>'Product')
|
'pwp.fk_product'=>array('rule'=>'fetchidfromref', 'classfile'=>'/product/class/product.class.php', 'class'=>'Product', 'method'=>'fetch', 'element'=>'Product')
|
||||||
,'pwp.fk_entrepot'=>array('rule'=>'fetchidfromref', 'classfile'=>'/product/stock/class/entrepot.class.php', 'class'=>'Entrepot', 'method'=>'fetch', 'element'=>'Entrepot')
|
,'pwp.fk_entrepot'=>array('rule'=>'fetchidfromref', 'classfile'=>'/product/stock/class/entrepot.class.php', 'class'=>'Entrepot', 'method'=>'fetch', 'element'=>'Entrepot')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user