We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 659e8e0 commit 2aa79bdCopy full SHA for 2aa79bd
1 file changed
g2p_entitlement_voucher/models/entitlement.py
@@ -24,7 +24,7 @@ def _compute_show_voucher_buttons(self):
24
for rec in self:
25
rec.show_generate_voucher_button = False
26
rec.show_print_voucher_button = False
27
- entitlement_manager = self.program_id.get_manager(constants.MANAGER_ENTITLEMENT)
+ entitlement_manager = rec.program_id.get_manager(constants.MANAGER_ENTITLEMENT)
28
if rec.state in ("approved",):
29
if (
30
entitlement_manager
0 commit comments