Skip to content

Commit af95c43

Browse files
author
mathieu
committed
[IMP] update module name
1 parent 4c26263 commit af95c43

File tree

10 files changed

+2
-6
lines changed

10 files changed

+2
-6
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

import_from_api/wizard/import_product.py connector_medipim/wizard/import_product.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,7 @@ def import_from_api(self, code, name):
208208
)
209209
% name
210210
)
211-
headers = {
212-
"14": "21srH0nRcG9BjAtFxPZGcQk1RHCntN11i6f5ECEaEzt5Tsd09nnQYcX2rSpxYIwy",
213-
"Authorization": "Basic MTQ6MjFzckgwblJjRzlCakF0RnhQWkdjUWsxUkhDbnROMTFpNmY1RUNFYUV6dDVUc2QwOW5uUVljWDJyU3B4WUl3eQ==",
214-
"Content-Type": "application/json",
215-
}
211+
headers = self.env["ir.config_parameter"].sudo().get_param("config_medipim")
216212

217213
response = requests.request("POST", url, headers=headers, data=payload)
218214

Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../connector_medipim
File renamed without changes.

setup/import_from_api/odoo/addons/import_from_api

-1
This file was deleted.

0 commit comments

Comments
 (0)