merci !
Bon j’avance j’ai ajouté ca dans mouvement_list .php
Je peux bien selectionner poids dans la liste déroulante des mouvement de stock, la page charge, mais le poids ne s’affiche pas… doit y avoir une erreur dans mon code… mais laquelle…
$arrayfields=array(
‹ m.rowid ›=>array(‹ label ›=>$langs->trans(« Ref »), ‹ checked ›=>1),
‹ m.datem ›=>array(‹ label ›=>$langs->trans(« Date »), ‹ checked ›=>1),
‹ p.ref ›=>array(‹ label ›=>$langs->trans(« ProductRef »), ‹ checked ›=>1, ‹ css ›=>‹ maxwidth100 ›),
‹ p.label ›=>array(‹ label ›=>$langs->trans(« ProductLabel »), ‹ checked ›=>1),
‹ p.weight ›=>array(‹ label ›=>$langs->trans(« Weight »), ‹ checked ›=>0, ‹ enabled ›=>(! empty($conf->produit->enabled))),
‹ m.batch ›=>array(‹ label ›=>$langs->trans(« BatchNumberShort »), ‹ checked ›=>1, ‹ enabled ›=>(! empty($conf->productbatch->enabled))),
‹ pl.eatby ›=>array(‹ label ›=>$langs->trans(« EatByDate »), ‹ checked ›=>0, ‹ enabled ›=>(! empty($conf->productbatch->enabled))),
‹ pl.sellby ›=>array(‹ label ›=>$langs->trans(« SellByDate »), ‹ checked ›=>0, ‹ position ›=>10, ‹ enabled ›=>(! empty($conf->productbatch->enabled))),
‹ e.ref ›=>array(‹ label ›=>$langs->trans(« Warehouse »), ‹ checked ›=>1, ‹ enabled ›=>(! $id > 0)), // If we are on specific warehouse, we hide it
‹ m.fk_user_author ›=>array(‹ label ›=>$langs->trans(« Author »), ‹ checked ›=>0),
‹ m.inventorycode ›=>array(‹ label ›=>$langs->trans(« InventoryCodeShort »), ‹ checked ›=>1),
‹ m.label ›=>array(‹ label ›=>$langs->trans(« MovementLabel »), ‹ checked ›=>1),
‹ m.type_mouvement ›=>array(‹ label ›=>$langs->trans(« TypeMovement »), ‹ checked ›=>1),
‹ origin ›=>array(‹ label ›=>$langs->trans(« Origin »), ‹ checked ›=>1),
‹ m.value ›=>array(‹ label ›=>$langs->trans(« Qty »), ‹ checked ›=>1),
‹ m.price ›=>array(‹ label ›=>$langs->trans(« UnitPurchaseValue »), ‹ checked ›=>0),
//‹ m.datec ›=>array(‹ label ›=>$langs->trans(« DateCreation »), ‹ checked ›=>0, ‹ position ›=>500),
//‹ m.tms ›=>array(‹ label ›=>$langs->trans(« DateModificationShort »), ‹ checked ›=>0, ‹ position ›=>500)