Skip to content

Added steps for creating invoice transaction and fetching projects#1

Open
mahajanpr wants to merge 2 commits intoIntuitDeveloper:mainfrom
mahajanpr:main
Open

Added steps for creating invoice transaction and fetching projects#1
mahajanpr wants to merge 2 commits intoIntuitDeveloper:mainfrom
mahajanpr:main

Conversation

@mahajanpr
Copy link
Copy Markdown

Added steps for creating invoice transactions and get projects list

Comment thread FlaskApp/app.py Outdated
from quickbooks import QuickBooks
from quickbooks.objects.customer import Customer
#from asana.rest import ApiException
# from asana.rest import ApiException
Copy link
Copy Markdown
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
Copy Markdown
Author

Choose a reason for hiding this comment

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

Done

Comment thread FlaskApp/app.py Outdated
flash('Error fetching Projects. Please try again.')
return redirect('/')

# receive events from asana
Copy link
Copy Markdown
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.

Comment thread FlaskApp/app.py Outdated

# receive events from asana
#hook_secret = None
# hook_secret = None
Copy link
Copy Markdown
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.

Comment thread FlaskApp/static/styles.css Outdated
margin-bottom: 20px;
}

/*
Copy link
Copy Markdown
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.

Comment thread FlaskApp/app.py
scopes = [
Scopes.ACCOUNTING,
Scopes.PROJECT_MANAGEMENT
Scopes.PROJECTS
Copy link
Copy Markdown
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
Copy Markdown
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