Skip to content

Commit

Permalink
[16.0][FIX]Do not raise UserError in inverse_expression when using multi
Browse files Browse the repository at this point in the history
  • Loading branch information
AnizR committed Jul 27, 2023
1 parent 2c5cfb9 commit 778db45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mis_builder/models/mis_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def _compute_expression(self):
def _inverse_expression(self):
for kpi in self:
if kpi.multi:
raise UserError(_("Can not update a multi kpi from " "the kpi line"))
continue
if kpi.expression_ids:
kpi.expression_ids[0].write({"name": kpi.expression, "subkpi_id": None})
for expression in kpi.expression_ids[1:]:
Expand Down

0 comments on commit 778db45

Please sign in to comment.