Skip to content
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
merged 42 commits into from
Mar 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
83c68ed
added odoo scaffolding
michael-radency Dec 22, 2021
698c929
update getting data from odoo instance
michael-radency Dec 23, 2021
0604029
added scaffolding for main loop and request functions
michael-radency Dec 24, 2021
7733197
added functions for CRUD opperations
michael-radency Dec 24, 2021
c730419
improoved error handling for odooJSONRPCRequest
michael-radency Dec 24, 2021
ad64ca4
Merge branch 'master' of https://github.com/n8n-io/n8n into feature/o…
michael-radency Dec 24, 2021
0fa655e
updated odoo node and fixing nodelinter issues
michael-radency Dec 26, 2021
91860f4
fixed alpabetical order
michael-radency Dec 26, 2021
aaa55f2
fixed types in odoo node
michael-radency Dec 27, 2021
9db44db
fixing linter errors
michael-radency Dec 27, 2021
8941084
fixing linter errors
michael-radency Dec 27, 2021
7bc9eba
fixed data shape returned from man loop
michael-radency Dec 28, 2021
247133a
updated node input types, added fields list to models
michael-radency Dec 28, 2021
6720c6f
update when custom resource is selected options for fields list will …
michael-radency Dec 29, 2021
4796f69
minor fixes
michael-radency Dec 30, 2021
7e830a5
Merge branch 'master' of https://github.com/n8n-io/n8n into feature/o…
michael-radency Jan 25, 2022
1fabf5e
:hammer: fixed credential test, updating CRUD methods
michael-radency Jan 26, 2022
7d66f5a
:hammer: added additional fields to crm resource
michael-radency Jan 26, 2022
d0bbc1a
:hammer: added descriptions, fixed credentials test bug
michael-radency Jan 27, 2022
28ec2c1
Merge branch 'master' of https://github.com/n8n-io/n8n into feature/o…
michael-radency Feb 2, 2022
f71598c
:hammer: standardize node and descriptions design
michael-radency Feb 2, 2022
4373891
:hammer: removed comments
michael-radency Feb 2, 2022
4575f21
:hammer: added pagination to getAll operation
michael-radency Feb 3, 2022
5abe077
:zap: removed leftover function from previous implementation, removed…
michael-radency Feb 4, 2022
9eb7124
:zap: fixed id field, added indication of type and if required to fie…
michael-radency Feb 4, 2022
1ba15a9
Merge branch 'master' of https://github.com/n8n-io/n8n into feature/o…
michael-radency Feb 10, 2022
589d35f
:hammer: fetching list of models from odoo, added selection of fields…
michael-radency Feb 11, 2022
d0e8be8
:zap: Small improvements
RicardoE105 Feb 15, 2022
02f7717
Merge branch 'master' of https://github.com/n8n-io/n8n into feature/o…
michael-radency Feb 22, 2022
99c3c8f
:hammer: extracted adress fields into collection, changed fields to i…
michael-radency Feb 23, 2022
971239a
:zap: Improvements
RicardoE105 Feb 25, 2022
322b4df
Merge branch 'master' of https://github.com/n8n-io/n8n into feature/o…
michael-radency Mar 1, 2022
cd98f23
Merge branch 'feature/odoo-node' of https://github.com/n8n-io/n8n int…
michael-radency Mar 1, 2022
9f19f26
:hammer: working on review
michael-radency Mar 1, 2022
04bab59
:hammer: fixed linter errors
michael-radency Mar 1, 2022
6b53d2d
:hammer: review wip
michael-radency Mar 2, 2022
fb87255
:hammer: review wip
michael-radency Mar 2, 2022
46c1cd3
:hammer: review wip
michael-radency Mar 3, 2022
5efe07f
:zap: updated display name for URL in credentials
michael-radency Mar 3, 2022
416ced4
:hammer: added checks for valid id to delete and update
michael-radency Mar 4, 2022
0051a85
:twisted_rightwards_arrows: Merge branch 'master' into feature/odoo-node
janober Mar 5, 2022
609b8a0
:zap: Minor improvements
janober Mar 5, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions packages/nodes-base/credentials/OdooApi.credentials.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import { ICredentialType, INodeProperties, NodePropertyTypes } from 'n8n-workflow';

export class OdooApi implements ICredentialType {
name = 'odooApi';
displayName = 'Odoo API';
documentationUrl = 'odoo';
properties: INodeProperties[] = [
{
displayName: 'Site URL',
name: 'url',
type: 'string' as NodePropertyTypes,
default: '',
placeholder: 'https://my-organization.odoo.com',
required: true,
},
{
displayName: 'Username',
name: 'username',
type: 'string' as NodePropertyTypes,
default: '',
placeholder: 'user@email.com',
required: true,
},
{
displayName: 'Password or API Key',
name: 'password',
type: 'string' as NodePropertyTypes,
default: '',
typeOptions: {
password: true,
},
required: true,
},
{
displayName: 'Database Name',
name: 'db',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}
Loading