We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe07d83 commit 5b52787Copy full SHA for 5b52787
account_banking_mandate/models/payment_line.py
@@ -31,7 +31,7 @@ class PaymentLine(models.Model):
31
comodel_name='account.banking.mandate', string='Direct Debit Mandate',
32
domain=[('state', '=', 'valid')])
33
34
- @api.multi
+ @api.model
35
def create(self, vals=None):
36
"""If the customer invoice has a mandate, take it
37
otherwise, take the first valid mandate of the bank account
0 commit comments