[MIG] account_banking_mandate_contact: Migration to 17.0

This commit is contained in:
sygel
2024-05-21 15:35:45 +02:00
parent ba4c0af0d4
commit 0c9ffc32fa
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
{
"name": "Account Banking Mandate Contact",
"summary": "Assign specific banking mandates in contact level",
"version": "16.0.1.0.1",
"version": "17.0.1.0.1",
"development_status": "Production/Stable",
"category": "Banking addons",
"website": "https://github.com/OCA/bank-payment",

View File

@@ -10,7 +10,7 @@ class AccountMoveLine(models.Model):
# Extended to use partner_shipping_id mandate if it have set
def _prepare_payment_line_vals(self, payment_order):
vals = super(AccountMoveLine, self)._prepare_payment_line_vals(payment_order)
vals = super()._prepare_payment_line_vals(payment_order)
if payment_order.payment_type != "inbound" or self.move_id.mandate_id:
return vals
mandate = (