[FIX] avoid cache miss in compute

This commit is contained in:
Andrea
2020-09-11 14:42:35 +02:00
committed by Pedro M. Baeza
parent 0d2341a9c4
commit 28a35012b0
2 changed files with 3 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
{
"name": "Account Payment Order",
"version": "13.0.1.4.0",
"version": "13.0.1.4.1",
"license": "AGPL-3",
"author": "ACSONE SA/NV, "
"Therp BV, "

View File

@@ -42,6 +42,8 @@ class AccountMoveLine(models.Model):
)
):
ml.partner_bank_id = ml.move_id.invoice_partner_bank_id.id
else:
ml.partner_bank_id = ml.partner_bank_id
def _prepare_payment_line_vals(self, payment_order):
self.ensure_one()