Skip to content

Commit

Permalink
Merge pull request #97 from akretion/8.0-fix-bug-96-mandate
Browse files Browse the repository at this point in the history
[FIX] Bug #96 bad use of new API
  • Loading branch information
pedrobaeza committed Jan 14, 2015
2 parents f12da6f + cd6c30e commit a680b2a
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 a680b2a

Please sign in to comment.