diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml index e8229266c4e4b3ee542c1bd5fdd202d9b6b97e0d..7dbba3a8b62a679ed184420bfb50e4b333481b35 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml @@ -91,7 +91,7 @@ for line in line_list:\n #update the corresponding price and round it according to the precision of\n #the converted currency\n line.setSourceTotalAssetPrice(\n - round(exchange_ratio*(line.getQuantity()) ,precision))\n + round(exchange_ratio * (-line.getQuantity()), precision))\n \n \n msg = context.Base_translateString(\'Price converted.\')\n diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 71ed48c5f3971c2b0c79c239d04f961d0af78e53..0c8ddea6abfa06b1f51fd4fcf54d75011361201f 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -954 \ No newline at end of file +955 \ No newline at end of file