diff --git a/rest_api_odoo/Postman Collections/Odoo REST Api.postman_collection.json b/rest_api_odoo/Postman Collections/Odoo REST Api.postman_collection.json index f474d5311..2f73d85c0 100644 --- a/rest_api_odoo/Postman Collections/Odoo REST Api.postman_collection.json +++ b/rest_api_odoo/Postman Collections/Odoo REST Api.postman_collection.json @@ -39,7 +39,7 @@ "host": [ "cybrosys" ], - "port": "8016", + "port": "8017", "path": [ "odoo_connect" ] @@ -86,7 +86,7 @@ "host": [ "cybrosys" ], - "port": "8016", + "port": "8017", "path": [ "send_request" ], @@ -140,7 +140,7 @@ "host": [ "cybrosys" ], - "port": "8016", + "port": "8017", "path": [ "send_request" ], @@ -190,7 +190,7 @@ "host": [ "cybrosys" ], - "port": "8016", + "port": "8017", "path": [ "send_request" ], @@ -235,7 +235,7 @@ "host": [ "cybrosys" ], - "port": "8016", + "port": "8017", "path": [ "send_request" ], diff --git a/rest_api_odoo/__manifest__.py b/rest_api_odoo/__manifest__.py index af3c23388..6dfca578e 100644 --- a/rest_api_odoo/__manifest__.py +++ b/rest_api_odoo/__manifest__.py @@ -21,7 +21,7 @@ ############################################################################# { "name": "Odoo rest API", - "version": "17.0.1.0.0", + "version": "17.0.1.0.2", "category": "Tools", "summary": """This app helps to interact with odoo, backend with help of rest api requests""", diff --git a/rest_api_odoo/doc/RELEASE_NOTES.md b/rest_api_odoo/doc/RELEASE_NOTES.md index d281db9ab..a444529a5 100644 --- a/rest_api_odoo/doc/RELEASE_NOTES.md +++ b/rest_api_odoo/doc/RELEASE_NOTES.md @@ -8,3 +8,8 @@ #### Version 17.0.1.0.1 ##### BUG FIX - Updated the issue of date fields + +#### 25.11.2024 +#### Version 17.0.1.0.2 +##### BUG FIX +- Included documentation in the index file. diff --git a/rest_api_odoo/static/description/assets/screenshots/1.png b/rest_api_odoo/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..c7928c974 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/1.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/10.png b/rest_api_odoo/static/description/assets/screenshots/10.png new file mode 100644 index 000000000..5a860487e Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/10.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/11.png b/rest_api_odoo/static/description/assets/screenshots/11.png new file mode 100644 index 000000000..129f84109 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/11.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/12.png b/rest_api_odoo/static/description/assets/screenshots/12.png new file mode 100644 index 000000000..b4e1c3fc2 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/12.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/13.png b/rest_api_odoo/static/description/assets/screenshots/13.png new file mode 100644 index 000000000..f6b14a527 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/13.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/14.png b/rest_api_odoo/static/description/assets/screenshots/14.png new file mode 100644 index 000000000..cca458ecc Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/14.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/15.png b/rest_api_odoo/static/description/assets/screenshots/15.png new file mode 100644 index 000000000..134e5c962 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/15.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/16.png b/rest_api_odoo/static/description/assets/screenshots/16.png new file mode 100644 index 000000000..8f375413d Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/16.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/17.png b/rest_api_odoo/static/description/assets/screenshots/17.png new file mode 100644 index 000000000..435d0167b Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/17.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/18.png b/rest_api_odoo/static/description/assets/screenshots/18.png new file mode 100644 index 000000000..9b30b3cfb Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/18.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/19.png b/rest_api_odoo/static/description/assets/screenshots/19.png new file mode 100644 index 000000000..67132dc8e Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/19.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/2.png b/rest_api_odoo/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..eb6799a39 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/2.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/20.png b/rest_api_odoo/static/description/assets/screenshots/20.png new file mode 100644 index 000000000..e89c52e09 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/20.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/21.png b/rest_api_odoo/static/description/assets/screenshots/21.png new file mode 100644 index 000000000..e3561e9a7 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/21.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/22.png b/rest_api_odoo/static/description/assets/screenshots/22.png new file mode 100644 index 000000000..d64265235 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/22.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/23.png b/rest_api_odoo/static/description/assets/screenshots/23.png new file mode 100644 index 000000000..94a253646 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/23.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/24.png b/rest_api_odoo/static/description/assets/screenshots/24.png new file mode 100644 index 000000000..3f5cc58e5 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/24.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/3.png b/rest_api_odoo/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..231cf7404 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/3.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/4.png b/rest_api_odoo/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..e985293eb Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/4.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/5.png b/rest_api_odoo/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..194f55810 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/5.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/6.png b/rest_api_odoo/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..e58e2b1f8 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/6.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/7.png b/rest_api_odoo/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..747032082 Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/7.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/8.png b/rest_api_odoo/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..2689c6bac Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/8.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/9.png b/rest_api_odoo/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..05077b84e Binary files /dev/null and b/rest_api_odoo/static/description/assets/screenshots/9.png differ diff --git a/rest_api_odoo/static/description/assets/screenshots/rest_api.png b/rest_api_odoo/static/description/assets/screenshots/rest_api.png deleted file mode 100644 index daaebe23b..000000000 Binary files a/rest_api_odoo/static/description/assets/screenshots/rest_api.png and /dev/null differ diff --git a/rest_api_odoo/static/description/assets/screenshots/rest_api_1.png b/rest_api_odoo/static/description/assets/screenshots/rest_api_1.png deleted file mode 100644 index 62c63630a..000000000 Binary files a/rest_api_odoo/static/description/assets/screenshots/rest_api_1.png and /dev/null differ diff --git a/rest_api_odoo/static/description/assets/screenshots/rest_api_2.png b/rest_api_odoo/static/description/assets/screenshots/rest_api_2.png deleted file mode 100644 index 45063358e..000000000 Binary files a/rest_api_odoo/static/description/assets/screenshots/rest_api_2.png and /dev/null differ diff --git a/rest_api_odoo/static/description/assets/screenshots/rest_api_3.png b/rest_api_odoo/static/description/assets/screenshots/rest_api_3.png deleted file mode 100644 index 3d5367f65..000000000 Binary files a/rest_api_odoo/static/description/assets/screenshots/rest_api_3.png and /dev/null differ diff --git a/rest_api_odoo/static/description/assets/screenshots/rest_api_4.png b/rest_api_odoo/static/description/assets/screenshots/rest_api_4.png deleted file mode 100644 index 55b5f42e6..000000000 Binary files a/rest_api_odoo/static/description/assets/screenshots/rest_api_4.png and /dev/null differ diff --git a/rest_api_odoo/static/description/assets/screenshots/rest_api_5.png b/rest_api_odoo/static/description/assets/screenshots/rest_api_5.png deleted file mode 100644 index 2bfe803c0..000000000 Binary files a/rest_api_odoo/static/description/assets/screenshots/rest_api_5.png and /dev/null differ diff --git a/rest_api_odoo/static/description/index.html b/rest_api_odoo/static/description/index.html index 2bdcc0ac9..d19217840 100644 --- a/rest_api_odoo/static/description/index.html +++ b/rest_api_odoo/static/description/index.html @@ -48,7 +48,7 @@
The odoo Rest API module allow us to connect to database - with the help of GET , POST , PUT and DELETE request. + with the help of GET ,POST ,PUT and DELETE request.
++ In the extracted module folder, locate the + Postman collections file in JSON format. +
++ To find the generated API Key for the + current user, navigate to Settings > Users & + Companies > Users, open the user's form + view, and go to the API tab. The API Key + will be displayed there. +
+ Navigate to Rest API in Rest API module and + create new record. Select + the model and the HTTP methods. The chosen + methods + will determine the allowed actions on the + records, and the API response will reflect + the changes made. +
+ Open Get records api collection in postman
+ and add the db, login, password, api-key in
+ the headers. Pass the model
+ (e.g., product.template) in the URL to
+ retrieve records for that model.
+
+
+ Note:
+
+ Make sure that GET method is enabled for product.template model in Rest API record.
+
+ To retrieve a specific record, pass the ID + in the URL (e.g., + http://localhost:8027/send_request?model=product.template&Id=28) + and click Send. +
+ Open Create Records from Rest API + Collection. Add db, api-key, login and + password under Headers. Update the Base Url. +
++ Note: Make sure that POST method is enabled for the selected model in Rest API record. +
++ Open Update Records from Rest API + Collection. Add db, api-key, login and + password under Headers. Update the Base Url. + + Note: Make sure that PUT method is enabled for the selected model in Rest API record. +
++ Open Delete Records from Rest API + Collection. Add db, api-key, login and + password under Headers. Update the Base Url. Add the model and the id of the record to delete and click Send. + + Note: Make sure that DELETE method is enabled for the selected model in Rest API record. + +
+