Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2503 Tampilan

How to manage session in odoo from angular to odoo.We are facing issue cors error when connecting odoo with angular.

Here is my code

http.route('/api/auth/login', methods=['OPTIONS','POST'], type='json', auth='none', csrf=False,cors='*')

def token(self, **post):

    print(self)

Added sample code here api working when adding cors * in backend.But session is empty.How to handle session here.Can anyone help us to resolve this?


Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jun 21
1766
2
Des 23
24768
0
Jan 19
6048
0
Mei 18
4607
0
Jan 17
5067