Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2857 Lượt xem

Hello there,

I got the 500 Internal Server Error on the website shop page when apply sorting on odoo v12.


When website users try to sort products in the shop. The sort parameter is encoded, which provokes the error 500. I can see a lot of error 500 in my log file.


That error raised from URL like: 

/ shop? category = 12 & order = list_price% 2Basc


Error log like following:

 raise UserError(_('Invalid "order" specified. A valid "order" specification is a comma-separated list of valid field names (optionally followed by asc/desc for the direction)'))

 

Can anyone face this issue on the website?

Can anyone help me to fix this issue?


Thanks in advance.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

I've fixed the above odoo default error with the encoding URL for the website sorting process only.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 23
1293
1
thg 7 23
1439
1
thg 6 22
2741
1
thg 11 21
4525
0
thg 3 21
2681