Skip to content

Commit

Permalink
account_check_deposit: no auto-post move
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed May 16, 2017
1 parent b5e9537 commit 83d571f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions account_check_deposit/models/account_deposit.py
Expand Up @@ -232,9 +232,7 @@ def validate_deposit(self):
counter_vals['move_id'] = move.id
move_line_obj.create(counter_vals)

move.post()
deposit.write({'state': 'done', 'move_id': move.id})
# We have to reconcile after post()
for reconcile_lines in to_reconcile_lines:
reconcile_lines.reconcile()
return True
Expand Down

0 comments on commit 83d571f

Please sign in to comment.