mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: don't detect duplicate on rebuild.
This commit is contained in:
parent
cb05f2b9d8
commit
a2256fffb8
@ -240,7 +240,7 @@ class runbot_build(models.Model):
|
||||
for dep_vals in dep_create_vals:
|
||||
self.env['runbot.build.dependency'].sudo().create(dep_vals)
|
||||
|
||||
if not context.get('force_rebuild'): # not vals.get('build_type') == rebuild': could be enough, but some cron on runbot are using this ctx key, to do later
|
||||
if not context.get('force_rebuild') and not vals.get('build_type') == 'rebuild':
|
||||
# detect duplicate
|
||||
duplicate_id = None
|
||||
domain = [
|
||||
|
Loading…
Reference in New Issue
Block a user