-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Feature/odoo node N8N-2714 #2601
Merged
+2,696
−0
Merged
Changes from 15 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
83c68ed
added odoo scaffolding
michael-radency 698c929
update getting data from odoo instance
michael-radency 0604029
added scaffolding for main loop and request functions
michael-radency 7733197
added functions for CRUD opperations
michael-radency c730419
improoved error handling for odooJSONRPCRequest
michael-radency ad64ca4
Merge branch 'master' of https://github.com/n8n-io/n8n into feature/o…
michael-radency 0fa655e
updated odoo node and fixing nodelinter issues
michael-radency 91860f4
fixed alpabetical order
michael-radency aaa55f2
fixed types in odoo node
michael-radency 9db44db
fixing linter errors
michael-radency 8941084
fixing linter errors
michael-radency 7bc9eba
fixed data shape returned from man loop
michael-radency 247133a
updated node input types, added fields list to models
michael-radency 6720c6f
update when custom resource is selected options for fields list will …
michael-radency 4796f69
minor fixes
michael-radency 7e830a5
Merge branch 'master' of https://github.com/n8n-io/n8n into feature/o…
michael-radency 1fabf5e
:hammer: fixed credential test, updating CRUD methods
michael-radency 7d66f5a
:hammer: added additional fields to crm resource
michael-radency d0bbc1a
:hammer: added descriptions, fixed credentials test bug
michael-radency 28ec2c1
Merge branch 'master' of https://github.com/n8n-io/n8n into feature/o…
michael-radency f71598c
:hammer: standardize node and descriptions design
michael-radency 4373891
:hammer: removed comments
michael-radency 4575f21
:hammer: added pagination to getAll operation
michael-radency 5abe077
:zap: removed leftover function from previous implementation, removed…
michael-radency 9eb7124
:zap: fixed id field, added indication of type and if required to fie…
michael-radency 1ba15a9
Merge branch 'master' of https://github.com/n8n-io/n8n into feature/o…
michael-radency 589d35f
:hammer: fetching list of models from odoo, added selection of fields…
michael-radency d0e8be8
:zap: Small improvements
RicardoE105 02f7717
Merge branch 'master' of https://github.com/n8n-io/n8n into feature/o…
michael-radency 99c3c8f
:hammer: extracted adress fields into collection, changed fields to i…
michael-radency 971239a
:zap: Improvements
RicardoE105 322b4df
Merge branch 'master' of https://github.com/n8n-io/n8n into feature/o…
michael-radency cd98f23
Merge branch 'feature/odoo-node' of https://github.com/n8n-io/n8n int…
michael-radency 9f19f26
:hammer: working on review
michael-radency 04bab59
:hammer: fixed linter errors
michael-radency 6b53d2d
:hammer: review wip
michael-radency fb87255
:hammer: review wip
michael-radency 46c1cd3
:hammer: review wip
michael-radency 5efe07f
:zap: updated display name for URL in credentials
michael-radency 416ced4
:hammer: added checks for valid id to delete and update
michael-radency 0051a85
:twisted_rightwards_arrows: Merge branch 'master' into feature/odoo-node
janober 609b8a0
:zap: Minor improvements
janober File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { ICredentialType, NodePropertyTypes } from 'n8n-workflow'; | ||
|
||
export class OdooApi implements ICredentialType { | ||
name = 'odooApi'; | ||
displayName = 'Odoo API'; | ||
documentationUrl = 'odoo'; | ||
properties = [ | ||
{ | ||
displayName: 'Site url: ', | ||
name: 'url', | ||
type: 'string' as NodePropertyTypes, | ||
default: '', | ||
required: true, | ||
}, | ||
{ | ||
displayName: 'Username: ', | ||
name: 'username', | ||
type: 'string' as NodePropertyTypes, | ||
default: '', | ||
required: true, | ||
}, | ||
{ | ||
displayName: 'Password Or API Key: ', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we really both here? if so, change the name to Password or API Key |
||
name: 'password', | ||
type: 'string' as NodePropertyTypes, | ||
default: '', | ||
required: true, | ||
typeOptions: { | ||
password: true, | ||
}, | ||
}, | ||
{ | ||
displayName: 'Database name: ', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Database Name |
||
name: 'db', | ||
type: 'string' as NodePropertyTypes, | ||
default: '', | ||
required: false, | ||
}, | ||
]; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Site URL