diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php
index 22a560c7bf8..9f8771fb9f8 100644
--- a/htdocs/product/fiche.php
+++ b/htdocs/product/fiche.php
@@ -1082,14 +1082,14 @@ if ($_GET["id"] || $_GET["ref"])
print '';
- // Accountancy buy code
- print '
| '.$html->editfieldkey("ProductAccountancyBuyCode",'productaccountancycodesell',$product->accountancy_code_sell,'id',$product->id,$user->rights->produit->creer).' | ';
- print $html->editfieldval("ProductAccountancyBuyCode",'productaccountancycodesell',$product->accountancy_code_sell,'id',$product->id,$user->rights->produit->creer);
- print ' |
';
-
// Accountancy sell code
- print '| '.$html->editfieldkey("ProductAccountancySellCode",'productaccountancycodebuy',$product->accountancy_code_buy,'id',$product->id,$user->rights->produit->creer).' | ';
- print $html->editfieldval("ProductAccountancySellCode",'productaccountancycodebuy',$product->accountancy_code_buy,'id',$product->id,$user->rights->produit->creer);
+ print ' |
| '.$html->editfieldkey("ProductAccountancySellCode",'productaccountancycodesell',$product->accountancy_code_sell,'id',$product->id,$user->rights->produit->creer).' | ';
+ print $html->editfieldval("ProductAccountancySellCode",'productaccountancycodesell',$product->accountancy_code_sell,'id',$product->id,$user->rights->produit->creer);
+ print ' |
';
+
+ // Accountancy buy code
+ print '| '.$html->editfieldkey("ProductAccountancyBuyCode",'productaccountancycodebuy',$product->accountancy_code_buy,'id',$product->id,$user->rights->produit->creer).' | ';
+ print $html->editfieldval("ProductAccountancyBuyCode",'productaccountancycodebuy',$product->accountancy_code_buy,'id',$product->id,$user->rights->produit->creer);
print ' |
';
// Status (to sell)