-
-
Notifications
You must be signed in to change notification settings - Fork 153
[17.0][ADD] connector_importer_api #159
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: 17.0
Are you sure you want to change the base?
Conversation
655af83 to
c83b29f
Compare
|
Ready for review |
c83b29f to
e52ca44
Compare
1fdf31b to
a212344
Compare
[FIX] connector_importer_api: Resolve conflict [IMP] connector_importer_api: Change name file views. Edit import source api [IMP] onnector_importer_api: Generate parameter values dynamically.
a212344 to
ae5b01c
Compare
| enviroment_url = fields.Char(string="Enviroment URL", required=True) | ||
| type_request = fields.Selection( | ||
| string="Request type", | ||
| selection=[("get", "GET")], |
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.
Why not include the POST method as one of the options for the type_request field?
| selection=[("get", "GET")], | |
| selection=[("get", "GET"), ("post", "POST")], |
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.
Hi @adasatorres , thanks for your comments. Initially, the POST type was not added because it was not necessary for the initial requirement, but it can still be extended and all possible types can be added and the necessary configurations made.
| from odoo.addons.component.core import Component | ||
|
|
||
|
|
||
| class Tracker(Component): |
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.
what is the purpose of this override?
|
I'm not sure to understand how this is supposed to work. Also, you say "token" everywhere but is not clear what it should represent. |
@BinhexTeam
A new source has been added for API use.
Main features: