[fix] store the job after changing the state

This commit is contained in:
Leonardo Pistone
2014-01-14 15:12:11 +01:00
parent b863f798aa
commit b8d3a008df

View File

@@ -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."""