Skip to content

Commit

Permalink
delete print
Browse files Browse the repository at this point in the history
  • Loading branch information
brendaf committed Apr 23, 2024
1 parent ce62322 commit 9ca122d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions donation_recurrency/models/donation_recurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,9 @@ def _get_view(self, view_id=None, view_type="form", **options):
if view_type == "form" and not self.env.user.has_group(
"base.group_erp_manager"
):
print("Is terminated ", self.is_terminated)
print("Recurring next date ", self.recurring_next_date)
for node in arch.xpath("//field[@name='recurring_next_date']"):
node.set("readonly", "1")
# if view_type == 'form' and self.is_terminated:
# print(self.recurring_next_date)
# for node in arch.xpath("//button[@name='recurring_create_donations']"):
# node.set('invisible', '1')

Expand Down

0 comments on commit 9ca122d

Please sign in to comment.