-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ePD] 'Delete PD' not present in available_actions #3160
base: epd
Are you sure you want to change the base?
Conversation
This pull request has been linked to Shortcut Story #22985: 'Delete PD' not present in available_actions. |
@@ -354,6 +355,13 @@ def _is_partnership_manager(self): | |||
profile__country=self.context['request'].user.profile.country | |||
).exists() | |||
|
|||
def _is_representative_office_manager(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it comes from PartnershipManagerRepPermission (InterventionAmendmentDeleteView.permission_classes) . not sure if we really need this group here
# Conflicts: # src/etools/applications/partners/serializers/interventions_v3.py
Delete only available if it was never sent to partner. 1. date_sent_to_partner is null. 2. Snapshot model does not include any changes to the date_sent_to_partner field.