[FIX] account: bad forward port
Field remaining from 9.0 when cherry picking #16236 to #16282
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user