mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +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.'):
|
elif record.name.startswith('staging.'):
|
||||||
name = record.name.replace('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)
|
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:
|
if base:
|
||||||
record['defined_base_id'] = base
|
record['defined_base_id'] = base
|
||||||
</field>
|
</field>
|
||||||
|
Loading…
Reference in New Issue
Block a user