Browse Source

[FIX][pos_trade_receivable_autoreconcile] Flake8 issue

pull/27/head
Andrius Preimantas 9 years ago
parent
commit
bbe303c745
  1. 3
      pos_trade_receivable_autoreconcile/model/point_of_sale.py

3
pos_trade_receivable_autoreconcile/model/point_of_sale.py

@ -35,7 +35,8 @@ class POSOrder(models.Model):
continue
for line in each.journal_entry_id.line_id:
if line.account_id.id == order_account and line.state == 'valid':
if (line.account_id.id == order_account and
line.state == 'valid'):
grouped_data[key].append(line.id)
for key, value in grouped_data.iteritems():
for line in order.account_move.line_id:

Loading…
Cancel
Save