From 58918fb826855daa5b847f2d4ab610fbe667f8aa Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Thu, 6 Apr 2017 15:57:03 +0200 Subject: [PATCH] [FIX] account: bad forward port Field remaining from 9.0 when cherry picking #16236 to #16282 --- addons/account/models/account_move.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index cc1d49b4264..8522df99c3c 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -1462,9 +1462,7 @@ class AccountPartialReconcile(models.Model): @api.multi def _prepare_exchange_diff_move(self, move_date): self.ensure_one() - res = {'journal_id': self.company_id.currency_exchange_journal_id.id, - 'rate_diff_partial_rec_id': self.id, - } + res = {'journal_id': self.company_id.currency_exchange_journal_id.id} # The move date should be the maximum date between payment and invoice # (in case of payment in advance). However, we should make sure the # move date is not recorded after the end of year closing.