Skip to content

Commit 5d9edc4

Browse files
committed
fix(spp_programs): hide New button on cycle memberships view
1 parent 005390d commit 5d9edc4

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
@@ -198,7 +198,7 @@ def action_view_cycle_memberships(self):
198198
"res_model": "spp.cycle.membership",
199199
"view_mode": "list,form",
200200
"domain": [("partner_id", "=", self.id)],
201-
"context": {"default_partner_id": self.id},
201+
"context": {"create": False},
202202
}
203203

204204
def action_view_non_compliant_cycles(self):

0 commit comments

Comments
 (0)