mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[IMP] runbot: make stagings automatically build all
This commit is contained in:
parent
2b8e5c5a91
commit
eb111002ed
@ -87,6 +87,7 @@ if record.name.startswith('tmp.'):
|
||||
elif record.name.startswith('staging.'):
|
||||
name = record.name.replace('staging.', '')
|
||||
base = record.env['runbot.bundle'].search([('name', '=', name), ('project_id', '=', record.project_id.id), ('is_base', '=', True)], limit=1)
|
||||
record['build_all'] = True
|
||||
if base:
|
||||
record['defined_base_id'] = base
|
||||
</field>
|
||||
|
Loading…
Reference in New Issue
Block a user