Skip to content

Commit

Permalink
Merge cfd964b into 5d01bd0
Browse files Browse the repository at this point in the history
  • Loading branch information
danimaribeiro committed Dec 5, 2018
2 parents 5d01bd0 + cfd964b commit 4706867
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions br_boleto/reports/report.py
Expand Up @@ -33,6 +33,8 @@ def render_qweb_pdf(self, res_ids, data=None):
move_line_ids = self.env['account.move.line'].browse(res_ids)
else:
raise UserError(u'Parâmetros inválidos')
move_line_ids = move_line_ids.filtered(
lambda x: x.payment_mode_id.boleto)
order_line_ids = self.env['payment.order.line'].action_register_boleto(
move_line_ids)
boleto_list = order_line_ids.generate_boleto_list()
Expand Down

0 comments on commit 4706867

Please sign in to comment.