mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] account_asset_batch_compute: Fixing tests
This commit is contained in:
committed by
Alba Riera
parent
4b477d934f
commit
10d1001262
@@ -24,7 +24,9 @@ class AccountAssetCompute(models.TransientModel):
|
||||
self.ensure_one()
|
||||
if not self.batch_processing:
|
||||
return super(AccountAssetCompute, self).asset_compute()
|
||||
if not self.env.context.get('job_uuid'):
|
||||
if not self.env.context.get('job_uuid') and not self.env.context.get(
|
||||
'test_queue_job_no_delay'
|
||||
):
|
||||
description = \
|
||||
_("Creating jobs to create moves for assets to %s") % (
|
||||
self.date_end,)
|
||||
|
||||
Reference in New Issue
Block a user