From b8d3a008dfb8203b7cda276f03148bf34daf20be Mon Sep 17 00:00:00 2001 From: Leonardo Pistone Date: Tue, 14 Jan 2014 15:12:11 +0100 Subject: [PATCH] [fix] store the job after changing the state --- account_move_batch_validate/account.py | 1 + 1 file changed, 1 insertion(+) diff --git a/account_move_batch_validate/account.py b/account_move_batch_validate/account.py index 9f0771e62..f9bee466c 100644 --- a/account_move_batch_validate/account.py +++ b/account_move_batch_validate/account.py @@ -95,6 +95,7 @@ class account_move(orm.Model): job.set_done(result=_( u'Task set to Done because the user unmarked the move' )) + storage.store(job) def mark_for_posting(self, cr, uid, move_ids, eta=None, context=None): """Mark a list of moves for delayed posting, and enqueue the jobs."""