Fix supplier suggested when creating order from project overview
This commit is contained in:
parent
5b917c039e
commit
1834be79a0
@ -301,7 +301,7 @@ $listofreferent=array(
|
|||||||
'class'=>'CommandeFournisseur',
|
'class'=>'CommandeFournisseur',
|
||||||
'table'=>'commande_fournisseur',
|
'table'=>'commande_fournisseur',
|
||||||
'datefieldname'=>'date_commande',
|
'datefieldname'=>'date_commande',
|
||||||
'urlnew'=>DOL_URL_ROOT.'/fourn/commande/card.php?action=create&projectid='.$id.'&socid='.$socid,
|
'urlnew'=>DOL_URL_ROOT.'/fourn/commande/card.php?action=create&projectid='.$id, // No socid parameter here, the socid is often the customer and we create a supplier object
|
||||||
'lang'=>'suppliers',
|
'lang'=>'suppliers',
|
||||||
'buttonnew'=>'AddSupplierOrder',
|
'buttonnew'=>'AddSupplierOrder',
|
||||||
'testnew'=>$user->rights->fournisseur->commande->creer,
|
'testnew'=>$user->rights->fournisseur->commande->creer,
|
||||||
@ -313,7 +313,7 @@ $listofreferent=array(
|
|||||||
'margin'=>'minus',
|
'margin'=>'minus',
|
||||||
'table'=>'facture_fourn',
|
'table'=>'facture_fourn',
|
||||||
'datefieldname'=>'datef',
|
'datefieldname'=>'datef',
|
||||||
'urlnew'=>DOL_URL_ROOT.'/fourn/facture/card.php?action=create&projectid='.$id,
|
'urlnew'=>DOL_URL_ROOT.'/fourn/facture/card.php?action=create&projectid='.$id, // No socid parameter here, the socid is often the customer and we create a supplier object
|
||||||
'lang'=>'suppliers',
|
'lang'=>'suppliers',
|
||||||
'buttonnew'=>'AddSupplierInvoice',
|
'buttonnew'=>'AddSupplierInvoice',
|
||||||
'testnew'=>$user->rights->fournisseur->facture->creer,
|
'testnew'=>$user->rights->fournisseur->facture->creer,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user