Skip to content

Commit

Permalink
[FIX] PEP8.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbcosta committed Mar 27, 2021
1 parent 018377c commit f05c1c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion l10n_br_account_payment_order/models/account_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _pos_action_move_create(self):
# Podem existir Modo de Pagto q geram Ordens mas não são CNAB
# por isso nesse caso tbm nada a ser feito
if inv.payment_mode_id.payment_method_code not in \
('240', '400', '500'):
('240', '400', '500'):
continue

# TODO - apesar do campo financial_move_line_ids ser do tipo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ def test_product_tax_boleto(self):
line_product_tax = self.invoice_product_tax_boleto.\
invoice_line_ids.filtered(
lambda l: l.product_id == self.invoice_product_tax_boleto.
payment_mode_id.product_tax_id
)
payment_mode_id.product_tax_id)

self.assertEquals(len(line_product_tax), 1)
# I validate invoice by creating on
Expand Down

0 comments on commit f05c1c1

Please sign in to comment.