mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[fix] store the job after changing the state
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user