From 83d571fc24a8e490534ceaaad4779a292317917f Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 16 May 2017 22:35:34 +0200 Subject: [PATCH] account_check_deposit: no auto-post move --- account_check_deposit/models/account_deposit.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/account_check_deposit/models/account_deposit.py b/account_check_deposit/models/account_deposit.py index c3ad7628dac..8002edfc771 100644 --- a/account_check_deposit/models/account_deposit.py +++ b/account_check_deposit/models/account_deposit.py @@ -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