mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
PEP8 compliant with the latest version of flake8
This commit is contained in:
committed by
Enric Tobella
parent
75b3c0d0e9
commit
53a52bf043
@@ -93,8 +93,8 @@ class AccountBankingMandate(models.Model):
|
||||
def create(self, vals=None):
|
||||
if vals.get('unique_mandate_reference', 'New') == 'New':
|
||||
vals['unique_mandate_reference'] = \
|
||||
self.env['ir.sequence'].next_by_code('account.banking.mandate')\
|
||||
or 'New'
|
||||
self.env['ir.sequence'].next_by_code(
|
||||
'account.banking.mandate') or 'New'
|
||||
return super(AccountBankingMandate, self).create(vals)
|
||||
|
||||
@api.multi
|
||||
|
||||
Reference in New Issue
Block a user