-
Notifications
You must be signed in to change notification settings - Fork 315
fix(role): Added role Press Billing Manager to add/edit billing address #3729
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
base: develop
Are you sure you want to change the base?
fix(role): Added role Press Billing Manager to add/edit billing address #3729
Conversation
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (44.00%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## develop #3729 +/- ##
===========================================
- Coverage 44.85% 44.83% -0.03%
===========================================
Files 712 709 -3
Lines 48221 48230 +9
===========================================
- Hits 21630 21623 -7
- Misses 26591 26607 +16 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| data=ex, | ||
| reference_doctype="Team", | ||
| ) | ||
| billing_details = frappe._dict(billing_details) |
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.
I have added this try block part by mistake in develop branch. This will swallow the issue without raising to the user
| def add_press_billing_manager_role(self, user): | ||
| self.add_press_role(user, "Press Billing Manager") | ||
|
|
||
| def add_press_admin_role(self, user): |
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.
With Press Billing Manager, do we still need this method? I think we can safely remove it.
Edit: Add new role "Press Billing Manager". Giving permission across doctypes related to billing. Giving appropriate permissions through settings page.