Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

mahajanpr
Copy link

Added steps for creating invoice transactions and get projects list

FlaskApp/app.py Outdated
import config
from intuitlib.client import AuthClient
from intuitlib.enums import Scopes
from quickbooks import QuickBooks
from quickbooks.objects.customer import Customer
#from asana.rest import ApiException
# from asana.rest import ApiException
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove this line containing "asana" reference all together on my behalf.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

FlaskApp/app.py Outdated
logger.error(f"Error in callProjects: {str(e)}")
flash('Error fetching Projects. Please try again.')
return redirect('/')

# receive events from asana
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove this line containing "asana" reference all together on my behalf.

FlaskApp/app.py Outdated
# receive events from asana
#hook_secret = None
# hook_secret = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove this line all together on my behalf.

input {
margin-bottom: 20px;
}

/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove this line containing "asana" reference all together on my behalf.

@@ -34,36 +40,38 @@
# Define the scopes
scopes = [
Scopes.ACCOUNTING,
Scopes.PROJECT_MANAGEMENT
Scopes.PROJECTS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added PROJECT_MANAGEMENT as scope in intuitlib meant for python? Has the intuitlib also been updated to include PROJECTS as scope instead of PROJECT_MANAGEMENT?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mahajanpr I just checked the intuitlib https://github.com/intuit/oauth-pythonclient/blob/master/intuitlib/enums.py. The scope should be Scopes.PROJECT_MANAGEMENT. please use that and test it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants