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
Olga Marco
parent
6ea7f2934a
commit
c2f9ea78a6
@@ -19,7 +19,9 @@ class AccountAsset(models.Model):
|
||||
@api.multi
|
||||
@job(default_channel='root.account_asset_batch_compute')
|
||||
def _compute_entries(self, date_end, check_triggers=False):
|
||||
if self.env.context.get('asset_batch_processing', False):
|
||||
if self.env.context.get(
|
||||
'asset_batch_processing', False
|
||||
) and not self.env.context.get('test_queue_job_no_delay', False):
|
||||
results = []
|
||||
log_error = ''
|
||||
for record in self:
|
||||
|
||||
Reference in New Issue
Block a user