Hello,
I work on a project where we use an external API. This API allows to keep the same token for 7 days.
I'd like to not reconnect everytime and use the token while it has still less than 7 days but I don't know the good practice for that. Do I keep it in a new model (which would have only 1 line in the DB ) and every time I need to access to the API, I access to the model and check the date or there are better methods?
Thank you in advance for your help.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
2183
화면
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
2
12월 24
|
2603 | ||
|
1
2월 22
|
4242 | ||
|
1
2월 22
|
7259 | ||
|
0
11월 21
|
4720 | ||
|
3
5월 21
|
14022 |