mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: fix build error creation form
This commit is contained in:
parent
87512ae78c
commit
e51a27bbbb
@ -106,7 +106,7 @@ class BuildError(models.Model):
|
||||
def _compute_error_history_ids(self):
|
||||
for error in self:
|
||||
fingerprints = [error.fingerprint] + [rec.fingerprint for rec in error.child_ids]
|
||||
error.error_history_ids = self.search([('fingerprint', 'in', fingerprints), ('active', '=', False), ('id', '!=', error.id)])
|
||||
error.error_history_ids = self.search([('fingerprint', 'in', fingerprints), ('active', '=', False), ('id', '!=', error.id or False)])
|
||||
|
||||
@api.model
|
||||
def _digest(self, s):
|
||||
|
@ -9,7 +9,7 @@
|
||||
</header>
|
||||
<sheet>
|
||||
<group name="build_error_group">
|
||||
<field name="fingerprint"/>
|
||||
<field name="fingerprint" readonly="1"/>
|
||||
<field name="content"/>
|
||||
<field name="cleaned_content" groups="base.group_no_one"/>
|
||||
<field name="module_name"/>
|
||||
|
Loading…
Reference in New Issue
Block a user