We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f6cb8f commit 12de461Copy full SHA for 12de461
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