Skip to content

Commit

Permalink
correção erro pep
Browse files Browse the repository at this point in the history
  • Loading branch information
felipepaloschi committed Feb 9, 2018
1 parent ebdfb49 commit 13121e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions br_boleto/models/payment_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def unlink(self):
if item.state == 'paid':
state = 'Pago'
raise UserError("Você não pode deletar a linha de cobrança {}\
pois ela está com status {}".format(
item.move_id.name, state))
pois ela está com status {}".format(
item.move_id.name, state))
return super(PaymentOrderLine, self).unlink()

name = fields.Char(string="Ref.", size=20)
Expand Down

0 comments on commit 13121e8

Please sign in to comment.