Skip to content

Commit

Permalink
Merge PR #1083 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by simahawk
  • Loading branch information
OCA-git-bot committed Dec 5, 2024
2 parents 12fd3c5 + 6f099a4 commit 8907fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edi_oca/models/edi_exchange_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def _inverse_deprecated_rules_model_manual_btn(self):
"Rule for %s btn updated from deprecated `model_manual_btn`",
model.model,
)
rule.kind = "form_btn" if self.model_manual_btn else "custom"
rule.kind = "form_btn" if rec.model_manual_btn else "custom"

def _get_rule_by_model(self, model):
return self.rule_ids.filtered(lambda x: x.model_id == model)
Expand Down

0 comments on commit 8907fc2

Please sign in to comment.