The processing amount is now rounded when the company currency and the journal currency is the same

This commit is contained in:
Sergi Carol 2017-02-27 10:52:46 +01:00
parent 9bdd3b470f
commit 8726bc8d3f
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class Payment:
self.journal.currency, processing_amount,
self.company.currency)
else:
local_amount = processing_amount
local_amount = self.company.currency.round(processing_amount)
move = Move(
journal=self.journal.processing_journal,