mirror of
https://github.com/odoo/runbot.git
synced 2025-03-16 07:55:45 +07:00
[FIX] runbot: remove deprecated method
The refresh method is deprecated and invalidate_cache should be used instead. Also, since the new API, the cache is automatically invalidated, hence this removal.
This commit is contained in:
parent
0d2075db3e
commit
5d23d0957a
@ -415,7 +415,6 @@ class runbot_build(models.Model):
|
||||
else:
|
||||
v['job'] = jobs[jobs.index(build.job) + 1]
|
||||
build.write(v)
|
||||
build.refresh()
|
||||
|
||||
# run job
|
||||
pid = None
|
||||
|
Loading…
Reference in New Issue
Block a user