Skip to content

Commit

Permalink
literals rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Torres committed Dec 11, 2017
1 parent 6416db0 commit fd59899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/procurement/models/procurement.py
Expand Up @@ -290,7 +290,7 @@ def run_scheduler(self, use_new_cursor=False, company_id=False):

# Check done procurements
procurements = ProcurementSudo.search([('state', '=', 'running')] + (company_id and [('company_id', '=', company_id)] or []))
checked_procurements = list()
checked_procurements = []
while procurements:
procurements.check(autocommit=use_new_cursor)
checked_procurements.extend(procurements.ids)
Expand Down

0 comments on commit fd59899

Please sign in to comment.