Hello guys,
I am getting this error after configuring nginx, I followed the odoo deployment documentation. This error appears when I want to import a csv file.
Your help is highly appreciated.
SyntaxError: expected expression, got '<'
https://example.com/web#action=import&cids=1&menu_id=259&model=product.template:1
Traceback:
DOMEval@https://example.com/web/static/lib/jquery/jquery.js:111:12
globalEval@https://example.com/web/static/lib/jquery/jquery.js:345:10
text script@https://example.com/web/static/lib/jquery/jquery.js:9640:11
ajaxConvert@https://example.com/web/static/lib/jquery/jquery.js:8787:19
done@https://example.com/web/static/lib/jquery/jquery.js:9255:15 callback/<@https://example.com/web/static/lib/jquery/jquery.js:9548:17
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
5897
أدوات العرض
I found the solution, it was the client_max_body_size in nginx, to fix it:
sudo nano /etc/nginx/nginx.conf
client_max_body_size 500M;
because the file size was more than 140M.
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
2
سبتمبر 24
|
1594 | ||
|
1
مايو 24
|
2883 | ||
|
2
مايو 24
|
14047 | ||
|
0
أكتوبر 17
|
3220 | ||
|
2
يونيو 16
|
13157 |