Merge PR #323 into 12.0

Signed-off-by gurneyalex
pull/327/head
OCA-git-bot 2020-08-06 08:41:04 +00:00
commit 03293f2df1
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class AccountJournal(models.Model):
global_commission_amount = 0 global_commission_amount = 0
for row in parser.result_row_list: for row in parser.result_row_list:
global_commission_amount += float( global_commission_amount += float(
row.get("commission_amount", "0.0") row.get("commission_amount") or 0.0
) )
partner_id = self.partner_id.id partner_id = self.partner_id.id
# Commission line # Commission line