Skip to content

Commit

Permalink
[FIX] Bug OCA#96 bad use of new API
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis de Lattre authored and etobella committed Nov 9, 2017
1 parent 9df6ede commit c67f72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_banking_mandate/models/payment_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class PaymentLine(models.Model):
comodel_name='account.banking.mandate', string='Direct Debit Mandate',
domain=[('state', '=', 'valid')])

@api.multi
@api.model
def create(self, vals=None):
"""If the customer invoice has a mandate, take it
otherwise, take the first valid mandate of the bank account
Expand Down

0 comments on commit c67f72d

Please sign in to comment.