From 0c9ffc32fabc2fbe3970d581fe619ab7abd0282a Mon Sep 17 00:00:00 2001 From: sygel Date: Tue, 21 May 2024 15:35:45 +0200 Subject: [PATCH] [MIG] account_banking_mandate_contact: Migration to 17.0 --- account_banking_mandate_contact/__manifest__.py | 2 +- account_banking_mandate_contact/models/account_move_line.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/account_banking_mandate_contact/__manifest__.py b/account_banking_mandate_contact/__manifest__.py index e32d1020e..8a57f0785 100644 --- a/account_banking_mandate_contact/__manifest__.py +++ b/account_banking_mandate_contact/__manifest__.py @@ -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", diff --git a/account_banking_mandate_contact/models/account_move_line.py b/account_banking_mandate_contact/models/account_move_line.py index 3ff0fd57a..d726b7e0a 100644 --- a/account_banking_mandate_contact/models/account_move_line.py +++ b/account_banking_mandate_contact/models/account_move_line.py @@ -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 = (