تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2168 أدوات العرض

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?


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يونيو 21
1560
2
ديسمبر 23
24339
0
يناير 19
5801
0
مايو 18
4335
0
يناير 17
4712