diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertDestinationPrice.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertDestinationPrice.xml index 42b28e34e980d96084227b87e1a8a8c2f5a3d9f7..231e97571129a0eb95b9a4d141a186a627174e3f 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertDestinationPrice.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertDestinationPrice.xml @@ -95,7 +95,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.setDestinationTotalAssetPrice(\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/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_convertSourcePrice.xml index 0d898d77ced95da90054bde7b3da89784f8acfae..e8229266c4e4b3ee542c1bd5fdd202d9b6b97e0d 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 930e0e0f809de1c2b91483856e9646f19e5f7729..72f2f0b2b88253436d92b676b1d40825e229fcb1 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -930 \ No newline at end of file +931 \ No newline at end of file