mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_payment_order: Computed non-stored fields needs always a value
We should assign a value for all records of the set.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
{
|
||||
"name": "Account Payment Order",
|
||||
"version": "14.0.1.0.3",
|
||||
"version": "14.0.1.0.4",
|
||||
"license": "AGPL-3",
|
||||
"author": "ACSONE SA/NV, "
|
||||
"Therp BV, "
|
||||
|
||||
@@ -107,6 +107,8 @@ class AccountPaymentLine(models.Model):
|
||||
line.company_id,
|
||||
line.date or fields.Date.today(),
|
||||
)
|
||||
else:
|
||||
line.amount_company_currency = 0
|
||||
|
||||
def payment_line_hashcode(self):
|
||||
self.ensure_one()
|
||||
|
||||
Reference in New Issue
Block a user