Skip to content

Commit 005390d

Browse files
committed
fix(spp_programs): hide New button on non-compliant cycles view
1 parent d7e27fc commit 005390d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spp_programs/models/registrant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def action_view_non_compliant_cycles(self):
213213
("partner_id", "=", self.id),
214214
("state", "=", "non_compliant"),
215215
],
216-
"context": {"default_partner_id": self.id},
216+
"context": {"create": False},
217217
}
218218

219219
def action_view_all_entitlements(self):

0 commit comments

Comments
 (0)