diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSpecificReference.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSpecificReference.xml
index 53a5ffcbd6d8e09492ca54b0aac3531c2f96cbdc..1def2c92f06adce2782fee71e7922eb9443159f8 100644
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSpecificReference.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSpecificReference.xml
@@ -86,8 +86,8 @@ else:\n
 \n
 source_section = transaction.getSourceSectionValue()\n
 if source_section is not None and source_section.isMemberOf(section_category):\n
-  return transaction.getDestinationReference()\n
-return transaction.getSourceReference()\n
+  return transaction.getSourceReference()\n
+return transaction.getDestinationReference()\n
 </string> </value>
         </item>
         <item>